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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5b4
push ebx
mov eax, dword [ebp + 8]
and eax, 0xffff
imul eax, eax, 0xb8
mov ecx, dword [0x4477e4]
add ecx, eax
mov dword [ebp - 0x5b4], ecx
lea edx, [ebp - 0x59c]
mov dword [ebp - 8], edx
mov dword [ebp - 0x5a0], 0x10
lea eax, [ebp - 0x5a0]
push eax
lea ecx, [ebp - 0x5b0]
push ecx
push 0
push 0x583
lea edx, [ebp - 0x59c]
push edx
mov eax, dword [ebp - 0x5b4]
mov ecx, dword [eax + 2]
push ecx
call sub.WSOCK32.dll_recvfrom
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40a67f
cmp dword [ebp - 4], 0
jne 0x40a6d5
mov edx, dword [ebp - 4]
push edx
mov ax, word [ebp - 0x5ae]
push eax
call fcn.00415227
add esp, 4
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x5ac]
push ecx
call fcn.00417663
add esp, 4
push eax
mov edx, dword [ebp + 8]
and edx, 0xffff
push edx
push str.CommUDPRecv__d__recv_from_IP__s__Port__d___ReceLen_d_error_
push 0x20f
push 0x42ce60
mov eax, dword [0x437d14]
push eax
call fcn.0040c291
add esp, 0x20
jmp 0x40a95c
mov ecx, dword [ebp - 8]
push ecx
call fcn.0040a961
add esp, 4
and eax, 0xffff
test eax, eax
jne 0x40a733
mov dx, word [ebp - 0x5ae]
push edx
call fcn.00415227
add esp, 4
and eax, 0xffff
push eax
mov eax, dword [ebp - 0x5ac]
push eax
call fcn.00417663
add esp, 4
push eax
push 0x42ce7c
push 0x215
push 0x42cea0
mov ecx, dword [0x437d14]
push ecx
call fcn.0040c291
add esp, 0x18
jmp 0x40a95c
mov edx, dword [ebp - 8]
push edx
call fcn.004056b0
add esp, 4
mov eax, dword [0x447d10]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x40a79f
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx + 0xc]
push eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 0xa]
push edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + 4]
push eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 2]
push edx
push 0x42cebc
push 0x42cec4
push 0x21b
push 0x42cef8
mov eax, dword [0x437d14]
push eax
call fcn.0040c291
add esp, 0x28
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 6]
mov eax, dword [ebp - 4]
sub eax, 0xd
mov ecx, dword [ebp - 8]
xor ebx, ebx
mov bl, byte [ecx + 1]
sub eax, ebx
cmp edx, eax
jne 0x40a7cc
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + 6]
cmp eax, 0x578
jle 0x40a814
mov cx, word [ebp - 0x5ae]
push ecx
call fcn.00415227
add esp, 4
and eax, 0xffff
push eax
mov edx, dword [ebp - 0x5ac]
push edx
call fcn.00417663
add esp, 4
push eax
push 0x42cf14
push 0x220
push 0x42cf3c
mov eax, dword [0x437d14]
push eax
call fcn.0040c291
add esp, 0x18
jmp 0x40a95c
lea ecx, [ebp - 0x14]
push ecx
push 5
mov dx, word [ebp - 0x5ae]
push edx
mov eax, dword [ebp - 0x5ac]
push eax
call fcn.0040c113
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40a87f
mov cx, word [ebp - 0x5ae]
push ecx
call sub.WSOCK32.dll_ntohs
and eax, 0xffff
push eax
mov edx, dword [ebp - 0x5ac]
push edx
call fcn.00417663
add esp, 4
push eax
push 0x42cf58
push 0x227
push 0x42cf70
mov eax, dword [0x437d14]
push eax
call fcn.0040c291
add esp, 0x18
jmp 0x40a95c
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx + 7]
mov eax, dword [ebp - 0x5b4]
xor ecx, ecx
mov cx, word [eax]
cmp edx, ecx
je 0x40a90b
mov edx, dword [ebp - 0x5b4]
xor eax, eax
mov ax, word [edx]
push eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx + 7]
push edx
mov ax, word [ebp - 0x5ae]
push eax
call sub.WSOCK32.dll_ntohs
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x5ac]
push ecx
call fcn.00417663
add esp, 4
push eax
push str.Recv_Udp_from__s__d__linkid_conflict_Recv_linkid_d_Handle_linkid_d
push 0x22e
push 0x42cfd4
mov edx, dword [0x437d14]
push edx
call fcn.0040c291
add esp, 0x20
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov cx, word [eax + 7]
imul ecx, ecx, 0xb8
mov edx, dword [0x4477e4]
add edx, ecx
mov dword [ebp - 0x5b4], edx
mov eax, dword [ebp - 0x5b4]
xor ecx, ecx
mov cx, word [eax]
imul ecx, ecx, 0x18
mov edx, dword [0x447b78]
add edx, ecx
push edx
call fcn.00415bf6
add esp, 4
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x5b4]
push ecx
call fcn.00406682
add esp, 8
mov edx, dword [ebp - 0x5b4]
xor eax, eax
mov ax, word [edx]
imul eax, eax, 0x18
mov ecx, dword [0x447b78]
add ecx, eax
push ecx
call fcn.00415c05
add esp, 4
pop ebx
mov esp, ebp
pop ebp
ret