Function at 0x14004ab30
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400db348]
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, [0x14009b690]
mov qword [rsp + 0x48], r12
lea rax, [0x14009b5a0]
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.140012140
mov ebx, eax
test eax, eax
jns 0x14004abf9
mov rcx, qword [rbp + 0x2e8]
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x85b
call fcn.140042724
jmp 0x14004adf9
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.1400149b0
test eax, eax
jne 0x14004ac35
mov edx, 0x85e
jmp 0x14004ad98
cmp dword [rbp + 0x14], r14d
ja 0x14004ac4d
mov ebx, 0x8000ffff
mov r9d, ebx
mov edx, 0x85f
jmp 0x14004add7
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
jbe 0x14004ac8a
mov ebx, 0x8007007a
mov r9d, ebx
mov edx, 0x862
jmp 0x14004add7
add eax, 0xfffffffe
cmp word [rbp + rax*2 + 0xa0], 0x5c
je 0x14004ad55
mov rcx, r15
lea rax, [rbp + 0xa0]
cmp word [rax], r14w
je 0x14004acb6
add rax, 2
sub rcx, 1
jne 0x14004aca6
mov rax, rcx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rcx, rcx
je 0x14004acd3
mov rax, r15
sub rax, rcx
jmp 0x14004acd6
mov rax, r14
test rcx, rcx
je 0x14004ad48
mov rdx, r15
sub rdx, rax
lea rcx, [rbp + 0xa0]
lea rcx, [rcx + rax*2]
je 0x14004ad23
lea r8, [rax + 0x7ffffefa]
add r8, rdx
lea rax, [0x1400a5b6c]
sub rax, rcx
test r8, r8
je 0x14004ad23
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x14004ad23
mov word [rcx], r9w
add rcx, 2
dec r8
sub rdx, 1
jne 0x14004ad02
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r14w
mov rax, rdx
neg rax
sbb ecx, ecx
not ecx
mov ebx, 0x8007007a
and ebx, ecx
test rdx, rdx
jne 0x14004ad55
mov r9d, ebx
mov edx, 0x866
jmp 0x14004add7
lea r8, str.ApplicationsWindowsProjectsSystemIndexPropMap
mov rdx, r15
lea rcx, [rbp + 0xa0]
call fcn.1400066a4
mov ebx, eax
test eax, eax
jns 0x14004ad78
mov edx, 0x86a
jmp 0x14004add4
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
jne 0x14004adaf
mov edx, 0x86d
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov rcx, qword [rbp + 0x2e8]
call fcn.140042704
mov ebx, eax
jmp 0x14004adef
mov dword [rsp + 0x30], r14d
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xa0]
call qword [case.0x140024575.0]
mov ebx, eax
test eax, eax
jns 0x14004adec
mov edx, 0x871
mov r9d, eax
mov rcx, qword [rbp + 0x2e8]
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
call fcn.140042724
jmp 0x14004adef
mov ebx, r14d
lea rcx, [rbp]
call fcn.14001484c
nop
lea rcx, [rsp + 0x40]
call fcn.1400142e0
mov eax, ebx
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14002a3c0
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