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

Disassembly:
push 0xdc
mov eax, 0x5e3f0a
call fcn.00593b07
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.004c2598
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x47c45e
mov edi, 0x62b0fc
push edi
call fcn.005baec0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
lea eax, [ebp - 0x28]
mov edi, 0x62cf58
push eax
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00440e2c
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.0041151f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
mov edx, eax
mov dword [esp], 0x62b23c
call fcn.0041151f
pop ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004114f9
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 0x3f4
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 0x47c66b
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004302c7
pop ecx
test eax, eax
je 0x47c66b
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.sftldr_wow64.dll
call esi
test eax, eax
jne 0x47c62d
push str.sftldr.dll
call esi
test eax, eax
jne 0x47c62d
call fcn.004c5a14
test al, al
jne 0x47c62d
push 0x407
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.005aa3d0
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 0x47c675
push 0x419
push str.CreateProcessByCmdEx
push str.__s__d___LaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x47c66f
push 0x3fb
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.004383a4
test al, al
jne 0x47c691
push 0x3ff
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.00593ab1
ret
xor eax, eax
inc eax
jmp 0x47c66d