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

Disassembly:
push 0x20
mov eax, 0x61474f
call fcn.0052400f
mov eax, ecx
mov dword [ebp - 0x14], eax
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
push ecx
mov ecx, eax
call fcn.0047335d
test al, al
je 0x47386e
call fcn.0044b8a6
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
cmp dword [esi + 0x34], ebx
jl 0x4737aa
jg 0x47379b
cmp dword [esi + 0x30], ebx
jbe 0x4737aa
push dword [esi + 0x34]
mov ecx, esi
push dword [esi + 0x30]
call fcn.00475d34
jmp 0x4737b3
push ecx
push ecx
mov ecx, esi
call fcn.00475cce
mov byte [ebp - 0xd], bl
cmp dword [esi + 0x34], ebx
jl 0x4737d6
jg 0x4737c2
cmp dword [esi + 0x30], ebx
jbe 0x4737d6
mov ecx, dword [esi + 0x1c]
add ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x20]
mov edx, dword [esi + 0x2c]
sbb edx, dword [esi + 0x24]
jmp 0x4737ec
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x38]
mov edx, dword [esi + 0x44]
sbb edx, dword [esi + 0x3c]
mov byte [ebp - 0xd], 1
mov edi, SysReAllocString
cmp edx, ebx
jg 0x4737ff
jl 0x4737fb
cmp eax, edi
jae 0x4737ff
push ebx
push eax
jmp 0x473801
push ebx
push edi
mov edi, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x4739e3
cdq
add dword [esi + 0x58], eax
adc dword [esi + 0x5c], edx
cmp byte [ebp - 0xd], 0
je 0x473919
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], edx
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
cmp dword [esi + 0x38], edx
jne 0x473905
cmp eax, dword [esi + 0x44]
jne 0x473905
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x24]
push edi
push dword [esi + 0x44]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push edx
push dword [esi + 0x18]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
cmp eax, 0xfffffff6
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x34], eax
jne 0x473876
push 0xfffffffffffffffe
pop esi
jmp 0x473907
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
jne 0x473905
push 0x60
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call fcn.00522cb9
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00475deb
mov edi, eax
push esi
lea ecx, [edi + 0x5c]
call fcn.00473a39
mov ecx, dword [ebp - 0x14]
push 0x20
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x58], eax
call fcn.00522cb9
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.004731c8
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [edi + 0x30], eax
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x30]
mov dword [eax + 0x18], ebx
mov eax, dword [edi + 0x30]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x14]
movlpd qword [ebp - 0x2c], xmm0
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x2c]
push eax
lea eax, [edi + 0x38]
push eax
mov edx, dword [ecx]
push ebx
push 0x12
push dword [esi + 0x18]
push dword [ebp + 8]
call dword [edx]
mov ecx, dword [ebp - 0x14]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
xor esi, esi
lea ecx, [ebp - 0x18]
call fcn.00473a86
mov eax, esi
call fcn.00523fd8
ret 4
add dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
adc dword [esi + 0x24], edx
mov ecx, dword [esi + 0x24]
cmp eax, dword [esi + 0x28]
jne 0x473905
cmp ecx, dword [esi + 0x2c]
jne 0x473905
push 0x60
call fcn.00522cb9
pop ecx
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.00475deb
mov ebx, eax
push esi
lea ecx, [ebx + 0x5c]
call fcn.00473a39
mov ecx, dword [ebp - 0x14]
push 0x20
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x58], eax
call fcn.00522cb9
pop ecx
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.004731c8
mov ecx, eax
lea edi, [ebx + 0x38]
mov dword [ebx + 0x30], ecx
mov eax, dword [esi + 0x1c]
push ebx
mov dword [ecx + 0x18], eax
mov ecx, dword [ebx + 0x30]
mov eax, dword [esi + 0x6c]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x30]
mov dword [eax + 4], 1
mov esi, dword [esi + 0x18]
mov eax, dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [eax + 0x20]
xor esi, esi
mov dword [ebx + 0x42], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebx + 0x46], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebx + 0x34], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebx + 0x4a], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x4e], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebx + 0x52], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x473907
jns 0x4739fb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x473905
jmp 0x47386e
push 0xfffffffffffffffe
test eax, eax
pop ecx
cmove ebx, ecx
mov dword [ebp + 8], ebx
mov esi, ebx
jmp 0x473907