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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb434
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x20d4
call fcn.004aae00
mov eax, dword [0x512a40]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x208c], 0
sub esp, 0x10
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x512ea8
call fcn.00487de0
mov dword [ebp - 4], 1
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0xf
jbe 0x47ff8a
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x20b0]
call fcn.0044ba50
add esp, 4
mov dword [ebp - 0x208c], 1
push 0x512c40
lea edx, [ebp - 0x20b0]
lea ecx, [ebp - 0x70]
call fcn.0044b460
add esp, 4
mov byte [ebp - 4], 2
mov eax, 1
mov dword [ebp - 0x208c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x20b4], eax
mov dword [ebp - 0x208c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20b0]
call fcn.0044a2e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.0044a2e0
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
cmova ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x60]
call fcn.0047d4f0
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 5
push 0x2000
push 0
lea eax, [ebp - 0x2088]
push eax
call fcn.004ac230
add esp, 0xc
mov eax, dword [sym.imp.WS2_32.dll_recv]
push 0
push 0x2000
lea ecx, [ebp - 0x2088]
push ecx
push dword [0x512d00]
call eax
mov edi, eax
test edi, edi
jle 0x4800df
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ecx, esi
sub ecx, edx
push edi
cmp edi, ecx
ja 0x4800a4
lea eax, [edx + edi]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
cmp esi, 0xf
cmova eax, dword [ebp - 0x34]
lea esi, [eax + edx]
lea eax, [ebp - 0x2088]
push eax
push esi
call fcn.004abcb0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4800ba
lea eax, [ebp - 0x2088]
push eax
push dword [ebp - 0x2098]
push edi
lea ecx, [ebp - 0x34]
call fcn.0044ed80
cmp byte [ebp + edi - 0x2089], 0xa
mov eax, dword [sym.imp.WS2_32.dll_recv]
jne 0x480050
mov ecx, dword [ebp - 0x24]
dec ecx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
mov byte [eax + ecx], 0
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
cmova edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
add eax, edx
lea edi, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
cmova edi, dword [ebp - 0x34]
mov esi, eax
cmp edi, esi
je 0x4802fd
mov al, byte [edi]
mov byte [ebp - 0x208d], al
movzx eax, al
push eax
call fcn.00496470
add esp, 4
test eax, eax
jne 0x4802f4
cmp byte [ebp - 0x208d], al
je 0x4802f4
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x88]
call fcn.0044cc70
mov byte [ebp - 4], 6
sub esp, 0x28
mov dword [ebp - 0x2098], esp
mov eax, esp
mov dword [ebp - 0x20b8], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 8
push 0
push 1
mov byte [ebp - 4], 6
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.00468840
add esp, 0x30
mov byte [ebp - 4], 9
mov byte [ebp - 0x48], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.00449d20
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x48]
call fcn.0047d550
mov dword [ebp - 4], 0xc
mov esi, dword [ebp - 0x20b4]
jmp 0x4801c0
mov edi, dword [sym.imp.WS2_32.dll_recv]
sub esp, 0x10
lea eax, [ebp - 0x20e8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00487de0
mov byte [ebp - 4], 0x10
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0xf
jbe 0x4801e7
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x20d0]
call fcn.0044ba50
add esp, 4
or esi, 8
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 0x11
push 0x512c40
lea ecx, [ebp - 0x20d0]
call fcn.00449160
xorps xmm0, xmm0
movups xmmword [ebp - 0x20b0], xmm0
mov dword [ebp - 0x20a0], 0
mov dword [ebp - 0x209c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
or esi, 0x10
mov dword [ebp - 0x208c], esi
lea ecx, [ebp - 0x20b0]
cmp dword [ebp - 0x209c], 0xf
cmova ecx, dword [ebp - 0x20b0]
mov edx, dword [ebp - 0x20a0]
call fcn.0047d4f0
and esi, 0xffffffef
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x20b0]
call fcn.0044a2e0
and esi, 0xfffffff7
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x20d0]
call fcn.0044a2e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20e8]
call fcn.0044a2e0
mov byte [ebp - 4], 9
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
call fcn.0044a540
mov byte [ebp - 4], 6
push dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
call fcn.0044a540
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.0044a2e0
jmp 0x480391
inc edi
cmp edi, esi
jne 0x480104
mov byte [ebp - 4], 0x14
mov ecx, dword [0x512c50]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x4803f3
mov eax, 0x512c40
cmp dword [0x512c54], 0xf
cmova eax, dword [0x512c40]
push ecx
push eax
push 1
push 0x4fe584
push ecx
push dword [ebp - 0x20b8]
lea ecx, [ebp - 0x20b0]
call fcn.004503f0
mov esi, dword [ebp - 0x20b4]
or esi, 4
mov dword [ebp - 0x208c], esi
lea ecx, [ebp - 0x20b0]
cmp dword [ebp - 0x209c], 0xf
cmova ecx, dword [ebp - 0x20b0]
mov edx, dword [ebp - 0x20a0]
call fcn.0047d4f0
and esi, 0xfffffffb
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20b0]
call fcn.0044a2e0
mov edi, dword [sym.imp.WS2_32.dll_recv]
push 0
push 1
lea eax, [ebp - 0x2088]
push eax
push dword [0x512d00]
call edi
mov eax, dword [0x512d00]
test eax, eax
je 0x4803b4
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0044a2e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0044a2e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a9ea5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00435030
int3