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

Disassembly:
push 0xf4
mov eax, 0x5eb938
call fcn.00593b07
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 0x4c5788
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004302c7
pop ecx
test eax, eax
je 0x4c5788
push 0x859
push str.LaunchExe
push str.__s__d___enter_LaunchExe
call fcn.0040a649
add esp, 0xc
call fcn.004c4cd0
test eax, eax
je 0x4c563a
push 0x85c
push str.LaunchExe
push str.__s__d___WmiLaunchProcess_create_process
call fcn.0040a649
add esp, 0xc
lea eax, [ebp - 0x88]
mov esi, 0x62cf58
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.0041151f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
mov edx, eax
mov dword [esp], 0x62b23c
call fcn.0041151f
pop ecx
mov byte [ebp - 4], 3
mov ecx, eax
push dword [ebp - 0xa4]
call fcn.004114f9
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.0040b632
lea ecx, [ebp - 0xa0]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0040b67e
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x58]
call fcn.004383a4
test al, al
jne 0x4c5611
push 0x861
push str.LaunchExe
push str.__s__d___WmiLaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x4c562d
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.0040b67e
jmp 0x4c57a2
push 0x44
pop edi
push edi
lea eax, [ebp - 0x100]
push ebx
push eax
call fcn.005aa3d0
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 0x62cf58
push eax
call fcn.00440e2c
add esp, 0xc
push 0x6527e0
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0041151f
pop ecx
mov byte [ebp - 4], 9
mov ecx, eax
push dword [ebp - 0xa4]
call fcn.004114f9
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.0040b632
lea ecx, [ebp - 0x88]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.0040b67e
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 0x4c577d
push 0x877
push str.LaunchExe
push str.__s__d___enter_wait
call fcn.0040a649
add esp, 0xc
cmp dword [ebp + 8], 0
jbe 0x4c5740
push dword [ebp + 8]
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x4c5762
push esi
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor edi, edi
inc edi
test eax, eax
jne 0x4c5765
mov dword [esi], edi
jmp 0x4c5765
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.0040b67e
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.0040b67e
mov eax, ebx
call fcn.00593ab1
ret