Function at 0x140048750
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 [0x1400fc100]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
movzx edx, byte [rbp - 0x78]
add rcx, 0x20
call fcn.1400042d0
lea rcx, [rdi + 0x20]
call fcn.1400098c0
nop
lea r14, [rdi + 0x40]
mov qword [rbp - 0x80], r14
mov dword [r14], r13d
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
lea r8, [r14 + 8]
lea rdx, [0x1400e3ce0]
lea rcx, [rbp - 0x78]
call fcn.1400017a0
lea ecx, [r13 + 0x38]
call fcn.14000cce0
mov rbx, rax
call fcn.140001160
mov rdx, rbx
lea ecx, [r13 + 8]
call fcn.140001150
mov qword [rax], rbx
call fcn.140001160
lea rdx, [rbx + 8]
lea ecx, [r13 + 8]
call fcn.140001150
mov qword [rax], rbx
mov qword [r14 + 8], rbx
lea rcx, [rbp - 0x78]
call fcn.1400017c0
nop
mov qword [r14 + 0x18], r13
mov qword [r14 + 0x20], r13
mov qword [r14 + 0x28], r13
lea rdx, [0x1400e3ce0]
lea rcx, [r14 + 0x18]
call fcn.140001780
nop
mov qword [r14 + 0x30], 7
mov qword [r14 + 0x38], 8
mov dword [r14], 0x3f800000
mov rax, qword [r14 + 8]
mov qword [rsp + 0x28], rax
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140001790
mov r8, qword [rsp + 0x28]
lea edx, [r13 + 0x10]
lea rcx, [r14 + 0x18]
call fcn.14004a140
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call fcn.1400bc070
mov r8d, 0x104
lea rdx, [rbp + 0x90]
lea rcx, str._NT_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1400489eb
lea rdx, [rbp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400489eb
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call fcn.1400bc070
lea rcx, [rbp - 0x70]
call fcn.140049af0
nop
lea rdx, str.srv
lea rcx, [rbp - 0x60]
call fcn.14004a460
mov rcx, rax
lea rdx, [rbp + 0x90]
call fcn.14004a460
mov rcx, rax
lea rdx, str.Symbolshttp:__msdl.microsoft.com_download_symbols
call fcn.14004a460
nop
lea r8, [rbp + 0x1c]
movzx edx, byte [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.14000ed90
lea rcx, [rsp + 0x48]
call fcn.1400098c0
nop
mov dword [rsp + 0x20], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov rcx, qword [rbp + 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140048983
mov rax, qword [rbp - 0x18]
mov r8, qword [rax]
test r8, r8
je 0x140048983
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 0x1400489b8
test cl, 4
jne 0x1400489ae
mov rax, qword [rbp - 0x20]
mov r8, qword [rax]
test r8, r8
je 0x1400489ae
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 0x1400489b8
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400489c8
lea rcx, [rsp + 0x48]
call fcn.14001a2f0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rdi + 0x20]
call fcn.14001a200
lea rcx, [rsp + 0x48]
call fcn.1400079d0
nop
lea rcx, [rbp - 0x70]
call fcn.140048ac0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.14008e960
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