Function at 0x458e9c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x102], 0
jne 0x458ebb
xor eax, eax
jmp 0x459254
cmp dword [ebx + 8], 0xffffffff
jne 0x458ec8
xor eax, eax
jmp 0x459254
cmp dword [ebx + 0x44], 0
je 0x458ed8
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x48], ecx
test si, si
je 0x458f48
movzx edi, si
push edi
push ebx
call fcn.00458714
add esp, 8
mov dword [ebx + 0x112], eax
push edi
push ebx
call fcn.00458714
add esp, 8
push eax
push 2
push ebx
call fcn.00458824
add esp, 0xc
cmp dword [ebx + 0x106], 0
je 0x458f1c
mov eax, dword [ebx + 0x116]
push eax
call fcn.004a4f68
pop ecx
xor edx, edx
mov dword [ebx + 0x106], edx
mov dword [ebx + 0x102], edx
push 2
push ebx
mov eax, dword [ebx]
call dword [eax]
add esp, 8
cmp dword [ebx + 0x64], 0
je 0x458f41
push ebx
call fcn.004592d4
pop ecx
xor eax, eax
jmp 0x459254
xor esi, esi
mov eax, dword [ebx + 0x122]
cmp eax, dword [ebx + 0x12e]
jge 0x458f60
mov edi, dword [ebx + 0x122]
jmp 0x458f66
mov edi, dword [ebx + 0x12e]
cmp dword [0x4bef14], 0
je 0x458f88
mov eax, dword [0x4bef1c]
test eax, eax
jne 0x458f82
mov eax, 1
jmp 0x459254
cmp edi, eax
jle 0x458f88
mov edi, eax
cmp dword [ebx + 0x58], 0
je 0x458fa5
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x458f9f
mov eax, 1
jmp 0x459254
cmp edi, eax
jle 0x458fa5
mov edi, eax
test edi, edi
je 0x4591a5
cmp dword [ebx + 0xc], 7
jne 0x45906f
cmp dword [ebx + 0x132], 0
je 0x459028
mov esi, edi
mov eax, dword [0x4d12d8]
mov dword [ebp - 4], eax
mov edx, dword [ebx + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ebx
cmp dword [0x4bef08], 0
jne 0x458fee
push 0
push esi
mov ecx, dword [ebp - 4]
push ecx
mov eax, dword [ebp - 8]
push eax
call sub.WSOCK32.dll_recv
jmp 0x459002
push 0
push esi
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0045a3dc
mov esi, eax
test esi, esi
jle 0x4590d8
push esi
mov edx, dword [0x4d12d8]
push edx
mov ecx, dword [ebx + 0x11a]
push ecx
call fcn.004985c0
add esp, 0xc
jmp 0x4590d8
mov esi, edi
mov eax, dword [ebx + 0x11a]
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 0x459057
push 0
push esi
mov ecx, dword [ebp - 0x10]
push ecx
mov eax, dword [ebp - 0x14]
push eax
call sub.WSOCK32.dll_recv
jmp 0x45906b
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.0045a3dc
mov esi, eax
jmp 0x4590d8
mov dword [ebp - 0x1c], 0x10
lea esi, [ebx + 0x136]
mov eax, dword [ebx + 0x11e]
mov dword [ebp - 0x20], eax
mov edx, dword [ebx + 0x116]
mov dword [ebp - 0x24], edx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ebx
cmp dword [0x4bef08], 0
jne 0x4590ba
lea eax, [ebp - 0x1c]
push eax
push esi
push 0
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
push ecx
mov eax, dword [ebp - 0x28]
push eax
call sub.WSOCK32.dll_recvfrom
jmp 0x4590d6
lea edx, [ebp - 0x1c]
push edx
push esi
push 0
mov ecx, dword [ebp - 0x20]
push ecx
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0045a47c
mov esi, eax
cmp esi, 0xffffffff
je 0x4591a5
test esi, esi
jle 0x4591a5
sub dword [ebx + 0x122], esi
add dword [ebx + 0x11a], esi
add dword [ebx + 0x126], esi
cmp dword [ebx + 0x106], 0
jne 0x459115
cmp dword [ebx + 0x12a], 0
je 0x459115
mov eax, dword [ebx + 0x12a]
add dword [eax], esi
add dword [ebx + 0x50], esi
add dword [0x4bef20], esi
cmp dword [0x4bef14], 0
je 0x45912d
sub dword [0x4bef1c], esi
cmp dword [ebx + 0x58], 0
je 0x459136
sub dword [ebx + 0x60], esi
cmp dword [ebx + 0x106], 0
je 0x459148
push ebx
call fcn.00458868
pop ecx
jmp 0x45918d
cmp dword [ebx + 0x10a], 0
jne 0x45915a
cmp dword [ebx + 0x122], 0
je 0x459160
cmp dword [ebx + 0xc], 6
jne 0x459177
push 0
push 2
push ebx
call fcn.00458824
add esp, 0xc
xor edx, edx
mov dword [ebx + 0x102], edx
jmp 0x45918d
cmp dword [ebx + 0x10a], 0
je 0x45918d
push 0
push 2
push ebx
call fcn.00458824
add esp, 0xc
cmp dword [ebx + 0x64], 0
je 0x4591a5
push 1
push 0
push 0x400
mov ecx, dword [ebx + 0x10]
push ecx
call sub.USER32.dll_PostMessageA
cmp esi, 0xffffffff
jne 0x45921b
mov dword [ebp - 0x34], ebx
cmp dword [0x4bef08], 0
jne 0x4591bd
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x4591c6
mov eax, dword [ebp - 0x34]
push eax
call fcn.0045adb4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2733
je 0x45921b
mov edx, dword [ebp - 0x30]
push edx
push ebx
call fcn.00458714
add esp, 8
mov dword [ebx + 0x112], eax
mov ecx, dword [ebx + 0x112]
push ecx
push 2
push ebx
call fcn.00458824
add esp, 0xc
cmp dword [ebx + 0x106], 0
je 0x45920d
mov eax, dword [ebx + 0x116]
push eax
call fcn.004a4f68
pop ecx
xor edx, edx
mov dword [ebx + 0x106], edx
mov dword [ebx + 0x102], edx
push 2
push ebx
mov eax, dword [ebx]
call dword [eax]
add esp, 8
test edi, edi
je 0x45923c
test esi, esi
jne 0x45923c
cmp dword [ebx + 0x64], 0
je 0x45923c
push ebx
call fcn.004592d4
pop ecx
jmp 0x459252
test edi, edi
je 0x459252
test esi, esi
jne 0x459252
mov dword [ebx + 0x68], 0x17
push ebx
call fcn.004592d4
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret