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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
mov dword [ebp - 0x88], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x680]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x50
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x84], 0x80
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x80]
push eax
push 0
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0x144]
add edx, 4
push edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x14c]
push ecx
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 0x13c], eax
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x138], 0
jne 0x43d7f0
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x90]
add edx, 0xb8
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x84]
mov dword [eax + 0x138], ecx
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x13c], 4
jge 0x43d825
push str.Received_too_short_packet
mov eax, dword [ebp - 0x8c]
push eax
call fcn.004224c0
add esp, 8
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 0xc], 7
jmp 0x43da45
mov edx, dword [ebp - 0x90]
add edx, 0x14c
push edx
call fcn.0043da70
add esp, 4
and eax, 0xffff
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
sub ecx, 3
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 3
ja case.default.0x43d879
mov edx, dword [ebp - 0x98]
jmp dword [edx*4 + 0x43da52]
mov eax, dword [ebp - 0x90]
cmp dword [eax + 0x13c], 4
jle 0x43d96d
mov ecx, dword [ebp - 0x90]
xor edx, edx
mov dx, word [ecx + 0x30]
mov esi, edx
add esi, 1
and esi, 0xffff
mov eax, dword [ebp - 0x90]
add eax, 0x14c
push eax
call fcn.0043d1f0
add esp, 4
and eax, 0xffff
cmp esi, eax
jne 0x43d96d
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0x13c]
sub edx, 4
push edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x14c]
add ecx, 4
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00422f60
add esp, 0x10
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x43d924
push 5
mov eax, dword [ebp - 0x90]
push eax
call fcn.0043c710
add esp, 8
mov eax, dword [ebp - 0x88]
jmp 0x43da4b
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0x13c]
sub eax, 4
cdq
mov esi, dword [ecx + 0x20]
add esi, eax
mov eax, dword [ecx + 0x24]
adc eax, edx
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [edx + 0x20]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
call fcn.0042ff00
add esp, 0xc
jmp 0x43da1d
mov eax, dword [ebp - 0x90]
add eax, 0x14c
push eax
call fcn.0043d1f0
add esp, 4
and eax, 0xffff
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0x14c]
add eax, 4
push eax
push 0x46aeb0
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.00422440
add esp, 0xc
jmp 0x43da1d
jmp 0x43da1d
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0x13c]
sub eax, 2
push eax
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0x14c]
add edx, 2
push edx
mov eax, dword [ebp - 0x90]
push eax
call fcn.0043daa0
add esp, 0xc
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x43da02
mov eax, dword [ebp - 0x88]
jmp 0x43da4b
jmp 0x43da1d
push str.Internal_error:_Unexpected_packet
push 0x46ac58
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004224c0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004301c0
add esp, 4
test eax, eax
je 0x43da45
push 5
mov eax, dword [ebp - 0x90]
push eax
call fcn.0043c710
add esp, 8
mov eax, 0x2a
jmp 0x43da4b
mov eax, dword [ebp - 0x88]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret