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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
movzx eax, word [0x450060]
movzx edx, word [0x450062]
shl eax, 0x10
or eax, edx
add eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [0x458d94]
cmp eax, 0xffffffff
je 0x41a37e
mov ebx, dword [sym.imp.WS2_32.dll_recvfrom]
lea edi, [esp + 0x38]
lea esi, [esp + 0x40]
lea ebp, [esp + 0x3c]
jmp 0x41a342
sub eax, 0xc
cmp eax, 0x5f4
ja 0x41a338
cmp byte [0x458580], 0xaa
jne 0x41a338
cmp byte [0x458581], 0x55
jne 0x41a338
movzx edx, byte [0x458582]
cmp dl, 1
je 0x41a390
mov dword [esp + 8], 4
mov dword [esp + 4], ebp
mov dword [esp], 0xffffffff
mov byte [esp + 0x2f], dl
call fcn.00401f50
movzx edx, byte [esp + 0x2f]
mov dword [esp + 4], 0x458580
mov dword [esp], eax
sub edx, 4
mov dword [esp + 8], edx
call fcn.00401f50
movzx edx, byte [0x458582]
mov ecx, eax
mov eax, edx
shr al, 2
movzx eax, al
cmp dword [eax*4 + 0x45857c], ecx
je 0x41a420
lea esi, [esi]
mov eax, dword [0x458d94]
cmp eax, 0xffffffff
je 0x41a37e
mov dword [esp + 0x38], 0x10
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x800
mov dword [esp + 4], 0x458580
mov dword [esp], eax
call ebx
lea edx, [eax + 1]
sub esp, 0x18
cmp edx, 1
ja 0x41a2b0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x3c]
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
call fcn.00401f50
mov dword [esp + 8], 0x4c4
mov dword [esp + 4], 0x458580
mov dword [esp], eax
call fcn.00401f50
cmp dword [0x458a44], eax
jne 0x41a338
movzx eax, byte [0x458a48]
cmp al, 5
ja 0x41a338
imul eax, eax, 0xa48
mov dword [esp + 0xc], 0x4c8
mov dword [esp + 8], 0x458580
mov dword [esp + 4], 0x800
add eax, 0x450a08
mov dword [esp], eax
call dword [0x42a308]
movzx eax, byte [0x458a48]
mov dword [esp], eax
call fcn.00408390
jmp 0x41a338
cmp byte [0x458583], 0xff
je 0x41a488
cmp dl, 0x13
jbe 0x41a338
movzx eax, byte [edx + 0x458580]
cmp al, 5
ja 0x41a338
imul eax, eax, 0xa48
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x458580
mov dword [esp + 4], 0x800
add eax, 0x450a08
mov dword [esp], eax
call dword [0x42a308]
movzx eax, byte [0x458582]
movzx eax, byte [eax + 0x458580]
mov dword [esp], eax
call fcn.00408390
jmp 0x41a338
cmp dl, 0xc
je 0x41a540
cmp dl, 0x20
jne 0x41a338
mov dword [esp + 0xc], 0x18
mov dword [esp + 8], 0x458584
mov dword [esp + 4], 0x18
mov dword [esp], 0x459040
call dword [0x42a308]
mov eax, dword [0x459040]
test eax, eax
je 0x41a4d2
mov dword [0x45900c], 1
mov eax, dword [0x459044]
test eax, eax
je 0x41a4e5
mov dword [0x45900c], 2
mov eax, dword [0x459048]
test eax, eax
je 0x41a4f8
mov dword [0x45900c], 3
mov ecx, dword [0x45904c]
test ecx, ecx
je 0x41a50c
mov dword [0x45900c], 4
mov edx, dword [0x459050]
test edx, edx
je 0x41a520
mov dword [0x45900c], 5
mov eax, dword [0x459054]
test eax, eax
je 0x41a338
mov dword [0x45900c], 6
jmp 0x41a338
cmp byte [0x458584], 0x11
ja 0x41a338
mov eax, dword [0x458584]
mov dword [esp + 8], 7
mov dword [esp + 4], 0x8000
mov dword [esp + 0xc], eax
mov eax, dword [0x45929c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_PostMessageW]
sub esp, 0x10
jmp 0x41a338