Function at 0x4258d5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push 0x44
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x88]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call fcn.004284d0
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
add esp, 0xc
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040285d
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov edi, str.burn.embedded.async
cmp dword [ebp + 0x10], esi
jne 0x425949
mov edi, str.burn.embedded
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004028e3
mov ebx, eax
cmp ebx, esi
jge 0x425966
push str.Failed_to_create_embedded_pipe_name_and_client_token.
jmp 0x425a5b
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.004035ad
mov ebx, eax
cmp ebx, esi
jge 0x425984
push str.Failed_to_create_embedded_pipe.
jmp 0x425a5b
push dword [ebp - 0x3c]
lea eax, [ebp - 8]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
push dword [ebp + 0xc]
push str._ls___ls__ls__ls__u
push eax
call fcn.00431d32
mov ebx, eax
add esp, 0x1c
cmp ebx, esi
jge 0x4259b2
push str.Failed_to_allocate_embedded_command.
jmp 0x425a5b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x88]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x425a10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x4259eb
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, esi
jl 0x4259f6
mov ebx, 0x80004005
push ebx
push 0x82
push str.embedded.cpp
call fcn.00432f06
push dword [ebp + 8]
push str.Failed_to_create_embedded_process_atpath:__ls
jmp 0x425a8a
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], esi
call 0x402bc3
mov ebx, eax
cmp ebx, esi
jge 0x425a3b
push str.Failed_to_wait_for_embedded_process_to_connect_to_pipe.
jmp 0x425a5b
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x425839
push dword [ebp - 0x20]
call fcn.004033b9
mov ebx, eax
cmp ebx, esi
jge 0x425a65
push str.Failed_to_process_messages_from_embedded_message.
push ebx
call fcn.00430126
pop ecx
pop ecx
jmp 0x425a93
cmp dword [ebp + 0x1c], esi
je 0x425a93
cmp dword [ebp + 0x10], esi
jne 0x425a93
push dword [ebp + 0x1c]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call fcn.004306d3
mov ebx, eax
cmp ebx, esi
jge 0x425a93
push dword [ebp + 8]
push str.Failed_to_wait_for_embedded_executable:__ls
push ebx
call fcn.00430126
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], esi
je 0x425aa6
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x18], esi
je 0x425ab3
push dword [ebp - 0x18]
call edi
mov dword [ebp - 0x18], esi
cmp dword [ebp - 8], esi
je 0x425ac0
push dword [ebp - 8]
call fcn.00430887
cmp dword [ebp - 4], esi
je 0x425acd
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
call fcn.0040287a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x18