Function at 0x10119904
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
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
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
cmp dword [0x10215770], 0
jne 0x10119bbf
mov dword [ebp - 0x28], esp
push str.ntdll.dll
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10119987
push 0x4f
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov dword [0x10215770], eax
cmp dword [0x10215770], 0
je 0x10119bbf
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.10158d80
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x101199ce
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], esp
push 0x100
push dword [ebp - 4]
push dword [0x10215770]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10119a09
push 0x102
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jle 0x10119bbf
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10119a29
mov eax, 0x101a6ad8
push eax
push 1
mov ebx, 0x268
call fcn.1015ccc0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10119a53
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10119ec0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x10119bbf
mov dword [ebp - 0x28], esp
push 0x40
push 0x1000
push dword [ebp - 0xc]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10119aac
push 0x210
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov dword [0x10215774], eax
cmp dword [0x10215774], 0
je 0x10119bbf
mov dword [ebp - 0x28], esp
push str.kernel32.dll
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10119aec
push 0x29f
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push str.VirtualProtect
push dword [ebp - 0x2c]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10119b20
push 0x29f
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], esp
push str.RtlMoveMemory
push dword [0x10215770]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10119b57
push 0x2f3
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [0x10215774]
lea eax, [ebp - 8]
push eax
call fcn.10119f18
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10119bbf
mov dword [ebp - 0x28], esp
push 0x8000
push 0
push dword [0x10215774]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10119bb5
push 0x379
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov dword [0x10215774], 0
cmp dword [0x10215774], 0
je 0x10119bdd
cmp dword [0x10215770], 0
je 0x10119bdd
xor eax, eax
jmp 0x10119be2
mov eax, 1
test eax, eax
je 0x10119bf4
mov eax, 0
jmp 0x10119e98
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [0x10215770]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10119c30
push 0x4fb
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
jne 0x10119c53
mov eax, 0
jmp 0x10119e98
push dword [ebp + 0xc]
push dword [0x10215774]
call fcn.1011a044
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10119c78
mov eax, 0
jmp 0x10119e98
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
push 0x80000301
push 0
push 5
push 0x80000301
push 0
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.101586b0
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10119ce1
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x28], ebx
push 5
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call fcn.1011a138
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fsub qword [0x10213be4]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.1000121c
push eax
push 5
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call fcn.1011a188
push reloc.OLEAUT32.dll_SysStringLen
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x9dc
call fcn.10158ca0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
fild dword [ebp - 0x28]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fsub qword [0x10213be4]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.1000121c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x24]
push eax
push 0x40
push 5
mov ebx, dword [ebp - 0x28]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10119dec
push 0x856
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x10119e20
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, 0
jmp 0x10119e98
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x20]
push 0
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call fcn.1011a188
cmp dword [ebp - 0x24], 0x40
je 0x10119e8e
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esp
mov eax, 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x24]
push 5
mov ebx, dword [ebp - 0x28]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10119e8e
push 0x943
push 0x436a90f
push 6
call fcn.101571f7
add esp, 0xc
mov eax, 1
jmp 0x10119e98
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10119ea9
push ebx
call fcn.1015720f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10119eb9
push ebx
call fcn.1015720f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10