Function at 0x100010f6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x80000301
push 0
push 0x1c
push 1
mov ebx, 0x1bc
call fcn.1002ae30
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10001150
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 0x1c
mov eax, dword [ebp - 4]
test eax, eax
je 0x10001166
add eax, 8
push eax
push 0x10001491
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10001192
push 0x36
push 0x4011bbf
push 6
call fcn.1002a5fc
add esp, 0xc
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100011bd
mov eax, 0x10031200
push eax
push 3
mov ebx, 0x19c
call fcn.1002af60
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp ecx, 0x80000101
jne 0x100011f1
and eax, 0xff
jmp 0x10001246
cmp ecx, 0x80000201
jne 0x100011fc
cwde
jmp 0x10001246
cmp ecx, 0x80000301
je 0x10001246
cmp ecx, 0x80000401
je 0x10001246
mov dword [ebp - 0x24], eax
cmp ecx, 0x80000501
je 0x10001236
cmp ecx, 0x80000601
je 0x1000123b
push 0x77
push 0x4011bbf
push 2
call fcn.1002a5fc
add esp, 0xc
fld dword [ebp - 0x24]
jmp 0x10001241
mov dword [ebp - 0x20], edx
fld qword [ebp - 0x24]
call fcn.10001078
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001455
fild dword [ebp - 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x10031208]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.10001078
push 0x80000301
push 0
push eax
push 1
mov ebx, 0xa5c
call fcn.1002b100
add esp, 0x10
mov dword [ebp - 0x24], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fadd qword [0x10031210]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.10001078
push 0x80000301
push 0
push eax
push 1
mov ebx, 0xa5c
call fcn.1002b100
add esp, 0x10
mov dword [ebp - 0x40], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.10001078
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0x10]
push eax
push 0x40
push 7
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10001324
push 0x188
push 0x4011bbf
push 6
call fcn.1002a5fc
add esp, 0xc
test eax, eax
je 0x10001403
push 0x80000006
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x198
call fcn.1002b2d0
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x10031218
push dword [ebp - 0x14]
push 0x10031222
mov ecx, 3
call fcn.1000109f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10001378
push ebx
call fcn.1002a5f0
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1000139b
mov eax, 0x10031200
push eax
push 3
mov ebx, 0x914
call fcn.1002b3a0
add esp, 0x28
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100013be
push ebx
call fcn.1002a5f0
add esp, 4
mov dword [ebp - 0x14], esp
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
push 7
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100013fe
push 0x223
push 0x4011bbf
push 6
call fcn.1002a5fc
add esp, 0xc
jmp 0x1000143b
cmp dword [ebp - 0xc], 0
jne 0x1000141c
mov eax, 0
jmp 0x1000145f
push 0x80000006
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.1002b480
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.10001477
jmp 0x1000145f
mov eax, 0
jmp 0x1000145f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10001470
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4