Function at 0x4927a0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5670ed
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x244]
call fcn.0040f990
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x238], esp
mov dword [ebp - 0x234], 0
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.Interface
mov byte [ecx], 0
call fcn.0040a4a0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, esp
push 0x11
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.LocalScalePercent
mov byte [ecx], 0
call fcn.0040a4a0
mov esi, dword [ebp - 0x244]
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00414860
cmp dword [ebp - 0x234], 0
jne 0x492bc5
sub esp, 0x18
mov dword [ebp - 0x234], 0
mov ecx, esp
mov dword [ebp - 0x23c], esp
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.Interface
mov byte [ecx], 0
call fcn.0040a4a0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
mov ecx, esp
push 0x12
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.GlobalScalePercent
mov byte [ecx], 0
call fcn.0040a4a0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00414860
sub esp, 0x18
mov dword [ebp - 0x238], 0
mov ecx, esp
mov dword [ebp - 0x23c], esp
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.Interface
mov byte [ecx], 0
call fcn.0040a4a0
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 3
push eax
sub esp, 0x18
mov ecx, esp
push 0xc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.ScalePercent
mov byte [ecx], 0
call fcn.0040a4a0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00414860
mov eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0x238]
je 0x492bc5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x240], esp
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.Interface
mov byte [ecx], 0
call fcn.0040a4a0
push dword [ebp - 0x234]
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
push 0xc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.ScalePercent
mov byte [ecx], 0
call fcn.0040a4a0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.004189b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x240], esp
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.Interface
mov byte [ecx], 0
call fcn.0040a4a0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push 0xc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.ScalePercent
mov byte [ecx], 0
call fcn.0040a4a0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00417ff0
push 0x2b
push 0x579500
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040a4a0
push 0x38
push 0x57952c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
call fcn.0040a340
push 0x17
push 0x579568
lea ecx, [ebp - 0x230]
call fcn.0040a340
mov edx, dword [0x5c875c]
cmp edx, dword [0x5c8760]
je 0x492a68
mov ecx, 0x44
test edx, edx
jne 0x492a6d
mov ecx, 0x40044
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push ecx
cmovae eax, dword [ebp - 0x230]
push 0x574f18
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x492bb3
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
mov dword [ebp - 0x288], 0x44
xor eax, eax
movlpd qword [ebp - 0x284], xmm0
cmp byte [ebp - 0x114], 0
mov word [ebp - 0x246], ax
mov eax, 0xa
movlpd qword [ebp - 0x27c], xmm0
movlpd qword [ebp - 0x274], xmm0
movlpd qword [ebp - 0x26c], xmm0
movlpd qword [ebp - 0x264], xmm0
movlpd qword [ebp - 0x256], xmm0
movlpd qword [ebp - 0x24e], xmm0
mov dword [ebp - 0x25c], 1
mov word [ebp - 0x258], ax
movups xmmword [ebp - 0x298], xmm0
je 0x492b95
cmp byte [ebp - 0x218], 0
je 0x492b95
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
push 0
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x230]
xor edi, edi
call fcn.00408f00
jmp 0x492bca
lea ecx, [ebp - 0x230]
mov edi, 1
call fcn.00408f00
jmp 0x492bca
mov edi, 1
test esi, esi
je 0x492c11
push 0x5c8648
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5c8664]
test eax, eax
je 0x492c06
sub eax, 1
mov dword [0x5c8664], eax
jne 0x492c06
mov ecx, dword [0x5c8660]
test ecx, ecx
je 0x492c06
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x5c8660], 0
push 0x5c8648
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret