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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xee], 0
je 0x432234
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x4c], eax
test si, si
je 0x432051
movzx eax, si
push eax
push ebx
call fcn.00431982
add esp, 8
mov dword [ebx + 0xfe], eax
movzx eax, si
push eax
push ebx
call fcn.00431982
add esp, 8
push eax
push 2
push ebx
call fcn.00431a87
add esp, 0xc
cmp dword [ebx + 0xf2], 0
je 0x432023
push dword [ebx + 0x102]
call fcn.0042af04
pop ecx
xor eax, eax
mov dword [ebx + 0xf2], eax
mov dword [ebx + 0xee], eax
push 2
push ebx
mov eax, dword [ebx]
call dword [eax]
add esp, 8
cmp dword [ebx + 0x58], 0
je 0x432234
push ebx
call fcn.004322a9
pop ecx
jmp 0x432234
xor esi, esi
mov eax, dword [ebx + 0x10e]
cmp eax, dword [ebx + 0x11a]
jge 0x432069
mov edi, dword [ebx + 0x10e]
jmp 0x43206f
mov edi, dword [ebx + 0x11a]
test edi, edi
je 0x4321a1
cmp dword [ebx + 0xc], 7
jne 0x4320c9
cmp dword [ebx + 0x11e], 0
je 0x4320b4
push 0
push edi
push dword [0x460024]
push dword [ebx + 8]
call sub.WSOCK32.dll_recv
mov esi, eax
test esi, esi
jle 0x4320f3
push esi
push dword [0x460024]
push dword [ebx + 0x106]
call fcn.00424230
add esp, 0xc
jmp 0x4320f3
push 0
push edi
push dword [ebx + 0x106]
push dword [ebx + 8]
call sub.WSOCK32.dll_recv
mov esi, eax
jmp 0x4320f3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0x122]
push eax
push 0
push dword [ebx + 0x10a]
push dword [ebx + 0x102]
push dword [ebx + 8]
call sub.WSOCK32.dll_recvfrom
mov esi, eax
cmp esi, 0xffffffff
je 0x4321a1
test esi, esi
jle 0x4321a1
sub dword [ebx + 0x10e], esi
add dword [ebx + 0x106], esi
add dword [ebx + 0x112], esi
cmp dword [ebx + 0xf2], 0
jne 0x432130
cmp dword [ebx + 0x116], 0
je 0x432130
mov eax, dword [ebx + 0x116]
add dword [eax], esi
add dword [ebx + 0x50], esi
cmp dword [ebx + 0xf2], 0
je 0x432145
push ebx
call fcn.00431b1d
pop ecx
jmp 0x43218a
cmp dword [ebx + 0xf6], 0
jne 0x432157
cmp dword [ebx + 0x10e], 0
je 0x43215d
cmp dword [ebx + 0xc], 6
jne 0x432174
push 0
push 2
push ebx
call fcn.00431a87
add esp, 0xc
xor eax, eax
mov dword [ebx + 0xee], eax
jmp 0x43218a
cmp dword [ebx + 0xf6], 0
je 0x43218a
push 0
push 2
push ebx
call fcn.00431a87
add esp, 0xc
cmp dword [ebx + 0x58], 0
je 0x4321a1
push 1
push 0
push 0x400
push dword [ebx + 0x10]
call sub.USER32.dll_PostMessageA
cmp esi, 0xffffffff
jne 0x4321fd
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2733
je 0x4321fd
push dword [ebp - 8]
push ebx
call fcn.00431982
add esp, 8
mov dword [ebx + 0xfe], eax
push dword [ebx + 0xfe]
push 2
push ebx
call fcn.00431a87
add esp, 0xc
cmp dword [ebx + 0xf2], 0
je 0x4321ef
push dword [ebx + 0x102]
call fcn.0042af04
pop ecx
xor eax, eax
mov dword [ebx + 0xf2], eax
mov dword [ebx + 0xee], eax
push 2
push ebx
mov eax, dword [ebx]
call dword [eax]
add esp, 8
test edi, edi
je 0x43221e
test esi, esi
jne 0x43221e
cmp dword [ebx + 0x58], 0
je 0x43221e
push ebx
call fcn.004322a9
pop ecx
jmp 0x432234
test edi, edi
je 0x432234
test esi, esi
jne 0x432234
mov dword [ebx + 0x5c], 0x16
push ebx
call fcn.004322a9
pop ecx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret