Function at 0x5715c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.00571979
push eax
call fcn.004b0d4b
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004b0d4b
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0xbf95ca]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0xbfa813]
fstp qword [ebp - 0x2c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.004a0718
push eax
call fcn.004b0d4b
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0xffffffff
jle 0x571657
cmp dword [ebp - 8], 0
jle 0x571657
mov eax, 1
jmp 0x57165c
mov eax, 0
test eax, eax
je 0x571957
cmp dword [0xc30700], 0
jne 0x5716b6
push 0x40
push 0x1000
push 0x1e
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
mov dword [0xc30700], eax
push 0x1e
mov eax, 0xc0278e
test eax, eax
je 0x5716a5
add eax, 8
push eax
push dword [0xc30700]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp + 0x18], 0
je 0x571716
lea eax, [ebp - 4]
push eax
call fcn.005719a0
mov dword [ebp - 0x14], eax
push 0xc027b4
push dword [ebp - 0x14]
push 0xc027be
mov ecx, 3
call fcn.004aa16b
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5716f9
push ebx
call fcn.006a6411
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x57170d
push ebx
call fcn.006a6411
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x5717a9
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0xbfa813]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004a0718
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.005719ef
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.005719a0
mov dword [ebp - 0x18], eax
push 0xc027b4
push dword [ebp - 0x18]
push 0xc027d6
push dword [ebp - 0x14]
push 0xc027e9
mov ecx, 5
call fcn.004aa16b
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x571781
push ebx
call fcn.006a6411
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x571791
push ebx
call fcn.006a6411
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5717a5
push ebx
call fcn.006a6411
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x571824
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0xbfa813]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004a0718
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.005719a0
mov dword [ebp - 0x14], eax
push 0xc027f5
push dword [ebp - 0x14]
push 0xc02811
push dword [ebp - 0xc]
mov ecx, 4
call fcn.004aa16b
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x57180c
push ebx
call fcn.006a6411
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x571820
push ebx
call fcn.006a6411
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x57185e
push 0xc0281a
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004aa16b
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x57185a
push ebx
call fcn.006a6411
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.005719a0
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0xc30700]
push 1
mov ebx, 0x198
call fcn.006a7fe0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xc02823
push dword [ebp - 0x18]
push 0xbfab0a
push dword [ebp - 0x14]
push 0xc0282d
push dword [ebp - 0xc]
mov ecx, 6
call fcn.004aa16b
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5718c4
push ebx
call fcn.006a6411
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5718d4
push ebx
call fcn.006a6411
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5718e8
push ebx
call fcn.006a6411
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x5718ff
mov eax, 0xbf95ff
push eax
push 1
mov ebx, 0x194
call fcn.006a80c0
add esp, 0x10
mov dword [ebp - 4], eax
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
mov dword [ebp - 8], eax
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x571941
add eax, 8
push eax
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
mov eax, dword [ebp - 8]
jmp 0x571961
mov eax, 0
jmp 0x571961
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x571972
push ebx
call fcn.006a6411
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18