Function at 0x42dc70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
mov ebx, eax
push 0x44
lea eax, [ebp - 0x84]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 8], esi
call fcn.00430b10
xor eax, eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x18]
mov dword [ebp - 0x34], esi
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push 6
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00415478
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00415508
mov esi, eax
test esi, esi
jns 0x42dcf3
push str.Failed_to_create_embedded_pipe_name_and_client_token.
push esi
call fcn.0044466b
pop ecx
pop ecx
xor edi, edi
jmp 0x42de1a
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.00415654
mov esi, eax
test esi, esi
jns 0x42dd1b
push str.Failed_to_create_embedded_pipe.
push esi
call fcn.0044466b
pop ecx
pop ecx
jmp 0x42de1a
push ebx
push dword [ebp - 0x2c]
lea eax, [ebp - 8]
push dword [ebp - 0x30]
push str.burn.embedded
push dword [ebp + 0xc]
push str._ls___ls__ls__ls__u
push eax
call fcn.004020db
mov esi, eax
add esp, 0x1c
test esi, esi
jns 0x42dd48
push str.Failed_to_allocate_embedded_command.
jmp 0x42dd0e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
push edi
push 0x8000000
push 1
push edi
push edi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42dda3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42dd85
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x42dd8c
mov esi, 0x80004005
push esi
push 0x4c
push str.c:_agent_work18_swix_src_burnengineembedded.cpp
call fcn.00403953
push dword [ebp + 8]
push str.Failed_to_create_embedded_process_at_path:__ls
jmp 0x42de11
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x18], edi
call fcn.00415c52
mov esi, eax
test esi, esi
jns 0x42ddd1
push str.Failed_to_wait_for_embedded_process_to_connect_to_pipe.
jmp 0x42dd0e
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x42dbd0
push dword [ebp - 0x20]
call fcn.0041591d
mov esi, eax
test esi, esi
jns 0x42ddf6
push str.Failed_to_process_messages_from_embedded_message.
jmp 0x42dd0e
push dword [ebp + 0x18]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call fcn.00444ecc
mov esi, eax
test esi, esi
jns 0x42de1a
push dword [ebp + 8]
push str.Failed_to_wait_for_embedded_executable:__ls
push esi
call fcn.0044466b
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x42de2c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x18], 0
je 0x42de3e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], edi
push dword [ebp - 8]
call fcn.004028f5
cmp dword [ebp - 4], 0
je 0x42de58
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], edi
lea eax, [ebp - 0x30]
push eax
call fcn.00415497
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14