Function at 0x14001b4d3
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 8], 0
call fcn.1400e1e10
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400e2410
mov qword [rbp - 0x88], 0
mov qword [rbp - 0x90], 0
call fcn.1400e1e80
call fcn.1400e1e80
call fcn.1400e1ee0
mov edx, eax
mov rax, qword [rbp + 0x10]
mov r8d, edx
mov edx, 1
mov rcx, rax
call fcn.1400dfc20
call fcn.1400e2300
call fcn.1400e1fc0
mov qword [rbp - 0x10], rax
lea rax, [0x140d95960]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.1400e2330
test eax, eax
je 0x14001b5bd
call fcn.1400e1e80
call fcn.1400e1e80
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400def10
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
sub rax, 1
mov qword [rbp - 0x28], rax
call fcn.1400e1ee0
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x28]
mov r8d, ecx
mov rcx, rax
call fcn.1400dee70
call fcn.1400e1ee0
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.1400e2130
jmp 0x14001b5be
nop
call fcn.1400c8ad8
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0x63
jle 0x14001b867
call fcn.1400e1e80
call fcn.1400e1e80
call fcn.1400e1ee0
mov edx, eax
mov ecx, 0x3e8
call fcn.1400df450
call fcn.1400e1ee0
mov edx, eax
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.1400e2130
mov rax, qword [rbp - 0x90]
mov qword [rbp - 0x38], rax
lea rax, [0x140da3a30]
mov rdx, qword [rbp - 0x38]
mov r8d, 0x3e8
mov rcx, rax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov qword [rbp - 0x40], rax
call fcn.1400e1e80
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400e20c0
lea rax, [0x140da0200]
mov rcx, rax
call fcn.1400e20c0
call fcn.1400e1ee0
mov edx, eax
lea rax, [rbp - 0x88]
mov rcx, rax
call fcn.1400e2130
call fcn.1400e1e80
call fcn.1400e1e80
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400e20c0
lea rax, [0x140dab940]
mov rcx, rax
call fcn.1400e20c0
call fcn.1400e2030
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.1400cb268
mov qword [rbp - 0x50], rax
call fcn.1400e1f50
cmp qword [rbp - 0x50], 0
jle 0x14001b6ec
call fcn.1400e1e80
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400e20c0
lea rax, [0x140d97de0]
mov rcx, rax
call fcn.1400e20c0
call fcn.1400e1ee0
mov edx, eax
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.1400e2130
jmp 0x14001b726
nop
call fcn.1400e1e80
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400e20c0
lea rax, [0x140da0200]
mov rcx, rax
call fcn.1400e20c0
call fcn.1400e1ee0
mov edx, eax
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.1400e2130
cmp qword [rbp + 0x18], 0
jle 0x14001b7cd
call fcn.1400e1e80
call fcn.1400e1e80
lea rax, [0x140d9d360]
mov rcx, rax
call fcn.1400e20c0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400e20c0
lea rax, [0x140d94324]
mov rcx, rax
call fcn.1400e20c0
call fcn.1400e2300
call fcn.1400e1e80
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400e20c0
lea rax, [0x140da6c30]
mov rcx, rax
call fcn.1400e20c0
call fcn.1400e2030
mov qword [rbp - 0x58], rax
call fcn.1400e2030
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x88]
mov rdx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x58]
mov r9d, 3
mov r8, rcx
mov rcx, rax
call fcn.140096548
mov qword [rbp - 0x68], rax
call fcn.1400e1f50
jmp 0x14001b868
nop
call fcn.1400e1e80
call fcn.1400e1e80
lea rax, [0x140da3b20]
mov rcx, rax
call fcn.1400e20c0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400e20c0
lea rax, [0x140d94324]
mov rcx, rax
call fcn.1400e20c0
call fcn.1400e2300
call fcn.1400e1e80
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400e20c0
lea rax, [0x140da6c30]
mov rcx, rax
call fcn.1400e20c0
call fcn.1400e2030
mov qword [rbp - 0x70], rax
call fcn.1400e2030
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp - 0x88]
mov rdx, qword [rbp - 0x78]
mov rax, qword [rbp - 0x70]
mov r9d, 3
mov r8, rcx
mov rcx, rax
call fcn.140096548
mov qword [rbp - 0x80], rax
call fcn.1400e1f50
jmp 0x14001b868
nop
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x88]
mov rcx, rax
call fcn.1400e2390
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400e2390
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400e2390
mov rax, qword [rbp - 8]
add rsp, 0xb0
pop rbp
ret