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

Disassembly:
push 0xf4
mov eax, 0x5f473a
call fcn.0059bbd7
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 0x4cd2c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004352fd
pop ecx
test eax, eax
je 0x4cd2c0
push 0x8bc
push str.LaunchExe
push str.__s__d___enter_LaunchExe
call fcn.0040a649
add esp, 0xc
call fcn.004cc6fd
test eax, eax
je 0x4cd172
push 0x8bf
push str.LaunchExe
push str.__s__d___WmiLaunchProcess_create_process
call fcn.0040a649
add esp, 0xc
lea eax, [ebp - 0x88]
mov esi, 0x6360f8
push edi
push esi
push eax
call fcn.00445efc
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0041152a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
mov edx, eax
mov dword [esp], 0x63438c
call fcn.0041152a
pop ecx
mov byte [ebp - 4], 3
mov ecx, eax
push dword [ebp - 0xa4]
call fcn.00411504
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.0043d474
test al, al
jne 0x4cd149
push 0x8c4
push str.LaunchExe
push str.__s__d___WmiLaunchProcess_excute_failed
call fcn.0040a649
add esp, 0xc
jmp 0x4cd165
push 0x8c7
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 0x4cd2da
push 0x44
pop edi
push edi
lea eax, [ebp - 0x100]
push ebx
push eax
call fcn.005b24a0
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 0x6360f8
push eax
call fcn.00445efc
add esp, 0xc
push 0x65cad8
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0041152a
pop ecx
mov byte [ebp - 4], 9
mov ecx, eax
push dword [ebp - 0xa4]
call fcn.00411504
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 0x4cd2b5
push 0x8da
push str.LaunchExe
push str.__s__d___enter_wait
call fcn.0040a649
add esp, 0xc
cmp dword [ebp + 8], 0
jbe 0x4cd278
push dword [ebp + 8]
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x4cd29a
push esi
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor edi, edi
inc edi
test eax, eax
jne 0x4cd29d
mov dword [esi], edi
jmp 0x4cd29d
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 0x8eb
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.0059bb81
ret