Function at 0x14000b044
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x398]
sub rsp, 0x490
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x140076010]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov ebx, edx
mov rdi, rcx
mov r8d, 0x208
lea rdx, [rsp + 0x70]
lea rcx, str._LOCALAPPDATA_MicrosoftOfficeContainerData
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r14d, r14d
test eax, eax
jne 0x14000b0ae
xor edx, edx
mov ecx, 0x30303030
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_2055]
nop
cmp eax, 0x208
jbe 0x14000b0c3
xor edx, edx
mov ecx, 0x30303030
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_2055]
nop
mov eax, eax
lea r8, [rsp + rax*2 + 0x6e]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000bee0
test ebx, ebx
je 0x14000b27a
sub ebx, 1
je 0x14000b1bf
cmp ebx, 1
je 0x14000b0fd
xor edx, edx
mov ecx, 0x30303030
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_2055]
nop
lea rdx, str.readwrite
lea rcx, [rsp + 0x28]
call fcn.14000c054
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14000acc0
mov ebx, 0x1000
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x14000b164
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rbx
jb 0x14000b15d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000b15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x14000b28b
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rbx
jb 0x14000b1b4
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000b1b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000b28b
lea rdx, str.readonly
lea rcx, [rsp + 0x28]
call fcn.14000c054
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14000acc0
mov ebx, 0x1000
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x14000b226
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rbx
jb 0x14000b21f
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000b21f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x14000b28b
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rbx
jb 0x14000b1b4
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000b1b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdi + 0x10], xmm1
mov rax, rdi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1400443a0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret