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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
mov eax, ecx
mov dword [esp + 0x30], 0x400
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x30], eax
push edi
mov dword [esp + 0x3c], ecx
push 0
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], 0
push ecx
push 1
lea ecx, [esp + 0x4c]
push ecx
push dword [eax]
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [esp + 0x30], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x7f5028
push eax
lea ecx, [esp + 0x54]
call fcn.0044c740
movq xmm0, qword [eax]
mov ebx, dword [eax + 8]
movq qword [esp + 0x1c], xmm0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
cmp ebx, 1
je 0x47ee2b
mov eax, esi
jmp 0x47ee4f
mov eax, 0x4801
mov ecx, edi
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, esi
cmp eax, 0x40
jne 0x47eec7
cmp dword [0x7f5030], 0x257edfd1
jne 0x47ee6c
cmp dword [0x7f5034], 0xb2ab117a
je 0x47ee84
cmp dword [0x7f5030], 0x257edfd0
jne 0x47ee88
cmp dword [0x7f5034], 0xb2ab117a
jne 0x47ee88
mov al, 1
jmp 0x47ee9c
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2746
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esp + 0x40], 0x2746
add eax, 2
mov dword [esp + 0x44], 0x7f5028
movq xmm0, qword [esp + 0x40]
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], eax
jmp 0x47efce
cmp ebx, 1
je 0x47eed0
mov eax, esi
jmp 0x47eef4
mov eax, 0x4801
mov ecx, edi
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, esi
cmp eax, 0x4d2
jne 0x47ef6b
cmp dword [0x7f5030], 0x257edfd1
jne 0x47ef13
cmp dword [0x7f5034], 0xb2ab117a
je 0x47ef2b
cmp dword [0x7f5030], 0x257edfd0
jne 0x47ef2f
cmp dword [0x7f5034], 0xb2ab117a
jne 0x47ef2f
mov al, 1
jmp 0x47ef43
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x274d
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esp + 0x10], 0x274d
add eax, 2
mov dword [esp + 0x14], 0x7f5028
movq xmm0, qword [esp + 0x10]
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], eax
jmp 0x47efce
cmp ebx, 1
je 0x47ef74
mov eax, esi
jmp 0x47ef98
mov eax, 0x4801
mov ecx, edi
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, esi
cmp eax, 0x2738
je 0x47efd5
cmp ebx, 1
jne 0x47efc6
mov eax, 0x4801
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x14
imul eax, eax, 0x1ffff7
sub edi, eax
imul eax, edi, 0x3e8
add esi, eax
cmp esi, 0xea
je 0x47efd5
cmp dword [esp + 0x30], 0
jne 0x47effa
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], 0
cmp eax, 0x400
jne 0x47effd
mov eax, dword [esp + 0x34]
jmp 0x47edc3
or eax, 0xffffffff
test eax, eax
jg 0x47f144
je 0x47f12d
cmp dword [0x7f5030], 0x257edfd1
jne 0x47f023
cmp dword [0x7f5034], 0xb2ab117a
je 0x47f03b
cmp dword [0x7f5030], 0x257edfd0
jne 0x47f03f
cmp dword [0x7f5034], 0xb2ab117a
jne 0x47f03f
mov al, 1
jmp 0x47f053
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2733
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x10], 0x2733
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], 0x7f5028
lea eax, [esp + 0x20]
movq xmm0, qword [esp + 0x14]
push eax
movq qword [esp + 0x18], xmm0
call fcn.0046a970
add esp, 8
test al, al
jne 0x47f144
cmp dword [0x7f5030], 0x257edfd1
jne 0x47f0ab
cmp dword [0x7f5034], 0xb2ab117a
je 0x47f0c3
cmp dword [0x7f5030], 0x257edfd0
jne 0x47f0c7
cmp dword [0x7f5034], 0xb2ab117a
jne 0x47f0c7
mov al, 1
jmp 0x47f0db
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x10], 0x4d5
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], 0x7f5028
lea eax, [esp + 0x20]
movq xmm0, qword [esp + 0x14]
push eax
movq qword [esp + 0x18], xmm0
call fcn.0046a970
add esp, 8
test al, al
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.006def69
mov esp, ebp
pop ebp
ret
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.006def69
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x45c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006def69
mov esp, ebp
pop ebp
ret