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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x3a0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r14, rcx
mov qword [rsp + 0x60], 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]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov esi, 7
mov qword [rdi + 0x18], rsi
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
lea ecx, [rsi + 0x31]
call fcn.18004094c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
lea edx, [rsi + 9]
call fcn.180009b10
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x70]
call fcn.1800634b0
mov r8d, 0x104
lea rdx, [rbp + 0x70]
lea rcx, str._NT_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x18003a5f8
lea rdx, [rbp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x18003a5f8
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.1800634b0
lea rcx, [rsp + 0x70]
call fcn.18003b5c0
nop
lea rdx, str.srv
lea rcx, [rbp - 0x80]
call fcn.18003bfa0
mov rcx, rax
lea rdx, [rbp + 0x70]
call fcn.18003bfa0
mov rcx, rax
lea rdx, str.Symbolshttp:__msdl.microsoft.com_download_symbols
call fcn.18003bfa0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movdqa xmm6, xmmword [0x180078510]
movdqu xmmword [rsp + 0x38], xmm6
mov word [rsp + 0x28], r15w
mov dword [rsp + 0x20], 2
movups xmmword [rsp + 0x48], xmm0
mov rcx, qword [rbp - 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x18003a507
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x18003a507
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
sar r8, 1
jmp 0x18003a53c
test cl, 4
jne 0x18003a532
mov rax, qword [rbp - 0x40]
mov r8, qword [rax]
test r8, r8
je 0x18003a532
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd rcx, dword [rax]
lea r8, [r8 + rcx*2]
sub r8, rdx
sar r8, 1
jmp 0x18003a53c
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x18003a551
lea rcx, [rsp + 0x28]
call fcn.180009640
movdqu xmm6, xmmword [rsp + 0x38]
lea rax, [rsp + 0x28]
cmp rdi, rax
je 0x18003a5ae
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x18003a59a
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18003a595
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18003a62c
mov rcx, r8
call fcn.180040cf8
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm6
mov word [rsp + 0x28], r15w
jmp 0x18003a5b3
mov rsi, qword [rsp + 0x40]
cmp rsi, 7
jbe 0x18003a5ed
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a5e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a62c
call fcn.180040cf8
nop
lea rcx, [rsp + 0x70]
call fcn.18003a670
nop
mov rax, r14
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1800410a0
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18004ce30
nop
int3