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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4d4
mov dword [ebp - 0x2c], 0x1c
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.00413198
mov ebx, eax
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.004131a4
mov edx, eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.WS2_32.DLL_recvfrom
sub esp, 0x18
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0
jg 0x40b7a7
jmp 0x40bb21
mov eax, dword [ebp - 0x47c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.004131c4
mov word [ebp - 0x26], 0
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.0040a840
test al, al
jne 0x40b7dc
jmp 0x40bb21
mov dword [esp + 0xc], 6
lea eax, [ebp - 0x498]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.0040aa1e
test al, al
jne 0x40b80d
jmp 0x40bb21
mov dword [ebp - 0x49c], 0
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp], eax
call fcn.004132f8
cmp eax, dword [ebp - 0x49c]
jbe 0x40b894
lea ebx, [ebp - 0x498]
mov eax, dword [ebp - 0x49c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp], eax
call fcn.00412d68
mov dword [esp + 8], 6
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x40b88a
mov eax, dword [ebp - 0x49c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp], eax
call fcn.00412d68
movzx eax, word [eax + 8]
cmp ax, word [ebp - 0x28]
jne 0x40b88a
jmp 0x40bb21
lea eax, [ebp - 0x49c]
inc dword [eax]
jmp 0x40b817
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp], eax
call fcn.00412c84
mov dword [ebp - 0x49c], eax
mov dword [esp + 8], 6
lea eax, [ebp - 0x498]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x49c]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x49c]
add edx, 8
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x18], eax
mov dword [esp + 0xc], 0x80
mov eax, dword [ebp - 0x49c]
add eax, 0x24
mov dword [esp + 8], eax
mov dword [esp + 4], 5
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.0040a986
mov dword [esp + 0xc], 0x10
mov eax, dword [ebp - 0x49c]
add eax, 0xa4
mov dword [esp + 8], eax
mov dword [esp + 4], 7
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.0040a986
mov dword [esp + 0xc], 0x40
mov eax, dword [ebp - 0x49c]
add eax, 0xb4
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.0040a986
mov ebx, dword [ebp - 0x49c]
mov dword [esp + 0xc], 1
lea eax, [ebp - 0x49d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xd
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.0040a986
mov byte [ebx + 0xf4], al
mov dword [esp + 4], 0xd5
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00413094
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp], eax
call fcn.004132f8
dec eax
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x498]
mov dword [esp], eax
call fcn.00409338
mov edx, eax
mov eax, dword [ebp - 0x4a8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x4a8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4a4]
mov dword [esp], eax
call fcn.00409cb6
mov eax, dword [ebp - 0x4a8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4a4]
mov dword [esp], eax
call fcn.00409e74
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0040bb26
mov edx, eax
mov eax, dword [ebp - 0x4a8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x4ac]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4a4]
mov dword [esp], eax
call fcn.00409cb6
mov eax, dword [ebp - 0x4a8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x49c]
add eax, 0x24
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov eax, dword [ebp - 0x4ac]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4a4]
mov dword [esp], eax
call fcn.00409cb6
mov eax, dword [ebp - 0x4a8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x49c]
add eax, 0xa4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov eax, dword [ebp - 0x4ac]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4a4]
mov dword [esp], eax
call fcn.00409cb6
mov eax, dword [ebp - 0x4a8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x49c]
add eax, 0xb4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x4ac]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4a4]
mov dword [esp], eax
call fcn.00409cb6
mov ebx, dword [ebp - 4]
leave
ret