Function at 0x14007b030
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x2f8], rbx
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, r8
mov rsi, rdx
mov rbx, rcx
xor edi, edi
call fcn.1400023f0
test rax, rax
je 0x14007b2d3
lea rcx, [rsp + 0x30]
call fcn.140008ad0
nop
mov rcx, rbx
call fcn.140002370
mov r8, rax
mov r9, qword [rax + 0x18]
cmp r9, 8
jb 0x14007b0a5
mov rax, qword [rax]
mov rcx, rbx
cmp word [rax], 0x40
jne 0x14007b0df
call fcn.1400023f0
lea r8d, [rax - 1]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001fb00
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140008a50
nop
lea rcx, [rsp + 0x50]
call fcn.140002320
jmp 0x14007b108
call fcn.140002370
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x14007b108
mov rdx, r8
cmp r9, 8
jb 0x14007b0fa
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140002400
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.1400ab220
lea rcx, [rsp + 0x30]
call fcn.140002310
mov rcx, rax
mov r8d, 0x104
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r15d, eax
cmp eax, 0x104
jb 0x14007b199
mov eax, 2
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a9848
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.140002310
mov rcx, rax
mov r8d, r15d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rbx
call fcn.140002620
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140002400
mov rcx, rbx
call fcn.1400a930c
jmp 0x14007b1b3
lea rcx, [rbp - 0x70]
call fcn.140002620
mov r8, rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140002400
lea rdx, [0x1400ff82c]
lea rcx, [rsp + 0x70]
call fcn.140002330
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140017d80
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007b283
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14001faa0
nop
mov rdx, rax
mov rcx, rsi
call fcn.140008a50
nop
lea rcx, [rsp + 0x50]
call fcn.140002320
test r14, r14
je 0x14007b27f
lea rcx, [rsp + 0x30]
call fcn.1400023f0
mov r8, rax
sub r8d, ebx
lea rcx, [rsp + 0x70]
call fcn.1400023f0
sub r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14001fb00
nop
lea rcx, [rsp + 0x50]
call fcn.140002310
movzx ecx, word [rax]
cmp cx, 0x30
jb 0x14007b272
nop
cmp cx, 0x39
ja 0x14007b272
lea rdi, [rdi + rdi*4]
movzx ecx, cx
lea rdi, [rdi - 0x18]
lea rdi, [rcx + rdi*2]
add rax, 2
movzx ecx, word [rax]
cmp cx, 0x30
jae 0x14007b250
mov dword [r14], edi
lea rcx, [rsp + 0x50]
call fcn.140002320
mov bl, 1
jmp 0x14007b2bb
lea rcx, [rsp + 0x30]
call fcn.140002370
cmp rsi, rax
je 0x14007b2b5
lea rcx, [rsp + 0x30]
call fcn.140002370
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14007b2a9
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rsi
call fcn.140002400
test r14, r14
sete bl
lea rcx, [rsp + 0x70]
call fcn.140002320
nop
lea rcx, [rsp + 0x30]
call fcn.140002320
movzx eax, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400a8f20
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret