Function at 0x100166c5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x10161201
push VariantClear
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10016718
mov eax, 0x1015e240
push eax
push 3
mov ebx, 0x1ac
call fcn.10075c70
add esp, 0x28
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x1bc
call fcn.10072f40
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10016761
push ebx
call fcn.10072734
add esp, 4
pop eax
mov dword [ebp - 8], eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1001677a
mov eax, 0x1015e240
push eax
push 1
mov ebx, 0x194
call fcn.10072e40
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 8]
test eax, eax
je 0x100167a4
add eax, 8
push eax
push dword [ebp + 8]
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100167d3
push 0xbb
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.100737a0
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0x40
push dword [ebp - 0x18]
push 0x400
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1001683b
push 0x1c2
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x18], 1
jne 0x10016aec
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.1000101d
mov dword [ebp - 4], eax
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1001687b
mov eax, 0x1015e240
push eax
push 1
mov ebx, 0x194
call fcn.10072e40
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
test eax, eax
je 0x100168ad
add eax, 8
push eax
push dword [ebp - 0x10]
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100168dc
push 0x29f
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
mov dword [ebp - 0x30], esp
mov eax, 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x1001690f
add eax, 8
push eax
fld qword [ebp - 0x2c]
call fcn.1000101d
push eax
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10016944
push 0x303
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 4]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fsub qword [0x1015e464]
fstp qword [ebp - 0x4c]
push dword [ebp + 0x14]
fld qword [ebp - 0x4c]
call fcn.1000101d
push eax
call fcn.10016f18
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], esp
mov eax, 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x100169ac
add eax, 8
push eax
fld qword [ebp - 0x2c]
call fcn.1000101d
push eax
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x54], esp
je 0x100169e1
push 0x39c
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x100169f1
push ebx
call fcn.10072734
add esp, 4
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fild dword [ebp + 8]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x64]
fadd qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.1000101d
push eax
fld qword [ebp - 0x54]
call fcn.1000101d
push eax
call fcn.10016f18
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
push 0x1016120a
mov ecx, 2
call fcn.100035f8
add esp, 8
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x10016a84
push ebx
call fcn.10072734
add esp, 4
mov dword [ebp - 0x78], esp
mov eax, 0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
push 5
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10016aa2
add eax, 8
push eax
fld qword [ebp - 0x34]
call fcn.1000101d
push eax
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x78], esp
je 0x10016ad7
push 0x495
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x10016ae7
push ebx
call fcn.10072734
add esp, 4
jmp 0x10016d42
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x10016b0a
add eax, 8
push eax
push dword [ebp - 0x10]
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10016b39
push 0x4cc
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 4]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fsub qword [0x1015e464]
fstp qword [ebp - 0x4c]
push dword [ebp + 0x14]
fld qword [ebp - 0x4c]
call fcn.1000101d
push eax
call fcn.10016f18
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], esp
mov eax, 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10016ba1
add eax, 8
push eax
fld qword [ebp - 0x2c]
call fcn.1000101d
push eax
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x54], esp
je 0x10016bd6
push 0x58b
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x10016be6
push ebx
call fcn.10072734
add esp, 4
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
mov dword [ebp - 0x30], esp
mov eax, 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10016c17
add eax, 8
push eax
fld qword [ebp - 0x2c]
call fcn.1000101d
push eax
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10016c4c
push 0x605
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x4c]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fild dword [ebp + 8]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x64]
fadd qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.1000101d
push eax
fld qword [ebp - 0x54]
call fcn.1000101d
push eax
call fcn.10016f18
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
push 0x1016120a
mov ecx, 2
call fcn.100035f8
add esp, 8
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x10016cdf
push ebx
call fcn.10072734
add esp, 4
mov dword [ebp - 0x78], esp
mov eax, 0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
push 5
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10016cfd
add eax, 8
push eax
fld qword [ebp - 0x34]
call fcn.1000101d
push eax
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x78], esp
je 0x10016d32
push 0x6f1
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x10016d42
push ebx
call fcn.10072734
add esp, 4
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.10016f18
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x1016120a
mov ecx, 2
call fcn.100035f8
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10016d78
push ebx
call fcn.10072734
add esp, 4
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10016d96
add eax, 8
push eax
push dword [ebp + 8]
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10016dc5
push 0x78d
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10016dd5
push ebx
call fcn.10072734
add esp, 4
fild dword [ebp + 0xc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x101610a1]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.1000101d
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x10016e30
push 0x10161213
push dword [ebp - 0x14]
mov ecx, 2
call fcn.100035f8
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10016e28
push ebx
call fcn.10072734
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
pop eax
pop ecx
jmp 0x10016df1
add esp, 8
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10016e46
mov eax, 0x1015e240
push eax
push 1
mov ebx, 0x194
call fcn.10072e40
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10016ef2
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x101610a1]
fstp qword [ebp - 0x24]
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10016e8b
mov eax, 0x1015e240
push eax
push 1
mov ebx, 0x194
call fcn.10072e40
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
mov eax, 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10016ebd
add eax, 8
push eax
fld qword [ebp - 0x24]
call fcn.1000101d
push eax
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10016ef2
push 0x927
push 0x4010aed
push 6
call fcn.10072740
add esp, 0xc
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10016f02
push ebx
call fcn.10072734
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10016f12
push ebx
call fcn.10072734
add esp, 4
mov esp, ebp
pop ebp
ret 0x14