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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x106], 0
jne 0x458ec6
xor eax, eax
jmp 0x4591f3
cmp dword [ebx + 0xc], 0xffffffff
jne 0x458ed3
xor eax, eax
jmp 0x4591f3
cmp dword [ebx + 0x44], 0
je 0x458ee3
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x48], ecx
test si, si
je 0x458f52
movzx edi, si
push edi
push ebx
call fcn.0045861f
add esp, 8
mov dword [ebx + 0x116], eax
push edi
push ebx
call fcn.0045861f
add esp, 8
push eax
push 2
push ebx
call fcn.004586f8
add esp, 0xc
cmp dword [ebx + 0x10a], 0
je 0x458f26
push dword [ebx + 0x11a]
call fcn.004a789c
pop ecx
xor eax, eax
mov dword [ebx + 0x10a], eax
mov dword [ebx + 0x106], eax
push 2
push ebx
mov edx, dword [ebx]
call dword [edx]
add esp, 8
cmp dword [ebx + 0x6c], 0
je 0x458f4b
push ebx
call fcn.00459275
pop ecx
xor eax, eax
jmp 0x4591f3
xor esi, esi
mov eax, dword [ebx + 0x126]
cmp eax, dword [ebx + 0x132]
jge 0x458f6a
mov edi, dword [ebx + 0x126]
jmp 0x458f70
mov edi, dword [ebx + 0x132]
cmp dword [0x4c0174], 0
je 0x458f92
mov eax, dword [0x4c017c]
test eax, eax
jne 0x458f8c
mov eax, 1
jmp 0x4591f3
cmp edi, eax
jle 0x458f92
mov edi, eax
cmp dword [ebx + 0x58], 0
je 0x458faf
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x458fa9
mov eax, 1
jmp 0x4591f3
cmp edi, eax
jle 0x458faf
mov edi, eax
cmp dword [ebx + 0x10a], 0
je 0x458fc3
cmp dword [ebx + 0x112], 0
je 0x458fc3
xor edi, edi
test edi, edi
je 0x459148
cmp dword [ebx + 0x10], 7
jne 0x459013
mov esi, edi
mov eax, dword [ebx + 0x11e]
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 0x458ffe
push 0
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call sub.WSOCK32.dll_recv
jmp 0x45900f
push 0
push esi
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0045a3cb
mov esi, eax
jmp 0x459075
mov dword [ebp - 0x10], 0x10
lea esi, [ebx + 0x136]
mov eax, dword [ebx + 0x122]
mov dword [ebp - 0x14], eax
mov edx, dword [ebx + 0x11a]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
cmp dword [0x4c0168], 0
jne 0x45905b
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call sub.WSOCK32.dll_recvfrom
jmp 0x459073
lea edx, [ebp - 0x10]
push edx
push esi
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0045a46b
mov esi, eax
cmp esi, 0xffffffff
je 0x459148
test esi, esi
jle 0x459148
sub dword [ebx + 0x126], esi
add dword [ebx + 0x11e], esi
add dword [ebx + 0x12a], esi
cmp dword [ebx + 0x10a], 0
jne 0x4590b2
cmp dword [ebx + 0x12e], 0
je 0x4590b2
mov ecx, dword [ebx + 0x12e]
add dword [ecx], esi
add dword [ebx + 0x50], esi
add dword [0x4c0180], esi
cmp dword [0x4c0174], 0
je 0x4590ca
sub dword [0x4c017c], esi
cmp dword [ebx + 0x58], 0
je 0x4590d3
sub dword [ebx + 0x60], esi
cmp dword [ebx + 0x10a], 0
je 0x4590e8
push esi
push ebx
call fcn.004588c5
add esp, 8
jmp 0x45912d
cmp dword [ebx + 0x10e], 0
jne 0x4590fa
cmp dword [ebx + 0x126], 0
je 0x459100
cmp dword [ebx + 0x10], 6
jne 0x459117
push 0
push 2
push ebx
call fcn.004586f8
add esp, 0xc
xor eax, eax
mov dword [ebx + 0x106], eax
jmp 0x45912d
cmp dword [ebx + 0x10e], 0
je 0x45912d
push 0
push 2
push ebx
call fcn.004586f8
add esp, 0xc
cmp dword [ebx + 0x6c], 0
je 0x459148
push 1
push dword [ebx + 0xc]
push 0x400
push dword [0x4c0164]
call sub.USER32.dll_PostMessageA
cmp esi, 0xffffffff
jne 0x4591ba
mov dword [ebp - 0x28], ebx
cmp dword [0x4c0168], 0
jne 0x459160
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x459168
push dword [ebp - 0x28]
call fcn.0045adc4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2733
je 0x4591ba
push dword [ebp - 0x24]
push ebx
call fcn.0045861f
add esp, 8
mov dword [ebx + 0x116], eax
push dword [ebx + 0x116]
push 2
push ebx
call fcn.004586f8
add esp, 0xc
cmp dword [ebx + 0x10a], 0
je 0x4591ac
push dword [ebx + 0x11a]
call fcn.004a789c
pop ecx
xor edx, edx
mov dword [ebx + 0x10a], edx
mov dword [ebx + 0x106], edx
push 2
push ebx
mov eax, dword [ebx]
call dword [eax]
add esp, 8
test edi, edi
je 0x4591db
test esi, esi
jne 0x4591db
cmp dword [ebx + 0x6c], 0
je 0x4591db
push ebx
call fcn.00459275
pop ecx
jmp 0x4591f1
test edi, edi
je 0x4591f1
test esi, esi
jne 0x4591f1
mov dword [ebx + 0x70], 0x17
push ebx
call fcn.00459275
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret