Function at 0x575204
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.00575611
push eax
call fcn.004a6106
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004a6106
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0xb2066b]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0xb20ac4]
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.004998ee
push eax
call fcn.004a6106
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0xffffffff
jle 0x57529b
cmp dword [ebp - 8], 0
jle 0x57529b
mov eax, 1
jmp 0x5752a0
mov eax, 0
test eax, eax
je 0x5755ef
cmp dword [0xb5bde4], 0
jne 0x575324
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 0x5752e8
push 6
call fcn.006b2770
add esp, 4
mov dword [0xb5bde4], eax
mov dword [ebp - 0x14], esp
push 0x1e
mov eax, 0xb2d0e0
test eax, eax
je 0x575301
add eax, 8
push eax
push dword [0xb5bde4]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x575324
push 6
call fcn.006b2770
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x575384
lea eax, [ebp - 4]
push eax
call fcn.00575638
mov dword [ebp - 0x14], eax
push 0xb2d106
push dword [ebp - 0x14]
push 0xb2d110
mov ecx, 3
call fcn.004a2266
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x575367
push ebx
call fcn.006b2758
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x57537b
push ebx
call fcn.006b2758
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x575417
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0xb20ac4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004998ee
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.00575687
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.00575638
mov dword [ebp - 0x18], eax
push 0xb2d106
push dword [ebp - 0x18]
push 0xb2d128
push dword [ebp - 0x14]
push 0xb2d13b
mov ecx, 5
call fcn.004a2266
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5753ef
push ebx
call fcn.006b2758
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5753ff
push ebx
call fcn.006b2758
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x575413
push ebx
call fcn.006b2758
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x575492
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0xb20ac4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004998ee
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00575638
mov dword [ebp - 0x14], eax
push 0xb2d147
push dword [ebp - 0x14]
push 0xb2d163
push dword [ebp - 0xc]
mov ecx, 4
call fcn.004a2266
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x57547a
push ebx
call fcn.006b2758
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x57548e
push ebx
call fcn.006b2758
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x5754cc
push 0xb2d16c
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004a2266
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5754c8
push ebx
call fcn.006b2758
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.00575638
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0xb5bde4]
push 1
mov ebx, 0x198
call fcn.006b3f20
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xb2d175
push dword [ebp - 0x18]
push 0xb22c4a
push dword [ebp - 0x14]
push 0xb2d17f
push dword [ebp - 0xc]
mov ecx, 6
call fcn.004a2266
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x575532
push ebx
call fcn.006b2758
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x575542
push ebx
call fcn.006b2758
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x575556
push ebx
call fcn.006b2758
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 0x57556d
mov eax, 0xb2060c
push eax
push 1
mov ebx, 0x194
call fcn.006b4160
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 0x5755b4
push 6
call fcn.006b2770
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 0x5755c7
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 0x5755e7
push 6
call fcn.006b2770
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x5755f9
mov eax, 0
jmp 0x5755f9
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x57560a
push ebx
call fcn.006b2758
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18