Function at 0x4192a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
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
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
cmp dword [0xab17a0], 0
jne 0x41954c
mov dword [ebp - 0x30], esp
push 0x6ebf88
call sub.KERNEL32.dll_LoadLibraryA_1
cmp dword [ebp - 0x30], esp
je 0x419334
push 0x62
push 0x4019780
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41954c
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x4810d0
call fcn.0047f8ff
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419376
push ebx
call fcn.0047f8ed
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], esp
push 0x100
push dword [ebp - 8]
push dword [ebp - 4]
call sub.KERNEL32.dll_GetModuleFileNameA_1
cmp dword [ebp - 0x30], esp
je 0x4193a9
push 0x128
push 0x4019780
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jle 0x41954c
push OleUIBusyA
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4193c9
mov eax, 0x6d5268
push eax
push 1
mov ebx, 0x481bc0
call fcn.0047f8ff
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4193f3
push ebx
call fcn.0047f8ed
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418f68
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x41954c
mov dword [ebp - 0x30], esp
push 0x40
push 0x1000
push dword [ebp - 0x10]
push 0
call sub.KERNEL32.dll_VirtualAlloc_1
cmp dword [ebp - 0x30], esp
je 0x419447
push 0x25c
push 0x4019780
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [0xab17a4], eax
cmp dword [0xab17a4], 0
je 0x41954c
mov dword [ebp - 0x30], esp
push 0x6ebfc4
call sub.KERNEL32.dll_LoadLibraryA_1
cmp dword [ebp - 0x30], esp
je 0x419482
push 0x2fe
push 0x4019780
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, 0x934ccc
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
call fcn.00418fc0
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4194ac
push ebx
call fcn.0047f8ed
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, 0x934cdc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 4]
call fcn.00418fc0
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4194d9
push ebx
call fcn.0047f8ed
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [0xab17a4]
lea eax, [ebp - 0xc]
push eax
call fcn.004198e0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x419544
mov dword [ebp - 0x30], esp
push 0x8000
push 0
push dword [0xab17a4]
call sub.KERNEL32.dll_VirtualFree_1
cmp dword [ebp - 0x30], esp
je 0x419535
push 0x3d9
push 0x4019780
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [0xab17a4], 0
jmp 0x41954c
mov eax, dword [ebp - 4]
mov dword [0xab17a0], eax
cmp dword [0xab17a4], 0
je 0x41956a
cmp dword [0xab17a0], 0
je 0x41956a
xor eax, eax
jmp 0x41956f
mov eax, 1
test eax, eax
je 0x419581
mov eax, 0
jmp 0x4198b5
push dword [ebp + 8]
call fcn.00419a0c
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x419639
mov dword [ebp - 0x30], esp
call sub.KERNEL32.dll_GetProcessHeap_1
cmp dword [ebp - 0x30], esp
je 0x4195ba
push 0x5f5
push 0x4019780
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0x10
push 8
push dword [ebp - 0x34]
mov eax, 0
call fcn.0047f905
cmp dword [ebp - 0x38], esp
je 0x4195f3
push 0x5f5
push 0x4019780
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41960a
mov eax, 0
jmp 0x4198b5
push dword [ebp + 8]
call fcn.00419a28
mov dword [ebp - 0x30], eax
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x30]
call fcn.00419a44
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 1
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
push dword [ebp + 0xc]
push dword [0xab17a0]
call fcn.00418fc0
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0
jne 0x419672
mov eax, 0
jmp 0x4198b5
push dword [ebp + 0xc]
push dword [0xab17a4]
call fcn.00418fc0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x419697
mov eax, 0
jmp 0x4198b5
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
push 0x80000301
push 0
push 5
push 0x80000301
push 0
mov ebx, dword [ebp - 0x34]
push dword [ebx]
push 2
mov ebx, 0x4821e0
call fcn.0047f8ff
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x419702
push ebx
call fcn.0047f8ed
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x30], ebx
push 5
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call fcn.00419a5c
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fsub qword [0x934db0]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.00401fac
push eax
push 5
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call fcn.00419aac
push reloc.oleaut32.dll_SysStringLen
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x480680
call fcn.0047f8ff
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
fild dword [ebp - 0x30]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x44]
fsub qword [ebp - 0x44]
fsub qword [0x934db0]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.00401fac
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x2c]
push eax
push 0x40
push 5
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call sub.KERNEL32.dll_VirtualProtect_1
cmp dword [ebp - 0x34], esp
je 0x419808
push 0xa72
push 0x4019780
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x41983c
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov eax, 0
jmp 0x4198b5
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x28]
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call fcn.00419aac
cmp dword [ebp - 0x2c], 0x40
je 0x4198a5
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
mov eax, 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x2c]
push 5
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call sub.KERNEL32.dll_VirtualProtect_1
cmp dword [ebp - 0x34], esp
je 0x4198a5
push 0xb85
push 0x4019780
push 6
call fcn.0047f8f3
add esp, 0xc
mov ebx, dword [ebp + 0x14]
add dword [ebx], 0x10
mov eax, 1
jmp 0x4198b5
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4198c6
push ebx
call fcn.0047f8ed
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4198d6
push ebx
call fcn.0047f8ed
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10