Function at 0x1001794e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xb
push 0
push 0x10f3338
call fcn.100043fa
mov dword [ebp - 0x10], esp
push 0x40
push 0x1000
push 0x400
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100179bd
push 0x248
push 0x40399b1
push 6
call fcn.1004f7db
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
push 0x400
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100179f1
push 0x280
push 0x40399b1
push 6
call fcn.1004f7db
add esp, 0xc
push 0x10017c94
call fcn.100033dc
mov dword [ebp - 0x10], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x10077c99]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
push 5
fld qword [ebp - 0x20]
call fcn.100011c6
push eax
push dword [ebp - 0x10]
call fcn.10003532
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x198
call fcn.100508d0
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x198
call fcn.100508d0
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x10077ca1
push dword [ebp - 0x14]
push 0x10077caa
push dword [ebp - 0x10]
push 0x10077cc1
mov ecx, 5
call fcn.100020c7
add esp, 0x14
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10017ac2
push ebx
call fcn.1004f7cf
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10017ad2
push ebx
call fcn.1004f7cf
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10017ae6
push ebx
call fcn.1004f7cf
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.10001e08
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x10077291]
fstp qword [ebp - 0x1c]
push 1
mov eax, 0x1007731e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
fld qword [ebp - 0x1c]
call fcn.100011c6
push eax
push 0x10f3341
call fcn.10003409
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10017b39
push ebx
call fcn.1004f7cf
add esp, 4
add dword [ebp - 4], 0x96
push 0x102d2b52
call fcn.100046b3
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x198
call fcn.100508d0
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x198
call fcn.100508d0
add esp, 0x10
mov dword [ebp - 0x14], eax
push 4
push dword [ebp - 4]
call fcn.1000318e
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.100508d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x10077ce0
push dword [ebp - 0x1c]
push 0x10077cf4
push dword [ebp - 0x14]
push 0x10077d01
push dword [ebp - 0x10]
push 0x10077d0e
mov ecx, 7
call fcn.100020c7
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10017bf2
push ebx
call fcn.1004f7cf
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10017c02
push ebx
call fcn.1004f7cf
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10017c12
push ebx
call fcn.1004f7cf
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10017c26
push ebx
call fcn.1004f7cf
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.10001e08
push 8
push dword [ebp - 4]
call fcn.1000318e
mov dword [0x102d2b56], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10017c58
push ebx
call fcn.1004f7cf
add esp, 4
mov esp, ebp
pop ebp
ret