Function at 0x1003fb1b
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.1003fed4
push eax
call fcn.1003beab
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.1003beab
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x1009e64b]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x1009e6a5]
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.1000328e
push eax
call fcn.1003beab
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0xffffffff
jle 0x1003fbb2
cmp dword [ebp - 8], 0
jle 0x1003fbb2
mov eax, 1
jmp 0x1003fbb7
mov eax, 0
test eax, eax
je 0x1003feb2
cmp dword [0x100b0367], 0
jne 0x1003fc11
push 0x40
push 0x1000
push 0x1e
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
mov dword [0x100b0367], eax
push 0x1e
mov eax, 0x100a214d
test eax, eax
je 0x1003fc00
add eax, 8
push eax
push dword [0x100b0367]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp + 0x18], 0
je 0x1003fc71
lea eax, [ebp - 4]
push eax
call fcn.1003fefb
mov dword [ebp - 0x14], eax
push 0x100a2173
push dword [ebp - 0x14]
push 0x100a217d
mov ecx, 3
call fcn.10005898
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003fc54
push ebx
call fcn.1008e8db
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003fc68
push ebx
call fcn.1008e8db
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x1003fd04
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x1009e6a5]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.1000328e
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.1003ff4a
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.1003fefb
mov dword [ebp - 0x18], eax
push 0x100a2173
push dword [ebp - 0x18]
push 0x100a2195
push dword [ebp - 0x14]
push 0x100a21a8
mov ecx, 5
call fcn.10005898
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003fcdc
push ebx
call fcn.1008e8db
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1003fcec
push ebx
call fcn.1008e8db
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003fd00
push ebx
call fcn.1008e8db
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x1003fd7f
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x1009e6a5]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.1000328e
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1003fefb
mov dword [ebp - 0x14], eax
push 0x100a21b4
push dword [ebp - 0x14]
push 0x100a21d0
push dword [ebp - 0xc]
mov ecx, 4
call fcn.10005898
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003fd67
push ebx
call fcn.1008e8db
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003fd7b
push ebx
call fcn.1008e8db
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x1003fdb9
push 0x100a21d9
push dword [ebp - 0xc]
mov ecx, 2
call fcn.10005898
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003fdb5
push ebx
call fcn.1008e8db
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.1003fefb
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [0x100b0367]
push 1
mov ebx, 0x198
call fcn.1008f520
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x100a21e2
push dword [ebp - 0x18]
push 0x100a21ec
push dword [ebp - 0x14]
push 0x100a21f5
push dword [ebp - 0xc]
mov ecx, 6
call fcn.10005898
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003fe1f
push ebx
call fcn.1008e8db
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1003fe2f
push ebx
call fcn.1008e8db
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003fe43
push ebx
call fcn.1008e8db
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1003fe5a
mov eax, 0x1009e47c
push eax
push 1
mov ebx, 0x194
call fcn.1008f2c0
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 0x1003fe9c
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 0x1003febc
mov eax, 0
jmp 0x1003febc
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003fecd
push ebx
call fcn.1008e8db
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18