Function at 0x547ac4
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.00547ed1
push eax
call fcn.004789c6
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004789c6
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x72e663]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x72eabc]
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.0046c1ae
push eax
call fcn.004789c6
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0xffffffff
jle 0x547b5b
cmp dword [ebp - 8], 0
jle 0x547b5b
mov eax, 1
jmp 0x547b60
mov eax, 0
test eax, eax
je 0x547eaf
cmp dword [0x769ddc], 0
jne 0x547be4
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 0x547ba8
push 6
call fcn.00685030
add esp, 4
mov dword [0x769ddc], eax
mov dword [ebp - 0x14], esp
push 0x1e
mov eax, 0x73b0d8
test eax, eax
je 0x547bc1
add eax, 8
push eax
push dword [0x769ddc]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x547be4
push 6
call fcn.00685030
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x547c44
lea eax, [ebp - 4]
push eax
call fcn.00547ef8
mov dword [ebp - 0x14], eax
push 0x73b0fe
push dword [ebp - 0x14]
push 0x73b108
mov ecx, 3
call fcn.00474b26
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x547c27
push ebx
call fcn.00685018
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x547c3b
push ebx
call fcn.00685018
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x547cd7
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x72eabc]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0046c1ae
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.00547f47
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.00547ef8
mov dword [ebp - 0x18], eax
push 0x73b0fe
push dword [ebp - 0x18]
push 0x73b120
push dword [ebp - 0x14]
push 0x73b133
mov ecx, 5
call fcn.00474b26
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x547caf
push ebx
call fcn.00685018
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x547cbf
push ebx
call fcn.00685018
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x547cd3
push ebx
call fcn.00685018
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x547d52
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x72eabc]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0046c1ae
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00547ef8
mov dword [ebp - 0x14], eax
push 0x73b13f
push dword [ebp - 0x14]
push 0x73b15b
push dword [ebp - 0xc]
mov ecx, 4
call fcn.00474b26
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x547d3a
push ebx
call fcn.00685018
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x547d4e
push ebx
call fcn.00685018
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x547d8c
push 0x73b164
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00474b26
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x547d88
push ebx
call fcn.00685018
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.00547ef8
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0x769ddc]
push 1
mov ebx, 0x198
call fcn.006867e0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x73b16d
push dword [ebp - 0x18]
push 0x730c42
push dword [ebp - 0x14]
push 0x73b177
push dword [ebp - 0xc]
mov ecx, 6
call fcn.00474b26
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x547df2
push ebx
call fcn.00685018
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x547e02
push ebx
call fcn.00685018
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x547e16
push ebx
call fcn.00685018
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 0x547e2d
mov eax, 0x72e604
push eax
push 1
mov ebx, 0x194
call fcn.00686a20
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 0x547e74
push 6
call fcn.00685030
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 0x547e87
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 0x547ea7
push 6
call fcn.00685030
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x547eb9
mov eax, 0
jmp 0x547eb9
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x547eca
push ebx
call fcn.00685018
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18