Function at 0x140005ee4
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r15
lea rbp, [rax - 0xa18]
sub rsp, 0xb00
mov rsi, rcx
mov r12d, r8d
mov rdi, rdx
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.140021110
mov edx, 0x2e
mov rcx, rdi
call fcn.1400221c8
xor r13d, r13d
mov rbx, rax
test rax, rax
jne 0x140005f43
xor al, al
jmp 0x140006171
lea rcx, [rbp + 0x1f2]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x1f0], r13w
call fcn.140021110
mov r15d, 0x20
mov edx, r15d
mov rcx, rbx
call fcn.1400221c8
mov rcx, rbx
test rax, rax
je 0x140005f9a
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
movsxd rcx, eax
test eax, eax
jle 0x140005fb7
cmp word [rbx + rcx*2], r15w
je 0x140005fa0
dec rcx
dec eax
test rcx, rcx
jg 0x140005f87
jmp 0x140005fb7
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rbp + 0x1f0]
movsxd r9, eax
mov r8, rbx
mov edx, 0x104
call fcn.1400222dc
mov dword [rsp + 0x40], r13d
lea rax, [rbp - 0x20]
mov ebx, 0x208
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
mov r15, 0xffffffff80000000
lea r8, [rbp + 0x1f0]
xor r9d, r9d
mov rcx, rsi
mov rdx, r15
mov dword [rsp + 0x20], 1
call fcn.140005b00
test eax, eax
je 0x140005f3c
lea rcx, [rbp + 0x610]
xor edx, edx
mov r8d, 0x3e8
call fcn.140021110
lea r8, [rbp - 0x20]
lea rdx, str._s_shellopencommand
lea rcx, [rbp + 0x610]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x20]
mov r8d, ebx
xor edx, edx
call fcn.140021110
lea r8d, [rbx - 2]
lea rcx, [rbp + 0x402]
xor edx, edx
mov word [rbp + 0x400], r13w
call fcn.140021110
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], ebx
lea rax, [rbp + 0x400]
mov qword [rsp + 0x30], r13
lea r8, [rbp + 0x610]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rdx, r15
mov rcx, rsi
mov dword [rsp + 0x20], 2
call fcn.140005b00
test eax, eax
je 0x140005f3c
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x400]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [0x1400415a0]
lea rcx, [rbp - 0x20]
call fcn.140020dfc
test rax, rax
jne 0x1400060f3
lea rdx, [0x1400415a8]
lea rcx, [rbp - 0x20]
call fcn.140020dfc
test rax, rax
jne 0x1400060f3
lea rdx, [0x140041504]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp - 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x1400060ff
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x60]
call fcn.140021110
mov dword [rsp + 0x50], WSAGetLastError
test r12d, r12d
je 0x14000612a
lea rax, [0x1400415b0]
mov qword [rsp + 0x60], rax
jmp 0x140006136
mov dword [rbp - 0x74], 1
mov word [rbp - 0x70], r13w
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov al, 1
lea r11, [rsp + 0xb00]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret