Function at 0x44c180
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x403c
call fcn.0054d230
mov eax, dword [ebp + 8]
sub eax, 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x44c47f
dec eax
je 0x44c242
dec eax
jne 0x44c48f
lea eax, [ebx + 0x28]
push eax
mov esi, ebx
call fcn.0044c4a0
test al, al
mov eax, dword [ebx + 0x20]
je 0x44c205
test eax, eax
mov dword [ebx + 0x22c], 2
je 0x44c1ec
push str._n_nxSocket::ProcessEvent_const_DWORD_event____t__t_t___t
call fcn.0046c4c0
mov ecx, dword [ebx + 0x1c]
add esp, 4
push 0
push ecx
mov ecx, dword [ebx + 0x20]
push 0x64
call fcn.0052ad90
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x24]
push 0x23
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test eax, eax
mov dword [ebx + 0x22c], 0
je 0x44c48f
push str._n_nKASI_0802___:__xSocket::ProcessEvent_const_DWORD_event____t__t_t___t
call fcn.0046c4c0
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
mov ecx, dword [ebx + 0x20]
push 0x65
call fcn.0052ad90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x24]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x44c48f
test byte [esp + 0x14], 1
je 0x44c2b6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44c284
push str._n_nKASI_0802___:__xSocket::ProcessEvent_const_DWORD_event____if__eventret.lNetworkEvents__FD_READ_TRUE___if__eventret.iErrorCode_FD_READ_BIT____0__n_n
call fcn.0046c4c0
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x1c]
add esp, 4
push edx
push eax
jmp 0x44c2a5
call fcn.0044bf10
test al, al
jne 0x44c2b6
push str._n_nKASI_0802___:__xSocket::ProcessEvent_const_DWORD_event____t__if__eventret.lNetworkEvents__FD_READ_TRUE___if__eventret.iErrorCode_FD_READ_BIT___0_____if__Receiving____false__n_n
call fcn.0046c4c0
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
mov ecx, dword [ebx + 0x20]
push 0x65
call fcn.0052ad90
mov esi, ebx
call fcn.0044c510
test byte [esp + 0x14], 0x20
je 0x44c391
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
push str.FD_CLOSE_____d____n
call fcn.0046c4c0
mov eax, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x44c31a
push str._n_nKASI_0802___:__xSocket::ProcessEvent_const_DWORD_event____if__eventret.lNetworkEvents__FD_CLOSE_TRUE___if__eventret.iErrorCode_FD_CLOSE_BIT____0__n_n
call fcn.0046c4c0
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
add esp, 4
push edx
push eax
push 0x65
call fcn.0052ad90
mov ecx, dword [ebx + 0x1c]
push ecx
push str.Socket_Close___d_n
call fcn.0046c4c0
add esp, 8
mov esi, ebx
call fcn.0044c510
jmp 0x44c391
push str.Input_Dump_:
call fcn.0046c4c0
add esp, 4
or ecx, 0xffffffff
mov eax, 4
nop
push 0xff
push str._02X
call fcn.0046c4c0
add esp, 8
dec eax
jne 0x44c330
push 0x579e5c
call fcn.0046c4c0
mov edx, dword [ebx + 0x27a3c]
add esp, 4
mov dword [edx + ebx + 0x230], ecx
call fcn.0044bf10
test al, al
jne 0x44c384
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
mov ecx, dword [ebx + 0x20]
push 0x65
call fcn.0052ad90
mov esi, ebx
call fcn.0044c510
jmp 0x44c391
push str.FD_CLOSE_Receiving_Success_n
call fcn.0046c4c0
add esp, 4
test byte [esp + 0x14], 2
je 0x44c48f
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44c3d4
push str._n_nKASI_0802___:__xSocket::ProcessEvent_const_DWORD_event____t_if__eventret.lNetworkEvents__FD_WRITE___TRUE____if__eventret.iErrorCode_FD_WRITE_BIT____0___n_n
call fcn.0046c4c0
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
add esp, 4
push edx
push eax
push 0x65
call fcn.0052ad90
mov esi, ebx
call fcn.0044c510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ebx + 0x28254]
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.0052b5a0
mov eax, dword [ebx + 0x28244]
test eax, eax
je 0x44c46f
lea ecx, [ebx + 0x28240]
xor eax, eax
mov dword [esp + 0x10], ecx
call fcn.0044c7d0
mov esi, eax
lea edi, [esp + 0x40]
mov ecx, 0x1001
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x4040]
test eax, eax
jle 0x44c45b
mov edx, dword [ebx + 0x24]
push 0
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x44c45b
push str._n_nKASI_0802___:__xSocket::ProcessEvent_const_DWORD_event____t_if__eventret.lNetworkEvents__FD_WRITE_____if__eventret.iErrorCode_FD_WRITE_BIT___0_____if___int_message.Size___0_______t_t_t_t_t_t_tif__send_Socket___char__message.Message__message.Size__0____0______n_n
call fcn.0046c4c0
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0x1c]
push eax
push 0x65
call fcn.0052ad90
mov esi, ebx
call fcn.0044c510
mov edi, dword [esp + 0x10]
mov ebx, 1
xor eax, eax
call fcn.0044c840
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.0052b5b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x24]
push 0
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4