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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x43f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x404]
mov dword [ebp - 0x430], ecx
push esi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], 0x400
push edi
push 0
push 0
lea eax, [ebp - 0x418]
mov dword [ebp - 0x414], 0
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push eax
push 1
lea eax, [ebp - 0x420]
push eax
push dword [ecx]
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [0x43f078]
mov esi, eax
mov ecx, dword [0x43f07c]
cmp edx, 0x257edfd1
jne 0x409f2f
cmp ecx, 0xb2ab117a
je 0x409f3f
cmp edx, 0x257edfd0
jne 0x409f46
cmp ecx, 0xb2ab117a
jne 0x409f46
test esi, esi
setne al
jmp 0x409f56
mov eax, dword [0x43f070]
mov ecx, 0x43f070
push esi
mov eax, dword [eax + 0x18]
call eax
movzx edi, al
add edi, 2
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x40c], 0x43f070
mov dword [ebp - 0x408], edi
cmp edi, 1
je 0x409f7b
mov eax, esi
jmp 0x409fa5
mov ecx, 0x43f070
mov eax, 0x4801
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x14
imul eax, ecx, 0x1ffff7
mov ecx, 0x43f070
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, esi
cmp eax, 0x40
jne 0x409fd4
mov edx, 0x2746
lea ecx, [ebp - 0x42c]
call fcn.00406b40
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x410], xmm0
mov dword [ebp - 0x408], eax
jmp 0x40a0a6
cmp edi, 1
je 0x409fdd
mov eax, esi
jmp 0x40a007
mov ecx, 0x43f070
mov eax, 0x4801
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x14
imul eax, ecx, 0x1ffff7
mov ecx, 0x43f070
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, esi
cmp eax, 0x4d2
jne 0x40a035
mov edx, 0x274d
lea ecx, [ebp - 0x43c]
call fcn.00406b40
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x410], xmm0
mov dword [ebp - 0x408], eax
jmp 0x40a0a6
cmp edi, 1
je 0x40a03e
mov eax, esi
jmp 0x40a068
mov ecx, 0x43f070
mov eax, 0x4801
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x14
imul eax, ecx, 0x1ffff7
mov ecx, 0x43f070
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, esi
cmp eax, 0x2738
je 0x40a0aa
cmp edi, 1
jne 0x40a09e
mov ecx, 0x43f070
mov eax, 0x4801
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x14
imul eax, ecx, 0x1ffff7
mov ecx, 0x43f070
sub ecx, eax
imul eax, ecx, 0x3e8
add esi, eax
cmp esi, 0xea
je 0x40a0aa
test ebx, ebx
jne 0x40a0e0
mov eax, dword [ebp - 0x414]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x430]
movq qword [ebp - 0x410], xmm0
mov dword [ebp - 0x408], 0
cmp eax, 0x400
je 0x409ed2
test eax, eax
jg 0x40a167
je 0x40a154
mov edx, 0x2733
lea ecx, [ebp - 0x43c]
call fcn.00406b40
lea edx, [ebp - 0x42c]
lea ecx, [ebp - 0x410]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x42c], xmm0
mov dword [ebp - 0x424], eax
call fcn.00405e80
test al, al
jne 0x40a167
mov edx, 0x4d5
lea ecx, [ebp - 0x43c]
call fcn.00406b40
lea edx, [ebp - 0x42c]
lea ecx, [ebp - 0x410]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x42c], xmm0
mov dword [ebp - 0x424], eax
call fcn.00405e80
test al, al
jne 0x40a167
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c87e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c87e
mov esp, ebp
pop ebp
ret