Function at 0x14005a7e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rdx], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x41
mov word [rsp + 0x60], r14w
lea r12, [0x1400a2bc8]
mov qword [rsp + 0x48], r12
lea rax, [0x1400a2b08]
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x18], r14d
mov qword [rbp - 0x10], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.140013564
mov ebx, eax
test eax, eax
jns 0x14005a8a0
mov rcx, qword [rbp + 0x2e8]
mov r9d, eax
lea r8, [0x1400abd20]
mov edx, 0x71a
call fcn.140028614
jmp 0x14005aabc
lea rax, [rbp + 0x18]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0x41
mov word [rbp + 0x18], r14w
mov qword [rbp], r12
lea r8, [rbp]
lea rdx, str.DataDirectory
lea rcx, [rsp + 0x40]
call fcn.14001195c
test eax, eax
je 0x14005aa98
cmp dword [rbp + 0x14], r14d
jbe 0x14005aa89
mov r15d, 0x104
mov r8d, r15d
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
lea ecx, [rax - 1]
cmp ecx, 0x103
ja 0x14005aa64
add eax, 0xfffffffe
cmp word [rbp + rax*2 + 0xa0], 0x5c
je 0x14005a9d3
mov edx, r15d
lea rax, [rbp + 0xa0]
cmp word [rax], r14w
je 0x14005a93b
add rax, 2
sub rdx, 1
jne 0x14005a92b
mov rax, rdx
mov rcx, r15
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rdx, rdx
je 0x14005a9c9
mov rcx, r15
sub rcx, r8
lea rdx, [rbp + 0xa0]
lea rdx, [rdx + r8*2]
je 0x14005a9a5
mov eax, 0x7ffffffe
lea r8, [0x1400aa640]
sub r8, rdx
test rax, rax
je 0x14005a9a5
movzx r9d, word [r8 + rdx]
test r9w, r9w
je 0x14005a9a5
mov word [rdx], r9w
add rdx, 2
dec rax
sub rcx, 1
jne 0x14005a984
lea rax, [rdx - 2]
test rcx, rcx
cmovne rax, rdx
mov word [rax], r14w
mov rax, rcx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test rcx, rcx
jne 0x14005a9d3
mov r9d, ebx
mov edx, 0x725
jmp 0x14005aa43
lea r8, str.ApplicationsWindowsProjectsSystemIndexPropMap
mov rdx, r15
lea rcx, [rbp + 0xa0]
call fcn.14002fb5c
mov ebx, eax
test eax, eax
jns 0x14005a9f6
mov edx, 0x72a
jmp 0x14005aa40
lea rdx, str.CreatePropMapperStorage
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x14005aa5d
mov dword [rsp + 0x30], r14d
movabs r10, 0xd99c071650d04170
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xa0]
call qword [case.0x14001f589.0]
mov ebx, eax
test eax, eax
jns 0x14005aa58
mov edx, 0x732
mov r9d, eax
lea r8, [0x1400abd20]
mov rcx, qword [rbp + 0x2e8]
call fcn.140028614
jmp 0x14005aab2
mov ebx, r14d
jmp 0x14005aab2
mov edx, 0x72e
jmp 0x14005aa9d
mov rcx, qword [rbp + 0x2e8]
mov r9d, 0x8007007a
lea r8, [0x1400abd20]
mov edx, 0x721
call fcn.140028614
mov ebx, 0x8007007a
jmp 0x14005aab2
mov ebx, 0x8000ffff
mov r9d, ebx
mov edx, 0x71e
jmp 0x14005aa43
mov edx, 0x71d
lea r8, [0x1400abd20]
mov rcx, qword [rbp + 0x2e8]
call fcn.140052894
mov ebx, eax
lea rcx, [rbp]
call fcn.140011278
nop
lea rcx, [rsp + 0x40]
call fcn.140014d5c
mov eax, ebx
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140036b90
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret