Function at 0x578f27
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.00579334
push eax
call fcn.0048eede
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.0048eede
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0xde7bb5]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0xde7fec]
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.0048f671
push eax
call fcn.0048eede
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0xffffffff
jle 0x578fbe
cmp dword [ebp - 8], 0
jle 0x578fbe
mov eax, 1
jmp 0x578fc3
mov eax, 0
test eax, eax
je 0x579312
cmp dword [0xe23361], 0
jne 0x579047
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x1e
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x57900b
push 6
call fcn.006d37e9
add esp, 4
mov dword [0xe23361], eax
mov dword [ebp - 0x14], esp
push 0x1e
mov eax, 0xdf4410
test eax, eax
je 0x579024
add eax, 8
push eax
push dword [0xe23361]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x579047
push 6
call fcn.006d37e9
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x5790a7
lea eax, [ebp - 4]
push eax
call fcn.0057935b
mov dword [ebp - 0x14], eax
push 0xdf4436
push dword [ebp - 0x14]
push 0xdf4440
mov ecx, 3
call fcn.0049de24
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x57908a
push ebx
call fcn.006d37dd
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x57909e
push ebx
call fcn.006d37dd
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x57913a
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0xde7fec]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0048f671
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.005793aa
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.0057935b
mov dword [ebp - 0x18], eax
push 0xdf4436
push dword [ebp - 0x18]
push 0xdf4458
push dword [ebp - 0x14]
push 0xdf446b
mov ecx, 5
call fcn.0049de24
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x579112
push ebx
call fcn.006d37dd
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x579122
push ebx
call fcn.006d37dd
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x579136
push ebx
call fcn.006d37dd
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x5791b5
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0xde7fec]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0048f671
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0057935b
mov dword [ebp - 0x14], eax
push 0xdf4477
push dword [ebp - 0x14]
push 0xdf4493
push dword [ebp - 0xc]
mov ecx, 4
call fcn.0049de24
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x57919d
push ebx
call fcn.006d37dd
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5791b1
push ebx
call fcn.006d37dd
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x5791ef
push 0xdf449c
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0049de24
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5791eb
push ebx
call fcn.006d37dd
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.0057935b
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0xe23361]
push 1
mov ebx, 0x198
call fcn.006d4e30
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xdf44a5
push dword [ebp - 0x18]
push 0xdefba2
push dword [ebp - 0x14]
push 0xdf44af
push dword [ebp - 0xc]
mov ecx, 6
call fcn.0049de24
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x579255
push ebx
call fcn.006d37dd
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x579265
push ebx
call fcn.006d37dd
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x579279
push ebx
call fcn.006d37dd
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 0x579290
mov eax, 0xde7932
push eax
push 1
mov ebx, 0x194
call fcn.006d5070
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5792d7
push 6
call fcn.006d37e9
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5792ea
add eax, 8
push eax
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x57930a
push 6
call fcn.006d37e9
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x57931c
mov eax, 0
jmp 0x57931c
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x57932d
push ebx
call fcn.006d37dd
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18