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

Disassembly:
push 0xf4
mov eax, 0x5e9b68
call fcn.00592017
mov dword [ebp - 0xa4], edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0xa8], eax
push edi
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040b155
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c4051
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004302c4
pop ecx
test eax, eax
je 0x4c4051
push 0x859
push str.LaunchExe
push str.__s__d___enter_LaunchExe
call fcn.0040a649
add esp, 0xc
call fcn.004c3599
test eax, eax
je 0x4c3f03
push 0x85c
push str.LaunchExe
push str.__s__d___WmiLaunchProcess_create_process
call fcn.0040a649
add esp, 0xc
lea eax, [ebp - 0x88]
mov esi, 0x62af60
push edi
push esi
push eax
call fcn.00440e2c
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0041151c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
mov edx, eax
mov dword [esp], 0x629244
call fcn.0041151c
pop ecx
mov byte [ebp - 4], 3
mov ecx, eax
push dword [ebp - 0xa4]
call fcn.004114f6
mov byte [ebp - 0xa4], bl
lea ecx, [ebp - 0x58]
push dword [ebp - 0xa4]
mov dword [ebp - 0x48], ebx
push eax
mov dword [ebp - 0x44], ebx
call fcn.0040b62f
lea ecx, [ebp - 0xa0]
call fcn.0040b67b
lea ecx, [ebp - 0x70]
call fcn.0040b67b
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0040b67b
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x58]
call fcn.004383a1
test al, al
jne 0x4c3eda
push 0x861
push str.LaunchExe
push str.__s__d___WmiLaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x4c3ef6
push 0x864
push str.LaunchExe
push str.__s__d___LaunchExe_return_true
call fcn.0040a649
add esp, 0xc
xor edi, edi
lea ebx, [edi + 1]
lea ecx, [ebp - 0x58]
call fcn.0040b67b
jmp 0x4c406b
push 0x44
pop edi
push edi
lea eax, [ebp - 0x100]
push ebx
push eax
call fcn.005a88e0
xor eax, eax
mov dword [ebp - 0x100], edi
inc eax
mov dword [ebp - 0xf8], str.Default
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push 0x62af60
push eax
call fcn.00440e2c
add esp, 0xc
push 0x650518
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0041151c
pop ecx
mov byte [ebp - 4], 9
mov ecx, eax
push dword [ebp - 0xa4]
call fcn.004114f6
mov byte [ebp - 0xa4], bl
lea ecx, [ebp - 0x40]
push dword [ebp - 0xa4]
mov dword [ebp - 0x30], ebx
push eax
mov dword [ebp - 0x2c], ebx
call fcn.0040b62f
lea ecx, [ebp - 0x88]
call fcn.0040b67b
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.0040b67b
xor eax, eax
lea edi, [ebp - 0xb8]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0xb8]
push ecx
stosd dword es:[edi], eax
lea ecx, [ebp - 0x100]
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]
test eax, eax
je 0x4c4046
push 0x877
push str.LaunchExe
push str.__s__d___enter_wait
call fcn.0040a649
add esp, 0xc
cmp dword [ebp + 8], 0
jbe 0x4c4009
push dword [ebp + 8]
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x4c402b
push esi
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor edi, edi
inc edi
test eax, eax
jne 0x4c402e
mov dword [esi], edi
jmp 0x4c402e
xor edi, edi
inc edi
push dword [ebp - 0xb4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xb8]
call esi
mov esi, edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.0040b67b
push esi
push 0x888
push str.LaunchExe
push str.__s__d___LaunchExe_return_bRet_d
call fcn.0040a649
add esp, 0x10
mov ebx, esi
lea ecx, [ebp - 0x28]
call fcn.0040b67b
mov eax, ebx
call fcn.00591fc1
ret