Function at 0x14004fe90
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 - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rdx], r14
lea rax, [rbp - 0x10]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0x41
mov word [rbp - 0x10], r14w
lea r12, [0x1400ab888]
mov qword [rbp - 0x28], r12
lea rax, [0x1400ab7e8]
mov qword [rbp - 0x30], rax
mov dword [rbp + 0x78], r14d
mov qword [rbp + 0x80], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x30]
call fcn.140010e54
mov ebx, eax
test eax, eax
jns 0x14004ff4c
mov rcx, qword [rbp + 0x2d8]
mov r9d, eax
lea r8, [0x1400b49c8]
mov edx, 0x732
call fcn.1400205f4
jmp 0x140050189
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x41
mov word [rsp + 0x48], r14w
mov qword [rsp + 0x30], r12
lea r8, [rsp + 0x30]
lea rdx, str.DataDirectory
lea rcx, [rbp - 0x30]
call fcn.14001d42c
test eax, eax
je 0x140050164
cmp dword [rsp + 0x44], r14d
jbe 0x140050142
mov r15d, 0x104
mov r8d, r15d
lea rdx, [rbp + 0x90]
mov rcx, qword [rsp + 0x38]
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 0x140050112
add eax, 0xfffffffe
cmp word [rbp + rax*2 + 0x90], 0x5c
je 0x140050082
mov edx, r15d
lea rax, [rbp + 0x90]
cmp word [rax], r14w
je 0x14004ffee
add rax, 2
sub rdx, 1
jne 0x14004ffde
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 0x140050074
mov rcx, r15
sub rcx, r8
lea rdx, [rbp + 0x90]
lea rdx, [rdx + r8*2]
je 0x140050058
mov eax, 0x7ffffffe
lea r8, [0x1400b38e8]
sub r8, rdx
test rax, rax
je 0x140050058
movzx r9d, word [r8 + rdx]
test r9w, r9w
je 0x140050058
mov word [rdx], r9w
add rdx, 2
dec rax
sub rcx, 1
jne 0x140050037
lea rax, [rdx - 2]
test rcx, rcx
cmovne rax, rdx
mov word [rax], r14w
neg rcx
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test ebx, ebx
jns 0x140050082
mov edx, 0x73d
jmp 0x14005014c
lea r8, str.ApplicationsWindowsProjectsSystemIndexPropMap
mov rdx, r15
lea rcx, [rbp + 0x90]
call fcn.14003f394
mov ebx, eax
test eax, eax
jns 0x1400500ab
mov r9d, eax
mov edx, 0x742
jmp 0x14005014f
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 0x14005010b
movabs r10, 0xa805b76a5e5af870
mov rdx, rsi
lea rcx, [rbp + 0x90]
call qword [case.0x140001f80.0]
mov ebx, eax
test eax, eax
jns 0x1400500f0
mov r9d, eax
mov edx, 0x749
jmp 0x14005014f
lea rcx, [rsp + 0x30]
call fcn.14000e3c0
nop
lea rcx, [rbp - 0x30]
call fcn.140012244
xor eax, eax
jmp 0x140050194
mov edx, 0x746
jmp 0x140050169
mov rcx, qword [rbp + 0x2d8]
mov r9d, 0x8007007a
lea r8, [0x1400b49c8]
mov edx, 0x739
call fcn.1400205f4
nop
lea rcx, [rsp + 0x30]
call fcn.14000e3c0
mov ebx, 0x8007007a
jmp 0x140050189
mov ebx, 0x8000ffff
mov edx, 0x736
mov r9d, ebx
lea r8, [0x1400b49c8]
mov rcx, qword [rbp + 0x2d8]
call fcn.1400205f4
jmp 0x14005017e
mov edx, 0x735
lea r8, [0x1400b49c8]
mov rcx, qword [rbp + 0x2d8]
call fcn.14003ef04
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.14000e3c0
nop
lea rcx, [rbp - 0x30]
call fcn.140012244
mov eax, ebx
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140024b20
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret