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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xd6], 0
jne 0x458ba3
xor eax, eax
jmp 0x458e95
cmp dword [ebx + 8], 0xffffffff
jne 0x458bb0
xor eax, eax
jmp 0x458e95
cmp dword [ebx + 0x44], 0
je 0x458bc0
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x48], ecx
test si, si
je 0x458c23
movzx edi, si
push edi
push ebx
call fcn.00458714
add esp, 8
mov dword [ebx + 0xde], eax
push edi
push ebx
call fcn.00458714
add esp, 8
push eax
push 3
push ebx
call fcn.00458824
add esp, 0xc
cmp dword [ebx + 0xda], 0
je 0x458c04
mov eax, dword [ebx + 0xe2]
push eax
call fcn.004a4f68
pop ecx
xor edx, edx
mov dword [ebx + 0xda], edx
mov dword [ebx + 0xd6], edx
push 3
push ebx
mov eax, dword [ebx]
call dword [eax]
add esp, 8
xor eax, eax
jmp 0x458e95
xor esi, esi
mov eax, dword [ebx + 0xea]
cmp eax, dword [ebx + 0xfa]
jge 0x458c3b
mov edi, dword [ebx + 0xea]
jmp 0x458c41
mov edi, dword [ebx + 0xfa]
cmp dword [0x4bef14], 0
je 0x458c63
mov eax, dword [0x4bef1c]
test eax, eax
jne 0x458c5d
mov eax, 1
jmp 0x458e95
cmp edi, eax
jle 0x458c63
mov edi, eax
cmp dword [ebx + 0x58], 0
je 0x458c80
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x458c7a
mov eax, 1
jmp 0x458e95
cmp edi, eax
jle 0x458c80
mov edi, eax
test edi, edi
je 0x458dfc
cmp dword [ebx + 0xc], 7
jne 0x458d43
cmp dword [ebx + 0xfe], 0
je 0x458cfc
push edi
mov eax, dword [ebx + 0xe6]
push eax
mov edx, dword [0x4d12d4]
push edx
call fcn.004985c0
mov ecx, dword [0x4d12d4]
add esp, 0xc
mov dword [ebp - 4], ecx
mov esi, edi
mov eax, dword [ebx + 8]
cmp dword [0x4bef08], 0
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
jne 0x458ce1
push 0
push esi
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
push ecx
call sub.WSOCK32.dll_send
jmp 0x458cf5
push 0
push esi
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0045a52c
mov esi, eax
jmp 0x458d98
mov esi, edi
mov eax, dword [ebx + 0xe6]
mov dword [ebp - 0x10], eax
mov edx, dword [ebx + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ebx
cmp dword [0x4bef08], 0
jne 0x458d2b
push 0
push esi
mov ecx, dword [ebp - 0x10]
push ecx
mov eax, dword [ebp - 0x14]
push eax
call sub.WSOCK32.dll_send
jmp 0x458d3f
push 0
push esi
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x14]
push ecx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0045a52c
mov esi, eax
jmp 0x458d98
mov edi, dword [ebx + 0xee]
mov eax, dword [ebx + 0xe2]
mov dword [ebp - 0x1c], eax
lea esi, [ebx + 0x94]
mov edx, dword [ebx + 8]
cmp dword [0x4bef08], 0
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ebx
jne 0x458d7f
push 0x10
push esi
push 0
push edi
mov ecx, dword [ebp - 0x1c]
push ecx
mov eax, dword [ebp - 0x20]
push eax
call sub.WSOCK32.dll_sendto
jmp 0x458d96
push 0x10
push esi
push 0
push edi
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x20]
push ecx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0045a5cc
mov esi, eax
cmp esi, 0xffffffff
je 0x458dfc
sub dword [ebx + 0xea], esi
add dword [ebx + 0xe6], esi
add dword [ebx + 0xf2], esi
cmp dword [ebx + 0xda], 0
jne 0x458dc9
cmp dword [ebx + 0xf6], 0
je 0x458dc9
mov edx, dword [ebx + 0xf6]
add dword [edx], esi
add dword [ebx + 0x50], esi
add dword [0x4bef20], esi
cmp dword [0x4bef14], 0
je 0x458de1
sub dword [0x4bef1c], esi
cmp dword [ebx + 0x58], 0
je 0x458dea
sub dword [ebx + 0x60], esi
push 2
push 0
push 0x400
mov ecx, dword [ebx + 0x10]
push ecx
call sub.USER32.dll_PostMessageA
cmp dword [ebx + 0xea], 0
jne 0x458e1a
push 0
push 3
push ebx
call fcn.00458824
add esp, 0xc
xor eax, eax
mov dword [ebx + 0xd6], eax
inc esi
jne 0x458e89
mov esi, ebx
cmp dword [0x4bef08], 0
jne 0x458e2f
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x458e35
push esi
call fcn.0045adb4
mov esi, eax
cmp esi, 0x2733
je 0x458e89
push esi
push ebx
call fcn.00458714
add esp, 8
mov dword [ebx + 0xde], eax
push esi
push ebx
call fcn.00458714
add esp, 8
push eax
push 3
push ebx
call fcn.00458824
add esp, 0xc
cmp dword [ebx + 0xda], 0
je 0x458e7b
mov edx, dword [ebx + 0xe2]
push edx
call fcn.004a4f68
pop ecx
xor ecx, ecx
mov dword [ebx + 0xda], ecx
mov dword [ebx + 0xd6], ecx
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