Function at 0x482756
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xdc
mov eax, 0x5ec88d
call fcn.0059bbd7
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.004c9d5f
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x48278f
mov edi, 0x63424c
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
lea eax, [ebp - 0x28]
mov edi, 0x6360f8
push eax
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00445efc
add esp, 0xc
xor ecx, ecx
mov edx, eax
inc ecx
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x70]
push edi
call fcn.0041152a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
mov edx, eax
mov dword [esp], 0x63438c
call fcn.0041152a
pop ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00411504
mov byte [ebp - 0x8c], bl
lea ecx, [ebp - 0x40]
push dword [ebp - 0x8c]
mov dword [ebp - 0x30], ebx
push eax
mov dword [ebp - 0x2c], ebx
call fcn.0040b632
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0040b67e
push 8
pop esi
cmp dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
mov edi, str.CreateProcessByCmdEx
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], esi
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push 0x3f5
push edi
push str.__s__d__szExePath:_s__strCmdLine:_s
call fcn.0040a649
add esp, 0x14
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], esi
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48299c
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004352fd
pop ecx
test eax, eax
je 0x48299c
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.sftldr_wow64.dll
call esi
test eax, eax
jne 0x48295e
push str.sftldr.dll
call esi
test eax, eax
jne 0x48295e
call fcn.004cd54c
test al, al
jne 0x48295e
push 0x408
push edi
push str.__s__d___Not_NeedEscapeJob_____
call fcn.0040a649
add esp, 0xc
lea eax, [ebp - 0xe8]
push 0x44
pop esi
push esi
push ebx
push eax
call fcn.005b24a0
xor eax, eax
mov dword [ebp - 0xe8], esi
inc eax
mov dword [ebp - 0xe0], str.Default
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov word [ebp - 0xb8], ax
lea edi, [ebp - 0xa0]
xor eax, eax
lea ecx, [ebp - 0xa0]
cmp dword [ebp - 0x2c], 8
push ecx
stosd dword es:[edi], eax
lea ecx, [ebp - 0xe8]
push ecx
push ebx
push ebx
stosd dword es:[edi], eax
push ebx
push ebx
push ebx
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x9c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [ebp - 0xa0]
call esi
test edi, edi
jne 0x4829a6
push 0x41a
push str.CreateProcessByCmdEx
push str.__s__d___LaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x4829a0
push 0x3fc
push edi
push str.__s__d___NeedEscapeJob_____
call fcn.0040a649
add esp, 0xc
mov dword [ebp - 0x8c], ebx
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x40]
call fcn.0043d474
test al, al
jne 0x4829c2
push 0x400
push edi
push str.__s__d___WmiLaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
mov al, bl
mov bl, al
mov byte [ebp - 0x90], bl
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov al, byte [ebp - 0x90]
call fcn.0059bb81
ret
xor eax, eax
inc eax
jmp 0x48299e