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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x80]
test r9, r9
mov qword [rbp + 0x30], rcx
mov r14d, edx
mov rdi, r8
mov r15, r9
je 0x46998d
cmp qword [r9], 0
je 0x46998d
mov esi, 1
jmp 0x469463
mov rsi, rax
lea rax, [rsi + 1]
lea r8, [rsi*8]
cmp qword [r15 + rax*8 - 8], 0
jne 0x469460
lea rax, [r8 + 0x1e]
and rax, 0xfffffffffffffff0
call fcn.004765e0
mov r12d, 1
sub rsp, rax
mov rdx, r15
lea rbx, [rsp + 0x50]
mov rcx, rbx
call sub.msvcrt.dll_memcpy
lea r9, [0x004693a0]
mov rdx, rsi
mov r8d, 8
mov rcx, rbx
call sub.msvcrt.dll_qsort
lea eax, [rsi - 1]
lea rsi, [rax*8 + 8]
lea r13, [r15 + rsi]
mov rcx, qword [r15]
add r15, 8
call sub.msvcrt.dll_strlen
cmp r13, r15
lea r12d, [r12 + rax + 1]
jne 0x4694c4
movsxd rcx, r12d
add rsi, rbx
call fcn.0046aaf0
mov qword [rbp - 0x28], rax
mov rcx, rax
nop dword [rax]
mov rdx, qword [rbx]
add rbx, 8
call fcn.0046b260
cmp rsi, rbx
lea rcx, [rax + 1]
jne 0x4694f0
mov byte [rax + 1], 0
mov rcx, qword [rbp + 0x30]
call sub.msvcrt.dll_strlen
mov rcx, qword [rbp + 0x30]
mov edx, 0x2f
mov rsi, rax
call sub.msvcrt.dll_strchr
test rax, rax
je 0x4699a5
lea rbx, [0x004de67e]
xor r8d, r8d
lea rcx, [r8 + rsi + 6]
mov r12d, 0x80000000
call fcn.0046aaf0
movzx edx, byte [rbx]
mov r13, qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp dl, 0x3b
je 0x46999a
test dl, dl
mov r15, rbx
jne 0x469574
jmp 0x46999a
test al, al
je 0x469580
add r15, 1
movzx eax, byte [r15]
cmp al, 0x3b
jne 0x469570
mov r14, r15
mov rcx, rsi
mov rdx, rbx
sub r14, rbx
mov r8, r14
call sub.msvcrt.dll_memcpy
lea r9, [rsi + r14]
cmp r15, rbx
mov rcx, r9
je 0x4695a8
add rcx, 1
mov byte [r9], 0x5c
mov rdx, qword [rbp + 0x30]
mov rbx, rsi
call sub.msvcrt.dll_strcpy
xor eax, eax
cmp byte [r15], 0x3b
sete al
add r15, rax
movzx eax, byte [rsi]
test al, al
jne 0x4695db
jmp 0x4695ed
add rbx, 1
movzx eax, byte [rbx]
test al, al
je 0x4695ed
cmp al, 0x2f
jne 0x4695d0
mov byte [rbx], 0x5c
add rbx, 1
movzx eax, byte [rbx]
test al, al
jne 0x4695db
lea r14, str..com
lea rdx, str..com
jmp 0x469610
add r14, 8
mov rdx, qword [r14]
test rdx, rdx
je 0x469954
mov rcx, rsi
mov byte [rbx], 0
call sub.msvcrt.dll_strcat
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov r8d, 3
mov edx, r12d
mov rcx, rsi
call r13
cmp rax, 0xffffffffffffffff
je 0x469600
mov rcx, rax
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r12, [rdi + 8]
call rbx
mov r8, qword [rdi]
xor ecx, ecx
test r8, r8
je 0x469758
nop word [rax + rax]
movzx eax, byte [r8]
xor r11d, r11d
mov r9d, 0xffffffff
mov edx, 1
test al, al
jne 0x4696a4
jmp 0x469981
movzx eax, byte [r8 + rdx]
add r9d, 1
lea r10, [rdx + 1]
test al, al
je 0x469700
mov rdx, r10
mov r10d, eax
and r10d, 0xfffffffd
cmp r10b, 0x20
je 0x4696f0
cmp al, 9
je 0x4696f0
cmp al, 0x22
jne 0x469690
cmp r9d, 0xffffffff
je 0x4696e5
cmp byte [r8 + rdx - 2], 0x5c
jne 0x4696e5
lea rax, [rdx - 3]
jmp 0x4696dc
sub rax, 1
cmp byte [r8 + rax + 1], 0x5c
jne 0x4696e5
add rcx, 1
cmp eax, 0xffffffff
jne 0x4696d0
add rcx, 1
jmp 0x469690
mov r11d, 1
jmp 0x4696b5
test r11d, r11d
mov eax, 1
je 0x469740
lea eax, [rdx - 1]
cdqe
cmp byte [r8 + rax], 0x5c
jne 0x46973b
lea r9, [r8 + rax - 1]
lea r8, [rcx + 1]
add rax, r8
jmp 0x469733
sub r9, 1
cmp byte [r9 + 1], 0x5c
jne 0x46973b
add r8, 1
cmp r8, rax
mov rcx, r8
jne 0x469724
mov eax, 3
add r12, 8
mov r8, qword [r12 - 8]
add rcx, rdx
add rcx, rax
test r8, r8
jne 0x469670
call fcn.0046aaf0
mov r9, qword [rdi]
add rdi, 8
mov r12, rax
movabs r11, 0x500000201
test r9, r9
je 0x469882
nop word [rax + rax]
movzx r8d, byte [r9]
mov edx, 1
cmp r8b, 0x22
ja 0x4697be
bt r11, r8
jae 0x4697be
jmp 0x469845
mov r10d, ecx
add rdx, 1
and r10d, 0xfffffffd
cmp r10b, 0x20
je 0x469845
cmp cl, 9
je 0x469845
movzx ecx, byte [r9 + rdx]
test cl, cl
jne 0x4697a0
mov rcx, r12
xor r12d, r12d
mov r10, 0xfffffffffffffffe
xor edx, edx
jmp 0x469808
movzx r8d, byte [r9 + r10 + 2]
add r10, 1
lea rcx, [r13 + 1]
mov byte [r13], r8b
movzx r8d, byte [r9 + r10 + 2]
lea r13d, [rdx + 1]
test r8b, r8b
je 0x469910
movsxd rdx, r13d
cmp r8b, 0x22
mov r13, rcx
jne 0x4697e0
test edx, edx
je 0x46983c
cmp byte [r9 + r10 + 1], 0x5c
jne 0x46983c
mov r8, r10
jmp 0x46982e
sub r8, 1
cmp byte [r9 + r8 + 1], 0x5c
jne 0x46983c
add rcx, 1
cmp r8d, 0xffffffff
mov byte [rcx - 1], 0x5c
jne 0x469822
lea r13, [rcx + 1]
mov byte [rcx], 0x5c
jmp 0x4697e0
mov byte [r12], 0x22
movzx r8d, byte [r9]
lea rcx, [r12 + 1]
mov r12d, 1
test r8b, r8b
jne 0x4697cd
lea r8, [rcx + 1]
mov byte [rcx], 0x22
add rdi, 8
mov r9, qword [rdi - 8]
lea r12, [r8 + 1]
mov byte [r8], 0x20
test r9, r9
jne 0x469780
mov rdi, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
xor r9d, r9d
mov byte [r12 - 1], 0
xor r8d, r8d
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdx
mov rdi, qword [rbp - 0x28]
mov edx, dword [rbp + 0x50]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x469a36
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 8]
call rbx
mov rcx, rsi
call fcn.00483488
mov rcx, qword [rbp - 0x28]
call fcn.00483488
mov rax, qword [rbp + 0x60]
mov rax, qword [rax]
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
test r12d, r12d
mov r8, rcx
je 0x469869
cmp byte [r9 + rdx], 0x5c
jne 0x469862
lea r8, [r9 + rdx - 1]
lea rdx, [rcx + rdx + 1]
jmp 0x469942
sub r8, 1
cmp byte [r8 + 1], 0x5c
jne 0x469862
add rcx, 1
mov byte [rcx - 1], 0x5c
cmp rcx, rdx
jne 0x469933
jmp 0x469862
movzx edx, byte [r15]
mov rbx, r15
test dl, dl
jne 0x469553
mov rcx, rsi
mov qword [rbp - 0x30], rax
call fcn.00483488
mov rcx, qword [rbp - 0x28]
call fcn.00483488
mov rax, qword [rbp - 0x30]
jmp 0x4698f7
mov eax, 3
xor edx, edx
jmp 0x469740
mov qword [rbp - 0x28], 0
jmp 0x469509
mov rcx, rsi
mov r15, rbx
jmp 0x4695a8
mov rcx, qword [rbp + 0x30]
mov edx, 0x5c
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x46952c
test r14d, r14d
je 0x46952c
lea rcx, str.PATH
call sub.msvcrt.dll_getenv
test rax, rax
mov rbx, rax
je 0x46952c
mov rcx, rax
xor r8d, r8d
movzx edx, byte [rcx]
test dl, dl
je 0x469536
cmp dl, 0x3b
mov rax, rcx
jne 0x469a04
jmp 0x469a30
test dl, dl
je 0x469a10
add rax, 1
movzx edx, byte [rax]
cmp dl, 0x3b
jne 0x469a00
mov r14, rax
sub r14, rcx
cmp r8, r14
cmovb r8, r14
cmp dl, 0x3b
je 0x469a30
mov rcx, rax
jmp 0x4699e3
add rax, 1
jmp 0x469a22
mov rcx, qword [rbp - 0x28]
call fcn.00483488
mov rcx, rsi
call fcn.00483488
mov rax, 0xffffffffffffffff
jmp 0x4698f7