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

Disassembly:
push ebp
lea ebp, [esp - 0x4c]
sub esp, 0xc4
mov eax, dword [0x78e580]
xor eax, ebp
mov dword [ebp + 0x48], eax
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x6c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x64]
push ebx
mov ebx, dword [ebp + 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x68]
push esi
mov esi, dword [ebp + 0x60]
push edi
mov edi, dword [ebp + 0x7c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], edi
call fcn.00442170
push edi
push ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
call fcn.00420330
pop ecx
pop ecx
test eax, eax
je 0x421cd4
push edi
push ebx
call fcn.004203a6
pop ecx
pop ecx
test eax, eax
je 0x421cd4
push edi
push dword [ebp - 0x50]
call fcn.00416619
pop ecx
pop ecx
test eax, eax
jne 0x421cd4
mov eax, dword [ebp + 0x5c]
cmp esi, 0xffffffff
jne 0x421b8e
xor esi, esi
cmp dword [eax], esi
je 0x421b8e
inc esi
cmp dword [eax + esi*8], 0
jne 0x421b87
mov edx, esi
test esi, esi
jne 0x421ba2
lea ecx, [ebp - 0x45]
mov dword [ebp - 0x78], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x74], ecx
mov esi, ecx
test edx, edx
lea ecx, [ebp - 0x78]
cmovne ecx, eax
mov eax, esi
shl eax, 3
mov dword [ebp - 0x3c], ecx
call fcn.004b6620
mov ecx, esp
xor edx, edx
mov dword [ebp - 0x40], ecx
test esi, esi
jle 0x421bf0
mov eax, dword [ebp - 0x3c]
mov ebx, esp
sub ebx, eax
mov dword [ebp - 0x3c], ebx
mov edi, ebx
lea ecx, [eax + 4]
mov eax, dword [ecx - 4]
mov ebx, dword [ebp - 0x40]
mov dword [edi + ecx], eax
mov eax, dword [ecx]
lea ecx, [ecx + 8]
mov dword [ebx + edx*8], eax
inc edx
mov ebx, dword [ebp - 0x44]
cmp edx, esi
jl 0x421bd1
mov edi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x421bfb
mov eax, dword [eax]
jmp 0x421bfd
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x421c05
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x54], 0
mov eax, dword [ebx + 0xc]
push 0
mov dword [ebp - 0x58], 0x80
push 0
je 0x421c36
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x4c]
push edx
lea edx, [ebp - 0x3c]
push edx
push esi
push ecx
push dword [eax + 0xc]
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
jmp 0x421c49
lea edx, [ebp - 0x4c]
push edx
lea edx, [ebp - 0x3c]
push edx
push esi
push ecx
push dword [eax + 0xc]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x421d0d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x40]
mov ebx, eax
cmp ebx, 0x2714
je 0x421c02
push 1
push dword [ebp - 0x44]
call fcn.00420000
pop ecx
pop ecx
cmp ebx, 0x2733
jne 0x421caa
mov eax, dword [ebp + 0x70]
or eax, dword [ebp + 0x74]
je 0x421caa
mov ebx, dword [ebp - 0x44]
push edi
push dword [ebp - 0x50]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp + 0x74]
push dword [ebp + 0x70]
push 1
push ebx
call fcn.0042013b
add esp, 0x20
test eax, eax
je 0x421cd4
mov ecx, dword [ebp - 0x40]
jmp 0x421c05
test edi, edi
je 0x421cd4
push ebx
call fcn.00408e81
push ebx
mov esi, eax
call fcn.00422bca
pop ecx
pop ecx
push eax
cmp esi, 0x1b
jne 0x421cef
push esi
call fcn.00408f70
push eax
push edi
call fcn.004418d8
add esp, 0x10
or eax, 0xffffffff
lea esp, [ebp - 0x84]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x48]
xor ecx, ebp
call fcn.004b5ec4
add ebp, 0x4c
leave
ret
push str.Error_receiving_message:__s
call fcn.00451b5b
pop ecx
push eax
push esi
call fcn.00408f70
push eax
push edi
call fcn.004418a5
add esp, 0x14
jmp 0x421cd4
push 1
push ebx
call fcn.00420000
mov esi, dword [ebp - 0x54]
pop ecx
pop ecx
test esi, esi
je 0x421d30
push dword [ebp - 0x58]
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.004201af
add esp, 0xc
mov dword [esi], eax
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x421d3c
mov eax, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x421d46
and dword [eax], 0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x421d50
and dword [eax], 0
mov eax, dword [ebp - 0x3c]
jmp 0x421cd7