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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef23d
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5299c0]
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.00410d00
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.00403090
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.00403090
mov esi, dword [ebp - 0x244]
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00415540
cmp dword [ebp - 0x234], 0
jne 0x4607ca
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.00403090
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.00403090
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00415540
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.00403090
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.00403090
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00415540
mov eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0x238]
je 0x4607ca
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.00403090
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.00403090
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.004196e0
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.00403090
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.00403090
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00418d20
push 0x2b
push 0x4fbf7c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00403090
push 0x38
push 0x4fbfa8
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
call fcn.00402f30
push 0x17
push 0x4fbfe4
lea ecx, [ebp - 0x230]
call fcn.00402f30
mov edx, dword [0x53490c]
cmp edx, dword [0x534910]
je 0x460628
mov ecx, 0x44
test edx, edx
jne 0x46062d
mov ecx, 0x40044
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push ecx
cmovae eax, dword [ebp - 0x230]
push 0x4fbffc
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x4607b8
mov eax, dword [edi + 0x398]
test eax, eax
je 0x460689
mov eax, dword [eax]
test eax, eax
je 0x460689
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [edi + 0x398]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x398]
mov dword [eax], 0
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c3810
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.004c3810
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 0x460786
cmp byte [ebp - 0x218], 0
je 0x460786
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]
mov dword [edi + 0x380], 1
mov dword [edi + 0x384], 1
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x230]
xor edi, edi
call fcn.00401e30
jmp 0x4607cf
lea ecx, [ebp - 0x230]
mov edi, 1
call fcn.00401e30
jmp 0x4607cf
mov edi, 1
test esi, esi
je 0x460816
push 0x534828
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5348a4]
test eax, eax
je 0x46080b
sub eax, 1
mov dword [0x5348a4], eax
jne 0x46080b
mov ecx, dword [0x5348a0]
test ecx, ecx
je 0x46080b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x5348a0], 0
push 0x534828
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.004ab970
mov esp, ebp
pop ebp
ret