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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
push edi
lea edi, [ebp - 0xb4]
mov ecx, 0x2d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cfaa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x510]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x70
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x94], 0x80
mov esi, esp
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x88]
push eax
push 0
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x154]
add edx, 4
push edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x15c]
push ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp esi, esp
call fcn.004a9923
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x14c], eax
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x148], 0
jne 0x4739ca
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0xa4]
add edx, 0xc8
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0x148], ecx
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x14c], 4
jge 0x4739ff
push str.Received_too_short_packet
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0043e100
add esp, 8
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0xc], 7
jmp 0x473c28
mov edx, dword [ebp - 0xa4]
add edx, 0x15c
push edx
call fcn.00472cd0
add esp, 4
mov word [ebp - 0xac], ax
movzx eax, word [ebp - 0xac]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
sub ecx, 3
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xb4], 3
ja case.default.0x473a5c
mov edx, dword [ebp - 0xb4]
jmp dword [edx*4 + 0x473c90]
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 0x14c], 4
jle 0x473b47
mov ecx, dword [ebp - 0xa4]
movzx esi, word [ecx + 0x40]
add esi, 1
and esi, 0xffff
mov edx, dword [ebp - 0xa4]
add edx, 0x15c
push edx
call fcn.00472d00
add esp, 4
movzx eax, ax
cmp esi, eax
jne 0x473b47
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x14c]
sub edx, 4
push edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x15c]
add ecx, 4
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.0043e4b0
add esp, 0x10
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x473b02
push 5
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004737a0
add esp, 8
mov eax, dword [ebp - 0x9c]
jmp 0x473c2e
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx + 0x14c]
sub eax, 4
cdq
mov ecx, dword [ebp - 0xa8]
add eax, dword [ecx + 0x20]
adc edx, dword [ecx + 0x24]
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [edx + 0x20]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00453f50
add esp, 0xc
jmp 0x473c00
mov eax, dword [ebp - 0xa4]
add eax, 0x15c
push eax
call fcn.00472d00
add esp, 4
mov word [ebp - 0xb0], ax
movzx ecx, word [ebp - 0xb0]
mov edx, dword [ebp - 0xa4]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x15c]
add ecx, 4
push ecx
push 0x4cc780
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0043e010
add esp, 0xc
jmp 0x473c00
jmp 0x473c00
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x14c]
sub ecx, 2
push ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x15c]
add eax, 2
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.00472e30
add esp, 0xc
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x473be5
mov eax, dword [ebp - 0x9c]
jmp 0x473c2e
jmp 0x473c00
push str.Internal_error:_Unexpected_packet
push 0x4cc7a8
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0043e100
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00454250
add esp, 4
test eax, eax
je 0x473c28
push 5
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.004737a0
add esp, 8
mov eax, 0x2a
jmp 0x473c2e
mov eax, dword [ebp - 0x9c]
push edx
mov ecx, ebp
push eax
lea edx, [0x473c5c]
call fcn.004a98cf
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a93ad
add esp, 0xb4
cmp ebp, esp
call fcn.004a9923
mov esp, ebp
pop ebp
ret