Function at 0x14002f8e0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x24], r12d
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14002fc51
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], r12w
mov r14d, 1
mov dword [rsp + 0x24], r14d
mov qword [rsp + 0x28], r12
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax + 0x80]
lea rbx, [r12 - 1]
test eax, eax
js 0x14002f9a4
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14002f9a4
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x14002f984
lea rcx, [rsp + 0x38]
call fcn.140006d60
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.14019e060
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov r8d, 0x104
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test eax, eax
je 0x14002fad7
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp edi, eax
jne 0x14002fa1e
lea rax, [rbp - 0x80]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002fa00
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.140006d60
jmp 0x14002fad7
mov word [rsp + 0x22], r12w
mov rdx, rdi
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x22]
lea rcx, [rsp + 0x58]
call fcn.14002d1c0
nop
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rdx, qword [rsp + 0x58]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14002fa70
lea rcx, [rsp + 0x38]
call fcn.140006d60
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002fad7
mov rax, qword [rsp + 0x68]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fac4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fc82
call fcn.14017f5e4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x38]
call fcn.1400306a0
movzx edi, al
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14002e920
nop
cmp qword [rax + 0x18], 8
jb 0x14002fb01
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
sete r15b
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14002fb52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fb4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fc88
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
test r15b, r15b
je 0x14002fbcf
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14002fbbb
dec rax
cmp rax, 0xffffffffffffffff
cmovb rbx, rax
lea rax, [rcx + rbx*2]
cmp word [rax], 0x2e
je 0x14002fbaf
nop dword [rax + rax]
cmp rax, rcx
je 0x14002fbbb
sub rax, 2
cmp word [rax], 0x2e
jne 0x14002fba0
sub rax, rcx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14002fbcf
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14002dd20
or dil, al
test dil, dil
je 0x14002fbf6
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
xor r8d, r8d
lea edx, [r8 + 0xc]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
and r14d, 0xfffffffe
mov dword [rsp + 0x24], r14d
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14002fc3d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fc38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fc7c
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r12w
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14017f700
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
int3