Function at 0x14001efd4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x4f8]
sub rsp, 0x5e0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rdx
and dword [rsp + 0x30], 0
call fcn.14001f244
mov dword [rsp + 0x30], 1
mov rdx, qword [rdi + 8]
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathCanonicalizeW]
lea r14, [fcn.1400142d0]
or esi, 0xffffffff
test eax, eax
je 0x14001f08b
lea rdx, [rbp + 0x2c0]
lea rcx, [rsp + 0x70]
call fcn.14001f204
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
cmp rax, r14
jne 0x14003cc6e
call fcn.1400142d0
nop
lea rcx, [rsp + 0x70]
call fcn.1400282a4
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14001f0cb
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
mov r9d, esi
xor r8d, r8d
lea rdx, [rbp + 0xb0]
mov rcx, rbx
cmp rax, r14
jne 0x14003cc7a
call fcn.1400142d0
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14001f244
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14001ef70
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
cmp rax, r14
jne 0x14003cc86
call fcn.1400142d0
nop
lea rcx, [rbp + 0x10]
call fcn.1400282a4
mov eax, dword [rbx + 0x14]
mov r8d, SafeArrayGetDim
cmp eax, r8d
jb 0x14001f142
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001f34c
lea rdx, str.SearchData
mov rcx, rax
call fcn.14000ede4
test eax, eax
je 0x14001f1a3
mov eax, dword [rbx + 0x14]
mov r8d, 6
cmp eax, r8d
jb 0x14001f171
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001f34c
lea rdx, [0x140095060]
mov rcx, rax
call fcn.14000ede4
test eax, eax
je 0x14003cc92
mov rcx, rdi
call fcn.1400282a4
mov rax, rbx
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.14002cdb0
lea r11, [rsp + 0x5e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov edx, dword [rbx + 0x14]
add edx, 0xfffffff5
mov rcx, rbx
call fcn.140014540
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14001f244
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001ef70
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
cmp rax, r14
jne 0x14001f1f9
call fcn.1400142d0
nop
lea rcx, [rsp + 0x70]
call fcn.1400282a4
jmp 0x14001f171
call qword [case.0x140006f84.0]
jmp 0x14001f1ea
call qword [case.0x140006f84.0]
nop
jmp 0x14001f081
call qword [case.0x140006f84.0]
nop
jmp 0x14001f0cb
call qword [case.0x140006f84.0]
nop
jmp 0x14001f108
mov edx, dword [rbx + 0x14]
add edx, 0xfffffffa
mov rcx, rbx
call fcn.140014540
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14001f244
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001ef70
nop
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
nop
jmp 0x14001f1ea