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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [0x6b6f62]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp + 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 1
mov ebx, 0xc
mov eax, 0x5479a0
call fcn.0053b760
add esp, 0x10
mov ebx, dword [0x6b6f62]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp + 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x4c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov ebx, dword [0x6b6f62]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp + 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x50
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
jne 0x5388ab
mov ebx, dword [0x6b6f62]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp + 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 1
mov ebx, 0x10
mov eax, 0x5479c0
call fcn.0053b760
add esp, 0x10
push dword [ebp + 0xc]
call fcn.00538a95
mov dword [ebp - 0x10], eax
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x6b5a28]
fstp qword [ebp - 0x20]
push 0
push dword [ebp + 0xc]
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
fld qword [ebp - 0x20]
call fcn.00499a3d
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ws2_32.dll_WSARecv]
nop
nop
nop
nop
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x5388a1
call dword [sym.imp.kernel32.dll_GetLastError]
nop
nop
nop
nop
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3e5
mov eax, 0
sete al
jmp 0x538a8f
mov eax, 1
jmp 0x538a8f
push dword [ebp + 0xc]
call fcn.00538ae1
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [0x6b6f66]
push 1
mov ebx, 0xc
mov eax, 0x5479a0
call fcn.0053b760
add esp, 0x10
push 0x80000301
push 0
push dword [0x6b6f6a]
push 1
mov ebx, 0xc
mov eax, 0x5479a0
call fcn.0053b760
add esp, 0x10
push dword [ebp - 0xc]
push 0
push dword [0x6b6f72]
call dword [sym.imp.kernel32.dll_HeapFree]
nop
nop
nop
nop
push dword [ebp - 8]
push 0
push dword [0x6b6f72]
call dword [sym.imp.kernel32.dll_HeapAlloc]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ebx, dword [0x6b6f62]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp + 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x4c
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00538b2d
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.00538b6a
push 0x80000301
push 0
push dword [0x6b6f6a]
push 1
mov ebx, 0x10
mov eax, 0x5479c0
call fcn.0053b760
add esp, 0x10
push 0x80000301
push 0
push dword [0x6b6f66]
push 1
mov ebx, 0x10
mov eax, 0x5479c0
call fcn.0053b760
add esp, 0x10
mov ebx, dword [0x6b6f62]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp + 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 1
mov ebx, 0x10
mov eax, 0x5479c0
call fcn.0053b760
add esp, 0x10
push dword [ebp + 0xc]
call fcn.00538a95
mov dword [ebp - 0x10], eax
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x6b5a28]
fstp qword [ebp - 0x20]
push 0
push dword [ebp + 0xc]
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
fld qword [ebp - 0x20]
call fcn.00499a3d
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ws2_32.dll_WSARecv]
nop
nop
nop
nop
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x538a85
call dword [sym.imp.kernel32.dll_GetLastError]
nop
nop
nop
nop
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3e5
mov eax, 0
sete al
jmp 0x538a8f
mov eax, 1
jmp 0x538a8f
mov esp, ebp
pop ebp
ret 8