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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push 0xb50
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00409ed0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dl, byte [ebp + 0xc]
mov byte [ecx + 0xb4c], dl
mov eax, dword [ebp + 8]
mov dword [eax + 0x530], 0x10
call fcn.00409828
mov dword [eax], 0
mov ecx, dword [ebp + 8]
add ecx, 0x530
push ecx
mov edx, dword [ebp + 8]
add edx, 0x520
push edx
push 0
push 0x400
mov eax, dword [ebp + 8]
add eax, 4
push eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xb4c]
imul edx, edx, 0x34
mov eax, dword [edx + 0x440698]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x50c], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.00409828
mov dword [eax], esi
call fcn.00409828
cmp dword [eax], 0
jne 0x41b1d4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50c], 0
jle 0x41b1d4
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 4]
cmp ecx, 1
je 0x41b1db
xor eax, eax
jmp 0x41b4b7
mov edx, dword [ebp + 8]
add edx, 0xf4
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50c]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx - 0xf0]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jae 0x41b488
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
cmp eax, 0xff
je 0x41b488
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfd
ja case.0x41b240.1
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x41b4f4]
jmp dword [edx*4 + 0x41b4bc]
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x41b1fd
mov dword [ebp - 0x10], 0
jmp 0x41b264
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 1]
cmp dword [ebp - 0x10], eax
jge 0x41b287
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 2]
mov eax, dword [ebp + 8]
mov byte [eax + edx + 0x748], 1
jmp 0x41b25b
jmp case.0x41b240.1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 2]
mov byte [ecx + 0xb4a], al
jmp case.0x41b240.1
mov ecx, dword [ebp - 0xc]
add ecx, 2
push ecx
call fcn.0041a0f0
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x504], eax
jmp case.0x41b240.1
mov eax, dword [ebp - 0xc]
add eax, 2
push eax
call fcn.0041a100
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp case.0x41b240.1
mov edx, dword [ebp - 0xc]
add edx, 2
push edx
call fcn.0041a120
add esp, 4
mov ecx, dword [ebp + 8]
mov word [ecx + 0x534], ax
jmp case.0x41b240.1
mov edx, dword [ebp - 0xc]
add edx, 2
push edx
call fcn.0041a0f0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x508], eax
jmp case.0x41b240.1
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 1]
test eax, eax
je 0x41b3a5
push str._none_
mov ecx, dword [ebp - 0xc]
add ecx, 2
push ecx
call fcn.004072ca
add esp, 8
test eax, eax
je 0x41b3a5
push 0x4412b4
mov edx, dword [ebp - 0xc]
add edx, 2
push edx
call fcn.004072ca
add esp, 8
test eax, eax
je 0x41b3a5
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 2
push edx
mov eax, dword [ebp + 8]
add eax, 0x404
push eax
call fcn.00406dd0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 1]
mov eax, dword [ebp + 8]
mov byte [eax + edx + 0x404], 0
push 0x2e
mov ecx, dword [ebp + 8]
add ecx, 0x404
push ecx
call fcn.00401000
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41b3a5
mov edx, dword [ebp - 0x14]
mov byte [edx], 0
jmp case.0x41b240.1
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 2
push edx
mov eax, dword [ebp + 8]
add eax, 0x948
push eax
call fcn.00406dd0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 1]
mov byte [ecx + 0xb48], al
jmp case.0x41b240.1
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 1]
push edx
mov eax, dword [ebp - 0xc]
add eax, 2
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xa48
push ecx
call fcn.00406dd0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 1]
mov byte [edx + 0xb49], cl
jmp case.0x41b240.1
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 1]
add eax, 2
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x540
push edx
call fcn.00406dd0
add esp, 0xc
jmp case.0x41b240.1
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
add ecx, 2
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0x642
push eax
call fcn.00406dd0
add esp, 0xc
jmp case.0x41b240.1
mov ecx, dword [ebp - 0xc]
add ecx, 2
push ecx
call fcn.0041a100
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x744], eax
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 1]
add edx, dword [ebp - 8]
mov dword [ebp - 8], edx
jmp 0x41b1fd
mov eax, dword [ebp + 8]
add eax, 0xf4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x538], eax
push 0x310
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x538]
push eax
call fcn.00409ed0
add esp, 0xc
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret