Function at 0x4b33ad
Capabilities:
Create pipe
Create process on windows
Create process suspended
Query environment variable
Read file on windows

Disassembly:
mov eax, 0x11540
call fcn.005151d8
nop
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
movabs rax, 0
mov qword [rbp - 8], rax
movabs rax, 0
mov qword [rbp - 0x10], rax
movabs rax, 0
mov qword [rbp - 0x18], rax
mov eax, 0
mov dword [rbp - 0x48], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x44]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
movabs rax, 0
mov qword [rbp - 0x40], rax
mov eax, 0
mov byte [rbp - 0x38], al
movabs rax, 7
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x37]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x18
mov r8, rax
lea rax, [rbp - 0x48]
mov r11, rax
lea rax, [rbp - 0x30]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x18
mov dword [rbp - 0x30], eax
mov eax, 1
mov byte [rbp - 0x20], al
mov eax, 0
mov r9, rax
lea rax, [rbp - 0x30]
mov r8, rax
lea rax, [rbp - 0x18]
mov r11, rax
lea rax, [rbp - 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_CreatePipe
mov byte [rbp - 0x49], al
movzx eax, byte [rbp - 0x49]
cmp eax, 0
jne 0x4b371f
call sub.kernel32.dll_GetLastError
mov dword [rbp - 0x50], eax
mov eax, dword [rbp - 0x50]
mov r11, rax
lea rax, [rbp - 0x70]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.004b2ef4
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x70]
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, dword [rbp - 0x50]
mov dword [rbp - 0xa0], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x9c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, str.exec_failed__CreatePipe_:
mov qword [rbp - 0x110], rax
mov eax, 0x1a
mov dword [rbp - 0x108], eax
mov eax, 1
mov dword [rbp - 0x104], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x110]
mov r11, rax
lea rax, [rbp - 0x100]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0xfe10
mov dword [rbp - 0xf0], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0xec]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x60]
mov r11, rax
lea rax, [rbp - 0xe8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [0x0051e473]
mov qword [rbp - 0x120], rax
mov eax, 0
mov dword [rbp - 0x118], eax
mov eax, 1
mov dword [rbp - 0x114], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x120]
mov r11, rax
lea rax, [rbp - 0xd8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0
mov dword [rbp - 0xc8], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0xc4]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0
mov dword [rbp - 0xc0], eax
movabs rax, 0xc
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0xbc]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x100]
mov r8, rax
mov eax, 2
mov r11, rax
lea rax, [rbp - 0xb0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00465aaf
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0xb0]
mov r11, rax
lea rax, [rbp - 0x98]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x18
mov r8, rax
lea rax, [rbp - 0xa0]
mov r11, rax
lea rax, [rbp - 0x88]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov rax, qword [rbp + 0x10]
mov ecx, 0x18
mov r8, rcx
lea rcx, [rbp - 0x88]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4b4338
mov eax, 0
mov r8, rax
mov eax, 1
mov r11, rax
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_SetHandleInformation
mov byte [rbp - 0x121], al
movzx eax, byte [rbp - 0x121]
cmp eax, 0
jne 0x4b39d7
call sub.kernel32.dll_GetLastError
mov dword [rbp - 0x128], eax
mov eax, dword [rbp - 0x128]
mov r11, rax
lea rax, [rbp - 0x148]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.004b2ef4
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x148]
mov r11, rax
lea rax, [rbp - 0x138]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, dword [rbp - 0x128]
mov dword [rbp - 0x178], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x174]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, str.exec_failed__SetHandleInformation_:
mov qword [rbp - 0x1e8], rax
mov eax, 0x24
mov dword [rbp - 0x1e0], eax
mov eax, 1
mov dword [rbp - 0x1dc], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x1e8]
mov r11, rax
lea rax, [rbp - 0x1d8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0xfe10
mov dword [rbp - 0x1c8], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x1c4]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x138]
mov r11, rax
lea rax, [rbp - 0x1c0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [0x0051e499]
mov qword [rbp - 0x1f8], rax
mov eax, 0
mov dword [rbp - 0x1f0], eax
mov eax, 1
mov dword [rbp - 0x1ec], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x1f8]
mov r11, rax
lea rax, [rbp - 0x1b0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0
mov dword [rbp - 0x1a0], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x19c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0
mov dword [rbp - 0x198], eax
movabs rax, 0xc
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x194]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x1d8]
mov r8, rax
mov eax, 2
mov r11, rax
lea rax, [rbp - 0x188]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00465aaf
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x188]
mov r11, rax
lea rax, [rbp - 0x170]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x18
mov r8, rax
lea rax, [rbp - 0x178]
mov r11, rax
lea rax, [rbp - 0x160]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov rax, qword [rbp + 0x10]
mov ecx, 0x18
mov r8, rcx
lea rcx, [rbp - 0x160]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4b4338
movabs rax, 0
mov qword [rbp - 0x228], rax
movabs rax, 0
mov qword [rbp - 0x220], rax
mov eax, 0
mov dword [rbp - 0x218], eax
mov eax, 0
mov dword [rbp - 0x214], eax
mov eax, 0x18
mov r8, rax
lea rax, [rbp - 0x228]
mov r11, rax
lea rax, [rbp - 0x210]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x18
mov dword [rbp - 0x2f8], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x2f4]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
movabs rax, 0
mov qword [rbp - 0x2f0], rax
movabs rax, 0
mov qword [rbp - 0x2e8], rax
movabs rax, 0
mov qword [rbp - 0x2e0], rax
mov eax, 0
mov dword [rbp - 0x2d8], eax
mov eax, 0
mov dword [rbp - 0x2d4], eax
mov eax, 0
mov dword [rbp - 0x2d0], eax
mov eax, 0
mov dword [rbp - 0x2cc], eax
mov eax, 0
mov dword [rbp - 0x2c8], eax
mov eax, 0
mov dword [rbp - 0x2c4], eax
mov eax, 0
mov dword [rbp - 0x2c0], eax
mov eax, 0x100
mov dword [rbp - 0x2bc], eax
mov eax, 0
mov word [rbp - 0x2b8], ax
mov eax, 0
mov word [rbp - 0x2b6], ax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x2b4]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
movabs rax, 0
mov qword [rbp - 0x2b0], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x2a8], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x2a0], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x298], rax
mov eax, 0x68
mov r8, rax
lea rax, [rbp - 0x2f8]
mov r11, rax
lea rax, [rbp - 0x290]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0
mov word [rbp - 0x102f8], ax
movabs rax, 0xfffe
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x102f6]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x20]
mov ecx, 0x10
mov r8, rcx
mov rcx, qword [rbp + 0x18]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea r10, [rsp + 0x20]
mov rcx, r10
call fcn.00466ea0
mov ecx, 0x8000
mov r8, rcx
lea rcx, [rbp - 0x102f8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_ExpandEnvironmentStringsW
lea rax, [rbp - 0x210]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x290]
mov qword [rsp + 0x40], rax
movabs rax, 0
mov qword [rsp + 0x38], rax
movabs rax, 0
mov qword [rsp + 0x30], rax
mov eax, 0
mov qword [rsp + 0x28], rax
mov eax, 1
mov qword [rsp + 0x20], rax
movabs rax, 0
mov r9, rax
movabs rax, 0
mov r8, rax
lea rax, [rbp - 0x102f8]
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_CreateProcessW
mov byte [rbp - 0x102f9], al
movzx eax, byte [rbp - 0x102f9]
cmp eax, 0
jne 0x4b408c
call sub.kernel32.dll_GetLastError
mov dword [rbp - 0x10300], eax
mov eax, dword [rbp - 0x10300]
mov r11, rax
lea rax, [rbp - 0x10320]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.004b2ef4
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x10320]
mov r11, rax
lea rax, [rbp - 0x10310]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, dword [rbp - 0x10300]
mov dword [rbp - 0x10350], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x1034c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, str.exec_failed__CreateProcess__with_code
mov qword [rbp - 0x10410], rax
mov eax, 0x26
mov dword [rbp - 0x10408], eax
mov eax, 1
mov dword [rbp - 0x10404], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x10410]
mov r11, rax
lea rax, [rbp - 0x10400]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0xfe07
mov dword [rbp - 0x103f0], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x103ec]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, dword [rbp - 0x10300]
mov dword [rbp - 0x103e8], eax
movabs rax, 0xc
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x103e4]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, [0x0051e4c1]
mov qword [rbp - 0x10420], rax
mov eax, 2
mov dword [rbp - 0x10418], eax
mov eax, 1
mov dword [rbp - 0x10414], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x10420]
mov r11, rax
lea rax, [rbp - 0x103d8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0xfe10
mov dword [rbp - 0x103c8], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x103c4]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x10310]
mov r11, rax
lea rax, [rbp - 0x103c0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, str._cmd:
mov qword [rbp - 0x10430], rax
mov eax, 6
mov dword [rbp - 0x10428], eax
mov eax, 1
mov dword [rbp - 0x10424], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x10430]
mov r11, rax
lea rax, [rbp - 0x103b0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0xfe10
mov dword [rbp - 0x103a0], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x1039c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x10
mov r8, rax
mov rax, qword [rbp + 0x18]
mov r11, rax
lea rax, [rbp - 0x10398]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [0x0051e4cb]
mov qword [rbp - 0x10440], rax
mov eax, 0
mov dword [rbp - 0x10438], eax
mov eax, 1
mov dword [rbp - 0x10434], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x10440]
mov r11, rax
lea rax, [rbp - 0x10388]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0
mov dword [rbp - 0x10378], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x10374]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0
mov dword [rbp - 0x10370], eax
movabs rax, 0xc
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x1036c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x10400]
mov r8, rax
mov eax, 4
mov r11, rax
lea rax, [rbp - 0x10360]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00465aaf
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x10360]
mov r11, rax
lea rax, [rbp - 0x10348]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x18
mov r8, rax
lea rax, [rbp - 0x10350]
mov r11, rax
lea rax, [rbp - 0x10338]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov rax, qword [rbp + 0x10]
mov ecx, 0x18
mov r8, rcx
lea rcx, [rbp - 0x10338]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4b4338
mov rax, qword [rbp - 8]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_CloseHandle
mov rax, qword [rbp - 0x18]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_CloseHandle
mov eax, 0
mov byte [rbp - 0x11440], al
movabs rax, 0xfff
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x1143f]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0
mov dword [rbp - 0x11444], eax
mov eax, 0x400
mov r11, rax
lea rax, [rbp - 0x11488]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0042e782
mov eax, 0x20
mov r8, rax
lea rax, [rbp - 0x11488]
mov r11, rax
lea rax, [rbp - 0x11468]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0
mov byte [rbp - 0x11489], al
movabs rax, 0
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x11444]
mov r9, rax
mov eax, 0x3e8
mov r8, rax
lea rax, [rbp - 0x11440]
mov r11, rax
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_ReadFile
mov byte [rbp - 0x11489], al
mov eax, dword [rbp - 0x11444]
mov r8, rax
lea rax, [rbp - 0x11440]
mov r11, rax
lea rax, [rbp - 0x11468]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0042e882
movzx eax, byte [rbp - 0x11489]
cmp eax, 0
je 0x4b41c3
mov eax, dword [rbp - 0x11444]
cmp eax, 0
jne 0x4b41c8
jmp 0x4b41cd
jmp 0x4b412e
lea rax, [rbp - 0x11468]
mov r11, rax
lea rax, [rbp - 0x114b0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0042f261
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x114b0]
mov r11, rax
lea rax, [rbp - 0x114a0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [rbp - 0x11468]
mov r10, rax
mov rcx, r10
call fcn.0042f454
mov eax, 0
mov dword [rbp - 0x114b4], eax
mov eax, 0xffffffff
mov r11, rax
mov rax, qword [rbp - 0x210]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_WaitForSingleObject
lea rax, [rbp - 0x114b4]
mov r11, rax
mov rax, qword [rbp - 0x210]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetExitCodeProcess
mov rax, qword [rbp - 0x210]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_CloseHandle
mov rax, qword [rbp - 0x208]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_CloseHandle
mov eax, dword [rbp - 0x114b4]
mov dword [rbp - 0x114e8], eax
movabs rax, 4
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x114e4]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x114a0]
mov r11, rax
lea rax, [rbp - 0x114e0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x18
mov r8, rax
lea rax, [rbp - 0x114e8]
mov r11, rax
lea rax, [rbp - 0x114d0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov rax, qword [rbp + 0x10]
mov ecx, 0x18
mov r8, rcx
lea rcx, [rbp - 0x114d0]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
leave
ret