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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4a4
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 0x40], 0x1c
lea eax, [ebp - 0x484]
mov ecx, eax
call fcn.004143a4
mov ebx, eax
lea eax, [ebp - 0x484]
mov ecx, eax
call fcn.004143b4
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.WS2_32.dll_recvfrom
sub esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x40af53
jmp 0x40b280
lea eax, [ebp - 0x484]
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
mov ecx, eax
call fcn.004143e8
sub esp, 4
mov word [ebp - 0x3a], 0
lea eax, [ebp - 0x484]
mov ecx, eax
call fcn.0040a2d4
xor eax, 1
test al, al
je 0x40af88
jmp 0x40b280
lea eax, [ebp - 0x484]
mov dword [esp + 8], 6
lea edx, [ebp - 0x46]
mov dword [esp + 4], edx
mov dword [esp], 1
mov ecx, eax
call fcn.0040a4cc
sub esp, 0xc
xor eax, 1
test al, al
je 0x40afba
jmp 0x40b280
mov dword [ebp - 0xc], 0
jmp 0x40b036
mov eax, dword [ebp - 0x48c]
lea edx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov ecx, edx
call fcn.00413e9c
sub esp, 4
mov dword [esp + 8], 6
lea edx, [ebp - 0x46]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x40b024
mov eax, dword [ebp - 0x48c]
lea edx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov ecx, edx
call fcn.00413e9c
sub esp, 4
movzx edx, word [eax + 8]
movzx eax, word [ebp - 0x3c]
cmp dx, ax
jne 0x40b024
mov eax, 1
jmp 0x40b029
mov eax, 0
test al, al
je 0x40b032
jmp 0x40b280
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x48c]
add eax, 0x10
mov ecx, eax
call fcn.00414544
cmp eax, dword [ebp - 0xc]
seta al
test al, al
jne 0x40afc3
mov eax, dword [ebp - 0x48c]
add eax, 0x10
mov ecx, eax
call fcn.00413da0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x46]
mov dword [eax], edx
movzx edx, word [ebp - 0x42]
mov word [eax + 4], dx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x24]
lea eax, [ebp - 0x484]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], edx
mov dword [esp], 5
mov ecx, eax
call fcn.0040a424
sub esp, 0xc
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0xa4]
lea eax, [ebp - 0x484]
mov dword [esp + 8], 0x10
mov dword [esp + 4], edx
mov dword [esp], 7
mov ecx, eax
call fcn.0040a424
sub esp, 0xc
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0xb4]
lea eax, [ebp - 0x484]
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], 0xc
mov ecx, eax
call fcn.0040a424
sub esp, 0xc
lea eax, [ebp - 0x484]
mov dword [esp + 8], 1
lea edx, [ebp - 0x47]
mov dword [esp + 4], edx
mov dword [esp], 0xd
mov ecx, eax
call fcn.0040a424
sub esp, 0xc
mov edx, dword [ebp - 0x14]
mov byte [edx + 0xf4], al
mov eax, dword [ebp - 0x48c]
mov dword [esp], 0xd5
mov ecx, eax
call fcn.00414290
sub esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48c]
add eax, 0x10
mov ecx, eax
call fcn.00414544
sub eax, 1
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x46]
mov dword [esp], eax
call fcn.00408d69
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00409711
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004098c3
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0040a2b8
mov edx, dword [ebp - 0x20]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00409711
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x24]
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00409711
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xa4]
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00409711
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xb4]
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00409711
mov ebx, dword [ebp - 4]
leave
ret 4