Function at 0x41f630
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 [0xab183c], 0
jne 0x41f8c8
mov dword [ebp - 0x28], esp
push 0x6ebf88
call sub.KERNEL32.dll_LoadLibraryA_1
cmp dword [ebp - 0x28], esp
je 0x41f6ae
push 0x4f
push 0x4027fa4
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [0xab183c], eax
cmp dword [0xab183c], 0
je 0x41f8c8
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x4810d0
call fcn.0047f8ff
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f6f5
push ebx
call fcn.0047f8ed
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], esp
push 0x100
push dword [ebp - 4]
push dword [0xab183c]
call sub.KERNEL32.dll_GetModuleFileNameA_1
cmp dword [ebp - 0x28], esp
je 0x41f72b
push 0x102
push 0x4027fa4
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jle 0x41f8c8
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41f74b
mov eax, 0x6d5268
push eax
push 1
mov ebx, 0x481bc0
call fcn.0047f8ff
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f775
push ebx
call fcn.0047f8ed
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041f3e4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x41f8c8
mov dword [ebp - 0x28], esp
push 0x40
push 0x1000
push dword [ebp - 0xc]
push 0
call sub.KERNEL32.dll_VirtualAlloc_1
cmp dword [ebp - 0x28], esp
je 0x41f7c9
push 0x210
push 0x4027fa4
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [0xab1840], eax
cmp dword [0xab1840], 0
je 0x41f8c8
mov dword [ebp - 0x28], esp
push 0x6ebfc4
call sub.KERNEL32.dll_LoadLibraryA_1
cmp dword [ebp - 0x28], esp
je 0x41f804
push 0x29f
push 0x4027fa4
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0x934ccc
push dword [ebp - 0x2c]
call sub.KERNEL32.dll_GetProcAddress_1
cmp dword [ebp - 0x30], esp
je 0x41f833
push 0x29f
push 0x4027fa4
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], esp
push 0x934cdc
push dword [0xab183c]
call sub.KERNEL32.dll_GetProcAddress_1
cmp dword [ebp - 0x28], esp
je 0x41f865
push 0x2f3
push 0x4027fa4
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [0xab1840]
lea eax, [ebp - 8]
push eax
call fcn.0041fbbc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41f8c8
mov dword [ebp - 0x28], esp
push 0x8000
push 0
push dword [0xab1840]
call sub.KERNEL32.dll_VirtualFree_1
cmp dword [ebp - 0x28], esp
je 0x41f8be
push 0x379
push 0x4027fa4
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [0xab1840], 0
cmp dword [0xab1840], 0
je 0x41f8e6
cmp dword [0xab183c], 0
je 0x41f8e6
xor eax, eax
jmp 0x41f8eb
mov eax, 1
test eax, eax
je 0x41f8fd
mov eax, 0
jmp 0x41fb92
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 [0xab183c]
call sub.KERNEL32.dll_GetProcAddress_1
cmp dword [ebp - 0x2c], esp
je 0x41f934
push 0x4fb
push 0x4027fa4
push 6
call fcn.0047f8f3
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 0x41f957
mov eax, 0
jmp 0x41fb92
push dword [ebp + 0xc]
push dword [0xab1840]
call fcn.0041fce8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41f97c
mov eax, 0
jmp 0x41fb92
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, 0x4821e0
call fcn.0047f8ff
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 0x41f9e5
push ebx
call fcn.0047f8ed
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.0041fddc
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 [0x934db0]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00401fac
push eax
push 5
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call fcn.0041fe2c
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 - 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 [0x934db0]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00401fac
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]
call sub.KERNEL32.dll_VirtualProtect_1
cmp dword [ebp - 0x2c], esp
je 0x41faeb
push 0x856
push 0x4027fa4
push 6
call fcn.0047f8f3
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41fb1f
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 0x41fb92
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.0041fe2c
cmp dword [ebp - 0x24], 0x40
je 0x41fb88
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]
call sub.KERNEL32.dll_VirtualProtect_1
cmp dword [ebp - 0x2c], esp
je 0x41fb88
push 0x943
push 0x4027fa4
push 6
call fcn.0047f8f3
add esp, 0xc
mov eax, 1
jmp 0x41fb92
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41fba3
push ebx
call fcn.0047f8ed
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41fbb3
push ebx
call fcn.0047f8ed
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10