Function at 0x424743
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.00426ad0
xor eax, eax
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x18]
mov dword [ebp - 0x3c], 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 - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040f282
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040f30a
mov esi, eax
test esi, esi
jns 0x4247bf
push str.Failed_to_create_embedded_pipe_name_and_client_token.
jmp 0x424806
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.0040f451
mov esi, eax
test esi, esi
jns 0x4247db
push str.Failed_to_create_embedded_pipe.
jmp 0x424806
push ebx
push dword [ebp - 0x34]
lea eax, [ebp - 8]
push dword [ebp - 0x38]
push str.burn.embedded
push dword [ebp + 0xc]
push str._ls___ls__ls__ls__u
push eax
call fcn.00437bd9
mov esi, eax
add esp, 0x1c
test esi, esi
jns 0x424815
push str.Failed_to_allocate_embedded_command.
push esi
call fcn.004348ae
pop ecx
pop ecx
xor ebx, ebx
jmp 0x4248ea
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x424871
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x59
push str.embedded.cpp
call fcn.00433f1c
push dword [ebp + 8]
push str.Failed_to_create_embedded_process_atpath:__ls
jmp 0x4248e1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x18], ebx
call fcn.0040fb1f
mov esi, eax
test esi, esi
jns 0x42489c
push str.Failed_to_wait_for_embedded_process_to_connect_to_pipe.
jmp 0x4248bc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4246a5
push dword [ebp - 0x28]
call fcn.0040f7e3
mov esi, eax
test esi, esi
jns 0x4248c6
push str.Failed_to_process_messages_from_embedded_message.
push esi
call fcn.004348ae
pop ecx
pop ecx
jmp 0x4248ea
push dword [ebp + 0x18]
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call fcn.00435e12
mov esi, eax
test esi, esi
jns 0x4248ea
push dword [ebp + 8]
push str.Failed_to_wait_for_embedded_executable:__ls
push esi
call fcn.004348ae
add esp, 0xc
cmp dword [ebp - 0x14], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4248fe
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], 0
je 0x42490c
push dword [ebp - 0x18]
call edi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 8], 0
je 0x42491a
push dword [ebp - 8]
call fcn.0043bfd9
cmp dword [ebp - 4], 0
je 0x424928
push dword [ebp - 4]
call edi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040f29f
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14