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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1402e4100]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor r13d, r13d
mov dword [rsp + 0x28], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
add rcx, 0x20
call fcn.1400d9dd0
nop
lea r14, [rdi + 0x40]
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x24], r13d
lea rcx, [rsp + 0x24]
call fcn.1400aae20
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400b0550
mov rcx, rbx
call fcn.1400aae20
mov ecx, dword [rax]
mov dword [r14], ecx
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
lea r8, [r14 + 8]
lea rdx, [0x1402a6f30]
lea rcx, [rbp - 0x78]
call fcn.140072690
lea ecx, [r13 + 0x38]
call fcn.1400a9520
mov rbx, rax
call fcn.1400721b0
mov rdx, rbx
lea ecx, [r13 + 8]
call fcn.140072180
mov qword [rax], rbx
call fcn.1400721b0
lea rdx, [rbx + 8]
lea ecx, [r13 + 8]
call fcn.140072180
mov qword [rax], rbx
mov qword [r14 + 8], rbx
lea rcx, [rbp - 0x78]
call fcn.1400726b0
nop
mov qword [r14 + 0x18], r13
mov qword [r14 + 0x20], r13
mov qword [r14 + 0x28], r13
lea rdx, [0x1402a6f30]
lea rcx, [r14 + 0x18]
call fcn.140072670
nop
mov qword [r14 + 0x30], 7
mov qword [r14 + 0x38], 8
mov dword [r14], 0x3f800000
mov rax, qword [r14 + 8]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140072680
mov r8, qword [rsp + 0x30]
lea edx, [r13 + 0x10]
lea rcx, [r14 + 0x18]
call fcn.140158df0
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call fcn.140266b40
mov r8d, 0x104
lea rdx, [rbp + 0x90]
lea rcx, str._NT_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1401563fc
lea rdx, [rbp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1401563fc
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call fcn.140266b40
lea rcx, [rbp - 0x70]
call fcn.140157930
nop
lea rdx, str.srv
lea rcx, [rbp - 0x60]
call fcn.1401595e0
mov rcx, rax
lea rdx, [rbp + 0x90]
call fcn.1401595e0
mov rcx, rax
lea rdx, str.Symbolshttp:__msdl.microsoft.com_download_symbols
call fcn.1401595e0
nop
lea rcx, [rsp + 0x50]
call fcn.1400d3ca0
lea rcx, [rsp + 0x50]
call fcn.1400da880
nop
mov dword [rsp + 0x28], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov rcx, qword [rbp + 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140156394
mov rax, qword [rbp - 0x18]
mov r8, qword [rax]
test r8, r8
je 0x140156394
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x10]
cmovb r8, qword [rbp + 0x10]
sub r8, rdx
sar r8, 1
jmp 0x1401563c9
test cl, 4
jne 0x1401563bf
mov rax, qword [rbp - 0x20]
mov r8, qword [rax]
test r8, r8
je 0x1401563bf
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp - 8]
movsxd rcx, dword [rax]
lea r8, [r8 + rcx*2]
sub r8, rdx
sar r8, 1
jmp 0x1401563c9
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1401563d9
lea rcx, [rsp + 0x50]
call fcn.1400e7fd0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rdi + 0x20]
call fcn.1400e78c0
lea rcx, [rsp + 0x50]
call fcn.1400d1500
nop
lea rcx, [rbp - 0x70]
call fcn.140156510
nop
mov rax, rdi
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1401de720
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret