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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x403c
call fcn.005574a0
mov eax, dword [ebp + 8]
sub eax, 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x4517be
dec eax
je 0x451608
dec eax
jne 0x4517ce
lea eax, [ebx + 0x28]
push eax
mov esi, ebx
call fcn.004517e0
test al, al
je 0x4515d5
mov ecx, dword [ebx + 0x20]
test ecx, ecx
mov dword [ebx + 0x22c], 2
je 0x4515bc
mov edx, dword [ebx + 0x1c]
push 0
push edx
push 0x64
call fcn.00533a20
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x24]
push 0x23
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x20]
test eax, eax
mov dword [ebx + 0x22c], 0
je 0x4517ce
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
push eax
push edx
push 0x65
call fcn.00533a20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x24]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x4517ce
test byte [esp + 0x14], 1
je 0x45165e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x451639
push eax
mov eax, dword [ebx + 0x1c]
push eax
jmp 0x45164d
call fcn.00451320
test al, al
jne 0x45165e
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.00533a20
mov esi, ebx
call fcn.00451850
test byte [esp + 0x14], 0x20
je 0x4516f2
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
push str.FD_CLOSE_____d____n
call fcn.004d2e60
mov eax, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x451688
push eax
jmp 0x4516dd
push str.Input_Dump_:
call fcn.004d2e60
add esp, 4
or ecx, 0xffffffff
mov eax, 4
lea ecx, [ecx]
push 0xff
push str._02X
call fcn.004d2e60
add esp, 8
dec eax
jne 0x4516a0
push 0x58590c
call fcn.004d2e60
mov eax, dword [ebx + 0x27a3c]
add esp, 4
mov dword [eax + ebx + 0x230], ecx
call fcn.00451320
test al, al
jne 0x4516f2
mov ecx, dword [esp + 0x2c]
push ecx
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
push edx
push 0x65
call fcn.00533a20
mov esi, ebx
call fcn.00451850
test byte [esp + 0x14], 2
je 0x4517ce
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x451724
mov ecx, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0x1c]
push eax
push 0x65
call fcn.00533a20
mov esi, ebx
call fcn.00451850
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.00534230
mov eax, dword [ebx + 0x28244]
test eax, eax
je 0x4517ae
lea ecx, [ebx + 0x28240]
xor eax, eax
mov dword [esp + 0x10], ecx
call fcn.00451b00
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 0x45179a
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 0x45179a
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.00533a20
mov esi, ebx
call fcn.00451850
mov edi, dword [esp + 0x10]
mov ebx, 1
xor eax, eax
call fcn.00451b70
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.00534240
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