Function at 0x40c14d
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x68]
push edi
push 0x44
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00430b10
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40c216
cmp word [eax], bx
je 0x40c216
push ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp + 8]
call fcn.004076b3
mov esi, eax
test esi, esi
jns 0x40c1bc
push str.Failed_to_format_argument_string.
push esi
call fcn.0044466b
pop ecx
pop ecx
jmp 0x40c310
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push dword [edi + 8]
push str.__ls___s
push eax
call fcn.004020db
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40c1e0
push str.Failed_to_create_executable_command.
jmp 0x40c1af
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [edi + 0xc]
push dword [ebp + 8]
call fcn.004076cd
mov esi, eax
test esi, esi
jns 0x40c1fd
push str.Failed_to_format_obfuscated_argument_string.
jmp 0x40c1af
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push dword [edi + 8]
push str.__ls___s
push eax
call fcn.00402099
add esp, 0x10
jmp 0x40c244
push dword [edi + 8]
lea eax, [ebp - 0x10]
push str.__ls_
push eax
call fcn.00402099
mov esi, eax
add esp, 0xc
test esi, esi
js 0x40c1d9
push dword [edi + 8]
lea eax, [ebp - 8]
push str.__ls_
push eax
call fcn.00402099
add esp, 0xc
mov esi, eax
test esi, esi
jns 0x40c254
push str.Failed_to_create_obfuscated_executable_command.
jmp 0x40c1af
lea eax, [ebp - 4]
push eax
push dword [edi + 8]
call fcn.004035bb
mov esi, eax
test esi, esi
jns 0x40c276
cmp dword [ebp - 4], ebx
je 0x40c276
push dword [ebp - 4]
call fcn.004027da
mov dword [ebp - 4], ebx
push dword [ebp - 8]
push dword [edi + 8]
push 0x2000025a
push 2
call fcn.00405721
add esp, 0x10
mov dword [ebp - 0x68], 0x44
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 4]
push ebx
push 0x200
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40c2f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40c2cd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x40c2d4
mov esi, 0x80004005
push esi
push 0xbe
push str.c:_agent_work18_swix_src_burnengine_approvedexe.cpp
call fcn.00403953
push dword [edi + 8]
push str.Failed_to_CreateProcess_on_path:__ls
push esi
call fcn.0044466b
add esp, 0xc
jmp 0x40c310
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
cmp dword [edi + 0x10], ebx
je 0x40c310
push dword [edi + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x14]
call fcn.004028f5
cmp dword [ebp - 0xc], ebx
je 0x40c325
push dword [ebp - 0xc]
call fcn.004027da
push dword [ebp - 0x10]
call fcn.004028f5
cmp dword [ebp - 8], ebx
je 0x40c33a
push dword [ebp - 8]
call fcn.004027da
cmp dword [ebp - 4], ebx
je 0x40c347
push dword [ebp - 4]
call fcn.004027da
cmp dword [ebp - 0x20], ebx
je 0x40c358
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x24], ebx
je 0x40c366
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc