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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xde], 0
jne 0x458c25
xor eax, eax
jmp 0x458ea0
cmp dword [ebx + 0xc], 0xffffffff
jne 0x458c32
xor eax, eax
jmp 0x458ea0
cmp dword [ebx + 0x44], 0
je 0x458c42
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x48], ecx
test si, si
je 0x458ca4
movzx edi, si
push edi
push ebx
call fcn.0045861f
add esp, 8
mov dword [ebx + 0xe6], eax
push edi
push ebx
call fcn.0045861f
add esp, 8
push eax
push 3
push ebx
call fcn.004586f8
add esp, 0xc
cmp dword [ebx + 0xe2], 0
je 0x458c85
push dword [ebx + 0xea]
call fcn.004a789c
pop ecx
xor eax, eax
mov dword [ebx + 0xe2], eax
mov dword [ebx + 0xde], eax
push 3
push ebx
mov edx, dword [ebx]
call dword [edx]
add esp, 8
xor eax, eax
jmp 0x458ea0
xor esi, esi
mov eax, dword [ebx + 0xf2]
cmp eax, dword [ebx + 0x102]
jge 0x458cbc
mov edi, dword [ebx + 0xf2]
jmp 0x458cc2
mov edi, dword [ebx + 0x102]
cmp dword [0x4c0174], 0
je 0x458ce4
mov eax, dword [0x4c017c]
test eax, eax
jne 0x458cde
mov eax, 1
jmp 0x458ea0
cmp edi, eax
jle 0x458ce4
mov edi, eax
cmp dword [ebx + 0x58], 0
je 0x458d01
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x458cfb
mov eax, 1
jmp 0x458ea0
cmp edi, eax
jle 0x458d01
mov edi, eax
test edi, edi
je 0x458e08
cmp dword [ebx + 0x10], 7
jne 0x458d51
mov esi, edi
mov eax, dword [ebx + 0xee]
mov dword [ebp - 4], eax
mov edx, dword [ebx + 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ebx
cmp dword [0x4c0168], 0
jne 0x458d3c
push 0
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call sub.WSOCK32.dll_send
jmp 0x458d4d
push 0
push esi
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0045a517
mov esi, eax
jmp 0x458da1
mov edi, dword [ebx + 0xf6]
mov eax, dword [ebx + 0xea]
mov dword [ebp - 0x10], eax
lea esi, [ebx + 0x9c]
mov edx, dword [ebx + 0xc]
cmp dword [0x4c0168], 0
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ebx
jne 0x458d8b
push 0x10
push esi
push 0
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.WSOCK32.dll_sendto
jmp 0x458d9f
push 0x10
push esi
push 0
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0045a5b7
mov esi, eax
cmp esi, 0xffffffff
je 0x458e08
sub dword [ebx + 0xf2], esi
add dword [ebx + 0xee], esi
add dword [ebx + 0xfa], esi
cmp dword [ebx + 0xe2], 0
jne 0x458dd2
cmp dword [ebx + 0xfe], 0
je 0x458dd2
mov ecx, dword [ebx + 0xfe]
add dword [ecx], esi
add dword [ebx + 0x50], esi
add dword [0x4c0180], esi
cmp dword [0x4c0174], 0
je 0x458dea
sub dword [0x4c017c], esi
cmp dword [ebx + 0x58], 0
je 0x458df3
sub dword [ebx + 0x60], esi
push 2
push dword [ebx + 0xc]
push 0x400
push dword [0x4c0164]
call sub.USER32.dll_PostMessageA
cmp dword [ebx + 0xf2], 0
jne 0x458e26
push 0
push 3
push ebx
call fcn.004586f8
add esp, 0xc
xor eax, eax
mov dword [ebx + 0xde], eax
inc esi
jne 0x458e94
mov esi, ebx
cmp dword [0x4c0168], 0
jne 0x458e3b
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x458e41
push esi
call fcn.0045adc4
mov esi, eax
cmp esi, 0x2733
je 0x458e94
push esi
push ebx
call fcn.0045861f
add esp, 8
mov dword [ebx + 0xe6], eax
push esi
push ebx
call fcn.0045861f
add esp, 8
push eax
push 3
push ebx
call fcn.004586f8
add esp, 0xc
cmp dword [ebx + 0xe2], 0
je 0x458e86
push dword [ebx + 0xea]
call fcn.004a789c
pop ecx
xor edx, edx
mov dword [ebx + 0xe2], edx
mov dword [ebx + 0xde], edx
push 3
push ebx
mov eax, dword [ebx]
call dword [eax]
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret