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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
movzx eax, word [0x452060]
movzx edx, word [0x452062]
shl eax, 0x10
or eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [0x45abd4]
cmp eax, 0xffffffff
je 0x41a2f6
mov ebx, dword [sym.imp.WS2_32.dll_recvfrom]
lea edi, [esp + 0x38]
lea esi, [esp + 0x40]
lea ebp, [esp + 0x3c]
jmp 0x41a2ba
sub eax, 0xc
cmp eax, 0x5f4
ja 0x41a2b0
cmp byte [0x45a3c0], 0x55
jne 0x41a2b0
cmp byte [0x45a3c1], 0xaa
jne 0x41a2b0
movzx edx, byte [0x45a3c2]
cmp dl, 1
je 0x41a300
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], 0x45a3c0
mov dword [esp], eax
sub edx, 4
mov dword [esp + 8], edx
call fcn.00401f50
movzx edx, byte [0x45a3c2]
mov ecx, eax
mov eax, edx
shr al, 2
movzx eax, al
cmp dword [eax*4 + 0x45a3bc], ecx
je 0x41a390
lea esi, [esi]
mov eax, dword [0x45abd4]
cmp eax, 0xffffffff
je 0x41a2f6
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], 0x45a3c0
mov dword [esp], eax
call ebx
lea edx, [eax + 1]
sub esp, 0x18
cmp edx, 1
ja 0x41a228
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], 0x45a3c0
mov dword [esp], eax
call fcn.00401f50
cmp dword [0x45a884], eax
jne 0x41a2b0
movzx eax, byte [0x45a888]
cmp al, 5
ja 0x41a2b0
imul eax, eax, 0xa48
mov dword [esp + 0xc], 0x4c8
mov dword [esp + 8], 0x45a3c0
mov dword [esp + 4], 0x800
add eax, 0x452a08
mov dword [esp], eax
call dword [0x42e308]
movzx eax, byte [0x45a888]
mov dword [esp], eax
call fcn.00408770
jmp 0x41a2b0
cmp byte [0x45a3c3], 0xff
je 0x41a3f8
cmp dl, 0x13
jbe 0x41a2b0
movzx eax, byte [edx + 0x45a3c0]
cmp al, 5
ja 0x41a2b0
imul eax, eax, 0xa48
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x45a3c0
mov dword [esp + 4], 0x800
add eax, 0x452a08
mov dword [esp], eax
call dword [0x42e308]
movzx eax, byte [0x45a3c2]
movzx eax, byte [eax + 0x45a3c0]
mov dword [esp], eax
call fcn.00408770
jmp 0x41a2b0
cmp dl, 0xc
je 0x41a4b0
cmp dl, 0x20
jne 0x41a2b0
mov dword [esp + 0xc], 0x18
mov dword [esp + 8], 0x45a3c4
mov dword [esp + 4], 0x18
mov dword [esp], 0x45ae80
call dword [0x42e308]
mov eax, dword [0x45ae80]
test eax, eax
je 0x41a442
mov dword [0x45ae4c], 1
mov eax, dword [0x45ae84]
test eax, eax
je 0x41a455
mov dword [0x45ae4c], 2
mov eax, dword [0x45ae88]
test eax, eax
je 0x41a468
mov dword [0x45ae4c], 3
mov ecx, dword [0x45ae8c]
test ecx, ecx
je 0x41a47c
mov dword [0x45ae4c], 4
mov edx, dword [0x45ae90]
test edx, edx
je 0x41a490
mov dword [0x45ae4c], 5
mov eax, dword [0x45ae94]
test eax, eax
je 0x41a2b0
mov dword [0x45ae4c], 6
jmp 0x41a2b0
cmp byte [0x45a3c4], 0x11
ja 0x41a2b0
mov eax, dword [0x45a3c4]
mov dword [esp + 8], 7
mov dword [esp + 4], 0x8000
mov dword [esp + 0xc], eax
mov eax, dword [0x45b0dc]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_PostMessageW]
sub esp, 0x10
jmp 0x41a2b0