関数 403d60

; CConnection::
; 呼び出し元は WM_USER のメッセージハンドラのみと思われる
; @1 wparam
; @2 lparam
00403d60 8b442408 mov eax,[esp+0x8] ; eax <- lparam
00403d64 c1e810 shr eax,0x10
00403d67 85c0 test eax,eax
00403d69 56 push esi
00403d6a 8bf1 mov esi,ecx
00403d6c 741c jz image00400000+0x3d8a (00403d8a) ; LOWORD( lparam ) == 0 ->
00403d6e 8a868e000000 mov al,[esi+0x8e] ; al <- CConnection.8e
00403d74 84c0 test al,al
00403d76 7407 jz image00400000+0x3d7f (00403d7f) ; CConnection.8e == 0 ->
00403d78 6a01 push 0x1
00403d7a e8e1feffff call image00400000+0x3c60 (00403c60) ; CConnection->Free( 1 );
; CConnection.8e == 0
00403d7f c6868d00000000 mov byte ptr [esi+0x8d],0x0 ; CConnection.8d <- 0
00403d86 5e pop esi
00403d87 c20800 ret 0x8
; LOWORD( lparam ) == 0
00403d8a 8b8698000000 mov eax,[esi+0x98] ; eax <- CConnection.98
00403d90 50 push eax
00403d91 ff15f8954600 call dword ptr [image00400000+0x695f8 (004695f8)] ; gethostbyname( CConnection.98 )
00403d97 85c0 test eax,eax
00403d99 741c jz image00400000+0x3db7 (00403db7) ; gethostbyname == NULL ->
00403d9b 8b480c mov ecx,[eax+0xc] ; ecx <- hostent.h_addr_list
00403d9e 8b01 mov eax,[ecx] ; eax <- hostent.h_addr_list[0]
00403da0 8a10 mov dl,[eax] ;
00403da2 88560c mov [esi+0xc],dl ; CConnection.c <- hostent.h_addr_list[0][0]
00403da5 8a4801 mov cl,[eax+0x1] ;
00403da8 884e0d mov [esi+0xd],cl ; CConnection.d <- hostent.h_addr_list[0][1]
00403dab 8a5002 mov dl,[eax+0x2] ;
00403dae 88560e mov [esi+0xe],dl ; CConnection.e <- hostent.h_addr_list[0][2]
00403db1 8a4003 mov al,[eax+0x3] ;
00403db4 88460f mov [esi+0xf],al ; CConnection.f <- hostent.h_addr_list[0][3]
; gethostbyname == NULL
00403db7 c6869000000000 mov byte ptr [esi+0x90],0x0 ; CConnection.90 <- 0
00403dbe 5e pop esi
00403dbf c20800 ret 0x8