Function at 0x47e300
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 0x4c9564
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x20d4
call fcn.004a8b00
mov eax, dword [0x511a40]
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, 0x511f00
call fcn.004862f0
mov dword [ebp - 4], 1
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0xf
jbe 0x47e37a
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x20b0]
call fcn.0044b670
add esp, 4
mov dword [ebp - 0x208c], 1
push 0x511c94
lea edx, [ebp - 0x20b0]
lea ecx, [ebp - 0x70]
call fcn.0044b080
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.00449f00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00449f00
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
cmova ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x60]
call fcn.0047b8e0
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.004a9f30
add esp, 0xc
mov eax, dword [sym.imp.WS2_32.dll_recv]
push 0
push 0x2000
lea ecx, [ebp - 0x2088]
push ecx
push dword [0x511d58]
call eax
mov edi, eax
test edi, edi
jle 0x47e4cf
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ecx, esi
sub ecx, edx
push edi
cmp edi, ecx
ja 0x47e494
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.004a99b0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x47e4aa
lea eax, [ebp - 0x2088]
push eax
push dword [ebp - 0x2098]
push edi
lea ecx, [ebp - 0x34]
call fcn.0044e880
cmp byte [ebp + edi - 0x2089], 0xa
mov eax, dword [sym.imp.WS2_32.dll_recv]
jne 0x47e440
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 0x47e6ed
mov al, byte [edi]
mov byte [ebp - 0x208d], al
movzx eax, al
push eax
call fcn.00494980
add esp, 4
test eax, eax
jne 0x47e6e4
cmp byte [ebp - 0x208d], al
je 0x47e6e4
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x88]
call fcn.0044c850
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.00466fe0
add esp, 0x30
mov byte [ebp - 4], 9
mov byte [ebp - 0x48], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.00449940
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x48]
call fcn.0047b940
mov dword [ebp - 4], 0xc
mov esi, dword [ebp - 0x20b4]
jmp 0x47e5b0
mov edi, dword [sym.imp.WS2_32.dll_recv]
sub esp, 0x10
lea eax, [ebp - 0x20e8]
push eax
lea ecx, [ebp - 0x48]
call fcn.004862f0
mov byte [ebp - 4], 0x10
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0xf
jbe 0x47e5d7
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x20d0]
call fcn.0044b670
add esp, 4
or esi, 8
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 0x11
push 0x511c94
lea ecx, [ebp - 0x20d0]
call fcn.00448dc0
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.0047b8e0
and esi, 0xffffffef
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x20b0]
call fcn.00449f00
and esi, 0xfffffff7
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x20d0]
call fcn.00449f00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20e8]
call fcn.00449f00
mov byte [ebp - 4], 9
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
call fcn.0044a160
mov byte [ebp - 4], 6
push dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
call fcn.0044a160
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00449f00
jmp 0x47e781
inc edi
cmp edi, esi
jne 0x47e4f4
mov byte [ebp - 4], 0x14
mov ecx, dword [0x511ca4]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x47e7e3
mov eax, 0x511c94
cmp dword [0x511ca8], 0xf
cmova eax, dword [0x511c94]
push ecx
push eax
push 1
push 0x4fd5c0
push ecx
push dword [ebp - 0x20b8]
lea ecx, [ebp - 0x20b0]
call fcn.0044fef0
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.0047b8e0
and esi, 0xfffffffb
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20b0]
call fcn.00449f00
mov edi, dword [sym.imp.WS2_32.dll_recv]
push 0
push 1
lea eax, [ebp - 0x2088]
push eax
push dword [0x511d58]
call edi
mov eax, dword [0x511d58]
test eax, eax
je 0x47e7a4
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.00449f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00449f00
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.004a7b9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00434ca0
int3