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

Disassembly:
push 0xdc
mov eax, 0x5e22a4
call fcn.00592017
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.004c0e61
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x47b94a
mov edi, 0x629104
push edi
call fcn.005b93d0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
lea eax, [ebp - 0x28]
mov edi, 0x62af60
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.0041151c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
mov edx, eax
mov dword [esp], 0x629244
call fcn.0041151c
pop ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004114f6
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.0040b62f
lea ecx, [ebp - 0x58]
call fcn.0040b67b
lea ecx, [ebp - 0x70]
call fcn.0040b67b
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0040b67b
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 0x3df
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 0x47bb57
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004302c4
pop ecx
test eax, eax
je 0x47bb57
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.sftldr_wow64.dll
call esi
test eax, eax
jne 0x47bb19
push str.sftldr.dll
call esi
test eax, eax
jne 0x47bb19
call fcn.0047b440
test al, al
jne 0x47bb19
push 0x3f2
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.005a88e0
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 0x47bb61
push 0x404
push str.CreateProcessByCmdEx
push str.__s__d___LaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x47bb5b
push 0x3e6
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.004383a1
test al, al
jne 0x47bb7d
push 0x3ea
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.0040b67b
lea ecx, [ebp - 0x28]
call fcn.0040b67b
mov al, byte [ebp - 0x90]
call fcn.00591fc1
ret
xor eax, eax
inc eax
jmp 0x47bb59