Function at 0x14003e560
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x380
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea rdi, [rcx + 0x20]
mov qword [rdi + 0x10], r15
mov r14d, 7
mov qword [rdi + 0x18], r14
mov word [rdi], r15w
lea rbx, [rcx + 0x40]
mov qword [rsp + 0x20], rbx
mov dword [rbx], r15d
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
xor r8d, r8d
xor edx, edx
call fcn.140010770
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov dword [rbx], 0x3f800000
lea edx, [r15 + 8]
mov rcx, rbx
call fcn.1400104d0
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x60]
call fcn.1400482f0
mov r8d, 0x104
lea rdx, [rbp + 0x60]
lea rcx, str._NT_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x14003e870
lea rdx, [rbp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14003e870
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x60]
call fcn.1400482f0
lea rax, [0x140084178]
mov qword [rsp + 0x60], rax
lea rax, [0x140084198]
mov qword [rsp + 0x70], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 8], rax
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.14003fea0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + 0x78], rax
lea ecx, [r15 + 0x10]
call fcn.14004625c
mov rbx, rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov cl, 1
call fcn.1400437a8
mov qword [rbx + 8], rax
mov qword [rbp - 0x28], rbx
lea rax, [rbp - 0x80]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x3c]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x60], r15
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x20], r15
mov dword [rbp - 0x18], r15d
lea rdx, str.srv
lea rcx, [rsp + 0x70]
call fcn.140002fc0
mov rcx, rax
lea rdx, [rbp + 0x60]
call fcn.140002fc0
mov rcx, rax
lea rdx, str.Symbolshttp:__msdl.microsoft.com_download_symbols
call fcn.140002fc0
nop
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r14
mov word [rsp + 0x28], r15w
mov dword [rsp + 0x20], 5
mov ecx, dword [rbp - 0x18]
test cl, 2
jne 0x14003e7cc
mov rax, qword [rbp - 0x48]
mov r8, qword [rax]
test r8, r8
je 0x14003e7cc
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x20]
cmovb r8, qword [rbp - 0x20]
sub r8, rdx
jmp 0x14003e7f4
test cl, 4
jne 0x14003e806
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003e806
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x28]
call fcn.140002410
mov r14, qword [rsp + 0x40]
lea rax, [rsp + 0x28]
cmp rdi, rax
je 0x14003e82b
mov rcx, rdi
call fcn.1400020b0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdi + 0x10], xmm1
jmp 0x14003e865
cmp r14, 8
jb 0x14003e865
lea rdx, [r14*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e85f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e89f
call fcn.14004654c
nop
lea rcx, [rsp + 0x60]
call fcn.14003e8f0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140045ef0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14004cff4
nop
int3