Function at 0x419c40
Capabilities:
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468d50
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x487274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x10]
push 3
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x108]
push eax
push 3
mov dword [ebp - 0x9c], 0
push 0xc0000000
push 0x46d758
mov dword [ebp - 0x108], 0xc
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0xa4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
mov dword [ebp - 0x98], ecx
cmp ecx, 0xffffffff
je 0x41a6d1
mov eax, dword [ebp - 0xb0]
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xa4]
push 0xfffffffffffffff4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call esi
push 0xfffffffffffffff5
mov edi, eax
call esi
push 0xfffffffffffffff6
mov dword [ebp - 0xc0], eax
call esi
push 0
push edi
sub esp, 0x18
mov dword [ebp - 0xac], eax
mov esi, esp
push 9
push str.std_error
push esi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 9
call fcn.004448c0
add esp, 0xc
mov byte [esi + 9], 0
call fcn.0041aa20
add esp, 0x20
push 0
push dword [ebp - 0xc0]
sub esp, 0x18
mov esi, esp
push 0xa
push str.std_output
push esi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 0xa
call fcn.004448c0
add esp, 0xc
mov byte [esi + 0xa], 0
call fcn.0041aa20
add esp, 0x20
push 0
push dword [ebp - 0xac]
sub esp, 0x18
mov esi, esp
push 9
push str.std_input
push esi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 9
call fcn.004448c0
add esp, 0xc
mov byte [esi + 9], 0
call fcn.0041aa20
movq xmm0, qword [str.std_error]
add esp, 0x20
mov al, byte [0x46d784]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 9
movq qword [ebp - 0x34], xmm0
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], 0
push 0x1018
push 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x419eb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a740
add esp, 4
lea ecx, [ebp - 0x20c]
push 1
call fcn.0040a530
push esi
push 0x46d9a8
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1fc]
push str.CreatePipe_failed_for
push eax
call fcn.00401400
add esp, 8
push eax
call fcn.004054e0
add esp, 8
push eax
call fcn.00401400
add esp, 8
mov ecx, eax
call fcn.00402830
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x20c]
call fcn.004123d0
push esi
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
call fcn.00418c60
add esp, 0xc
mov byte [ebp - 4], 5
jmp 0x41a705
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x419eed
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419ee3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a71c
push edx
push ecx
call fcn.0042cf26
add esp, 8
push 1
push dword [ebp - 0xa4]
sub esp, 0x18
mov esi, esp
mov ecx, esi
push 0x20
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00403960
mov ecx, eax
mov dword [esi + 0x10], 0x11
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.stdErrWriteHandle]
movups xmmword [ecx], xmm0
mov al, byte [0x46d7b0]
mov byte [ecx + 0x10], al
mov byte [ecx + 0x11], 0
mov dword [esi], ecx
call fcn.0041aa20
add esp, 0x20
push 0
push dword [ebp - 0xb0]
sub esp, 0x18
mov esi, esp
mov ecx, esi
push 0x20
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00403960
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.stdErrReadHandle]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov dword [esi], eax
call fcn.0041aa20
mov edi, dword [ebp - 0x98]
add esp, 0x20
push 1
push edi
sub esp, 0x18
mov esi, esp
mov ecx, esi
push 0x20
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00403960
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.nullDeviceHandle]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov dword [esi], eax
call fcn.0041aa20
mov eax, dword [ebp - 0xa4]
xorps xmm0, xmm0
add esp, 0x20
movlpd qword [ebp - 0x130], xmm0
or dword [ebp - 0x130], 0x100
mov esi, 0x8000000
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x128], 0
movlpd qword [ebp - 0x158], xmm0
movlpd qword [ebp - 0x150], xmm0
movlpd qword [ebp - 0x148], xmm0
movlpd qword [ebp - 0x140], xmm0
movlpd qword [ebp - 0x138], xmm0
mov dword [ebp - 0x15c], 0x44
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push dword [ebp - 0xa8]
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x64]
cmovne esi, ecx
mov dword [ebp - 0x98], esi
push eax
call fcn.0041a770
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 4], 6
push eax
call fcn.0042d618
cmp dword [ebp - 0x50], 0x10
mov ecx, eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0xac], ecx
cmovae eax, dword [ebp - 0x64]
push eax
push 0xffffffffffffffff
push ecx
call fcn.0044ee80
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x4c]
add esp, 0x18
push eax
call fcn.0040c570
mov esi, eax
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 7
call fcn.0040c570
cmp dword [esi + 0x14], 0x10
jb 0x41a0d2
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x41a0da
mov eax, dword [eax]
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push esi
mov esi, dword [ebp - 0xac]
push 0
push dword [ebp - 0x98]
push 1
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
cmp edx, 0x10
jb 0x41a13f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a135
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a721
push edx
push ecx
call fcn.0042cf26
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x41a189
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a17f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a721
push edx
push ecx
call fcn.0042cf26
add esp, 8
push esi
call fcn.0042cf34
add esp, 4
cmp dword [ebp - 0x98], 0
jne 0x41a1dc
call sub.KERNEL32.dll_GetLastError
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a740
add esp, 4
lea ecx, [ebp - 0x4c]
push str.Failed_to_create_process_.
call fcn.004060e0
push esi
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00418c60
add esp, 0xc
mov byte [ebp - 4], 9
jmp 0x41a705
push dword [ebp - 0x118]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x114]
call esi
push dword [ebp - 0xa4]
call esi
push edi
call esi
push 0x430
call fcn.0042cef6
mov ecx, eax
add esp, 4
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x41a259
mov eax, dword [str.stderr]
mov dword [ebp - 0x34], eax
mov ax, word [0x46d7fc]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 6
mov word [ebp - 0x30], ax
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x9c], 1
push eax
push dword [ebp - 0xb0]
mov byte [ebp - 4], 0xb
call fcn.0041b040
jmp 0x41a25b
xor eax, eax
test byte [ebp - 0x9c], 1
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 4], 6
mov dword [ecx], eax
je 0x41a2a7
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x41a2a7
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a29d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a726
push edx
push ecx
call fcn.0042cf26
add esp, 8
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x7c]
push eax
call fcn.0040c570
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040c570
mov edi, eax
xor eax, eax
mov dword [ebp - 0xfc], vtable.el::base::Writer.0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 4
mov dword [ebp - 0xf0], str.E:gitlab_buildsGqeQQ4ay0_aw_awserverintegration_srcwindowsWindowsProcessExecutor.cpp
mov dword [ebp - 0xec], 0x7c
mov dword [ebp - 0xe8], str.__thiscall_ProcessExecutor::ProcessExecutor_const_class_Path__const_class_Path__const_class_std::vector_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____class_std::allocator_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_________
mov word [ebp - 0xe4], ax
mov dword [ebp - 0xe0], eax
mov byte [ebp - 0xdc], al
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 0x46c384
mov dword [ebp - 0xd0], 2
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
push dword [0x487038]
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0xf
push 1
push eax
call fcn.00424310
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x20], 0
je 0x41a3a7
mov eax, dword [esi + 0x24]
add eax, 0x68
push str.Launched_
push eax
call fcn.00401400
mov eax, dword [0x48a58c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x41a3a7
mov eax, dword [esi + 0x24]
add eax, 0x68
push 0x46c488
push eax
call fcn.00401400
add esp, 8
push edi
mov ecx, esi
call fcn.00405560
mov edi, eax
cmp byte [edi + 0x20], 0
je 0x41a562
mov eax, dword [edi + 0x24]
add eax, 0x68
push str._with_arguments
push eax
call fcn.00401400
mov eax, dword [0x48a58c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x41a3f1
mov eax, dword [edi + 0x24]
add eax, 0x68
push 0x46c488
push eax
call fcn.00401400
add esp, 8
cmp byte [edi + 0x20], 0
je 0x41a562
mov ecx, dword [ebp - 0xa8]
push 0x46cb84
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov ecx, eax
mov dword [ebp - 0xa8], eax
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x98], eax
mov eax, dword [edi + 0x24]
add eax, 0x68
push eax
call fcn.00401400
xor eax, eax
add esp, 8
mov dword [ebp - 0x9c], eax
cmp esi, dword [ebp - 0xa8]
je 0x41a4f0
nop
cmp eax, 0x64
jae 0x41a4dc
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41a463
mov eax, dword [esi]
push eax
mov eax, dword [edi + 0x24]
add eax, 0x68
push eax
call fcn.00401400
mov eax, dword [0x48a58c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x41a495
mov eax, dword [edi + 0x24]
add eax, 0x68
push 0x46c488
push eax
call fcn.00401400
add esp, 8
mov eax, dword [ebp - 0x98]
dec eax
cmp dword [ebp - 0x9c], eax
jae 0x41a4a9
mov eax, dword [edi + 0x28]
jmp 0x41a4ae
mov eax, 0x46c384
push eax
mov eax, dword [edi + 0x24]
add eax, 0x68
push eax
call fcn.00401400
mov eax, dword [ebp - 0x9c]
add esi, 0x18
inc eax
add esp, 8
mov dword [ebp - 0x9c], eax
cmp esi, dword [ebp - 0xa8]
jne 0x41a450
jmp 0x41a4f0
mov eax, dword [edi + 0x24]
add eax, 0x68
push 0x46cb88
push eax
call fcn.00401400
add esp, 8
mov eax, dword [edi + 0x24]
add eax, 0x68
push 0x46cb8c
push eax
call fcn.00401400
mov eax, dword [0x48a58c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x41a526
mov eax, dword [edi + 0x24]
add eax, 0x68
push 0x46c488
push eax
call fcn.00401400
add esp, 8
cmp byte [edi + 0x20], 0
je 0x41a562
mov eax, dword [edi + 0x24]
add eax, 0x68
push str._in_working_directory
push eax
call fcn.00401400
mov eax, dword [0x48a58c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x41a562
mov eax, dword [edi + 0x24]
add eax, 0x68
push 0x46c488
push eax
call fcn.00401400
add esp, 8
push dword [ebp - 0xac]
mov ecx, edi
call fcn.00405560
mov esi, eax
cmp byte [esi + 0x20], 0
je 0x41a5ad
mov eax, dword [esi + 0x24]
add eax, 0x68
push 0x46c598
push eax
call fcn.00401400
mov eax, dword [0x48a58c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x41a5ad
mov eax, dword [esi + 0x24]
add eax, 0x68
push 0x46c488
push eax
call fcn.00401400
add esp, 8
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0xfc], vtable.el::base::Writer.0
call fcn.00427110
mov esi, dword [ebp - 0xcc]
test esi, esi
je 0x41a696
mov edi, dword [ebp - 0xc8]
cmp esi, edi
je 0x41a631
nop
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x41a613
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x41a609
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a72b
mov eax, edx
push ecx
push eax
call fcn.0042cf26
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x41a5e0
mov esi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc4]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x41a66e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a72b
push ecx
push esi
call fcn.0042cf26
add esp, 8
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0x34]
call fcn.00402480
lea ecx, [ebp - 0x7c]
call fcn.00402480
lea ecx, [ebp - 0x64]
call fcn.00402480
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cf39
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Failed_to_get_handle_to_nul.
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.004060e0
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00418c60
add esp, 0xc
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.004062e0
push 0x480bc0
lea eax, [ebp - 0x1c]
push eax
call fcn.00443f23
call fcn.0044807a
call fcn.0044807a
call fcn.0044807a
call fcn.0044807a
int3