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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4b4
mov dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x458]
mov dword [esp], eax
call fcn.00412734
mov ebx, eax
lea eax, [ebp - 0x458]
mov dword [esp], eax
call fcn.00412740
mov edx, eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.WS2_32.DLL_recvfrom
sub esp, 0x18
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jg 0x40afa0
mov dword [ebp - 0x48c], 1
jmp 0x40b25d
mov eax, dword [ebp - 0x45c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x458]
mov dword [esp], eax
call fcn.00412760
lea eax, [ebp - 0x458]
mov dword [esp], eax
call fcn.0040a440
test al, al
jne 0x40afd9
mov dword [ebp - 0x48c], 1
jmp 0x40b25d
mov dword [esp + 0xc], 6
lea eax, [ebp - 0x478]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x458]
mov dword [esp], eax
call fcn.0040a61e
test al, al
jne 0x40b014
mov dword [ebp - 0x48c], 1
jmp 0x40b25d
mov dword [ebp - 0x47c], 0
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esp], eax
call fcn.0041287c
cmp eax, dword [ebp - 0x47c]
jbe 0x40b083
lea ebx, [ebp - 0x478]
mov eax, dword [ebp - 0x47c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esp], eax
call fcn.00412308
mov dword [esp + 8], 6
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x40b079
mov dword [ebp - 0x48c], 1
jmp 0x40b25d
lea eax, [ebp - 0x47c]
inc dword [eax]
jmp 0x40b01e
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esp], eax
call fcn.00412238
mov dword [ebp - 0x47c], eax
mov dword [esp + 8], 6
lea eax, [ebp - 0x478]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x47c]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov dword [esp + 0xc], pe_nt_image_headers32
mov eax, dword [ebp - 0x47c]
add eax, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 5
lea eax, [ebp - 0x458]
mov dword [esp], eax
call fcn.0040a586
mov dword [esp + 0xc], 0x10
mov eax, dword [ebp - 0x47c]
add eax, 0x8c
mov dword [esp + 8], eax
mov dword [esp + 4], 7
lea eax, [ebp - 0x458]
mov dword [esp], eax
call fcn.0040a586
mov dword [esp + 4], 0xd5
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00412630
mov dword [ebp - 0x480], eax
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esp], eax
call fcn.0041287c
dec eax
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x478]
mov dword [esp], eax
call fcn.00408f8c
mov edx, eax
mov eax, dword [ebp - 0x484]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x484]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x480]
mov dword [esp], eax
call fcn.004098b6
mov eax, dword [ebp - 0x484]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x480]
mov dword [esp], eax
call fcn.00409a74
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.WS2_32.DLL_inet_ntoa
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0x484]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x488]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x480]
mov dword [esp], eax
call fcn.004098b6
mov eax, dword [ebp - 0x484]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x47c]
add eax, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov eax, dword [ebp - 0x488]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x480]
mov dword [esp], eax
call fcn.004098b6
mov eax, dword [ebp - 0x484]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x47c]
add eax, 0x8c
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov eax, dword [ebp - 0x488]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x480]
mov dword [esp], eax
call fcn.004098b6
mov dword [ebp - 0x48c], 1
mov eax, dword [ebp - 0x48c]
mov ebx, dword [ebp - 4]
leave
ret