Function at 0x404e54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x70]
push 0x44
push esi
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], esi
call fcn.00430b10
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
add esp, 0xc
mov ebx, esi
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040354c
mov esi, eax
test esi, esi
jns 0x404eb0
push str.Failed_to_get_path_for_current_process.
push esi
call fcn.0044466b
pop ecx
pop ecx
jmp 0x40504c
call fcn.0041a12c
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x404ec3
mov eax, dword [ebp - 0xc]
mov edi, eax
jmp 0x404ef8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebx + 0x48]
push eax
lea eax, [ebx + 0xbc]
push eax
call fcn.0041a132
mov esi, eax
test esi, esi
jns 0x404ef2
push str.Failed_to_cache_to_clean_room.
push esi
call fcn.0044466b
mov ebx, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x40504c
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
push eax
push str.burn.clean.room
lea eax, [ebp - 8]
push str.__ls__ls_
push eax
call fcn.00402099
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x404f1c
push str.Failed_to_allocate_parameters_for_unelevated_process.
jmp 0x404ee2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x48]
call fcn.004171d9
mov esi, eax
test esi, esi
jns 0x404f4a
push str.burn.filehandle.attached
push str.Failed_to_append__ls
push esi
call fcn.0044466b
mov ebx, dword [ebp - 4]
jmp 0x405049
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00417295
mov esi, eax
test esi, esi
jns 0x404f67
push str.burn.filehandle.self
jmp 0x404f37
push dword [ebp + 8]
lea eax, [ebp - 8]
push dword [ebp - 8]
push 0x4510a4
push eax
call fcn.004020db
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x404f8e
push str.Failed_to_append_original_command_line.
jmp 0x404ee2
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push edi
push str.__ls___ls
push eax
call fcn.004020db
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x404fb3
push str.Failed_to_allocate_full_command_line.
jmp 0x404ee2
mov ax, word [ebx + 0x2c]
xor esi, esi
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x44
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40501c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x404ff8
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x404fff
mov esi, 0x80004005
push esi
push 0x1d1
push str.c:_agent_work18_swix_src_burnengineengine.cpp
call fcn.00403953
push dword [ebp - 0x18]
push str.Failed_to_launch_clean_room_process:__ls
jmp 0x404f3c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
lea eax, [ebx + 0xf8]
mov ebx, dword [ebp - 4]
push eax
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x2c], esi
call fcn.00444ecc
mov esi, eax
test esi, esi
jns 0x40504c
push edi
push str.Failed_to_wait_for_clean_room_process:__ls
push esi
call fcn.0044466b
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x40505f
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x10], 0xffffffff
je 0x405072
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 0x14], 0xffffffff
je 0x405085
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x14], 0xffffffff
test ebx, ebx
je 0x405090
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call fcn.004028f5
push dword [ebp - 8]
call fcn.004028f5
cmp dword [ebp - 0x1c], 0
je 0x4050ae
push dword [ebp - 0x1c]
call fcn.004027da
cmp dword [ebp - 0xc], 0
je 0x4050bc
push dword [ebp - 0xc]
call fcn.004027da
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8