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

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0xa60
mov rax, qword [0x1801e4940]
xor rax, rsp
mov qword [rsp + 0xa50], rax
xor esi, esi
mov ebx, esi
cmp dword [0x1801e5a78], ebx
je 0x180023785
mov eax, 1
jmp 0x180023a24
xor ecx, ecx
mov qword [rsp + 0xa70], rdi
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
xor eax, eax
lea rdi, [rsp + 0x230]
mov ecx, 0x410
lea rdx, [rsp + 0x230]
rep stosb byte [rdi], al
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1800239d4
lea rdx, [0x18002fd9c]
lea rcx, [rsp + 0x230]
call fcn.18001f8c0
lea rcx, [rsp + 0x230]
call fcn.180026eb0
lea rdx, str.dbghelp.dll
mov rcx, rax
mov rdi, rax
call fcn.18001f8c0
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1801e5a68], rax
test rax, rax
jne 0x180023825
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Cannot_load_dbghelp.dll__make_sure_it_is_in_program_directory
jmp 0x1800239e1
lea rdx, str.symsrv.dll
mov word [rdi], si
mov rcx, rdi
call fcn.18001f8c0
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1801e5a70], rax
test rax, rax
jne 0x180023863
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Cannot_load_symsrv.dll__make_sure_it_is_in_program_directory
jmp 0x1800239e1
mov rcx, qword [0x1801e5a68]
lea rdx, str.SymSetOptions
call fcn.180023de0
mov rcx, qword [0x1801e5a68]
lea rdx, str.SymInitializeW
mov qword [0x1801e5a48], rax
call fcn.180023de0
mov rcx, qword [0x1801e5a68]
lea rdx, str.SymLoadModuleExW
mov qword [0x1801e5a50], rax
call fcn.180023de0
mov rcx, qword [0x1801e5a68]
lea rdx, str.SymFromName
mov qword [0x1801e5a58], rax
call fcn.180023de0
mov rdx, qword [0x1801e5a48]
mov qword [0x1801e5a60], rax
test rdx, rdx
je 0x1800239c1
cmp qword [0x1801e5a50], rbx
je 0x1800239c1
cmp qword [0x1801e5a58], rbx
je 0x1800239c1
test rax, rax
je 0x1800239c1
mov ecx, 0x10603
call rdx
xor eax, eax
lea rdi, [rsp + 0x640]
mov ecx, 0x410
lea rdx, [rsp + 0x20]
rep stosb byte [rdi], al
lea rdi, [rsp + 0x20]
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, str._temp_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x102
ja 0x1800239b2
lea r9, [rsp + 0x20]
mov edx, 0x208
lea r8, str.srv_wsSymbolshttps:__msdl.microsoft.com_download_symbols
lea rcx, [rsp + 0x640]
call fcn.180015b10
xor r8d, r8d
lea rdx, [rsp + 0x640]
mov rcx, 0xffffffffffffffff
call qword [0x1801e5a50]
mov ebx, eax
test eax, eax
jne 0x180023995
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____SymInitialize_failed
call fcn.180023120
jmp 0x1800239a6
lea rdx, str.___Symbols_initialized_r_n
mov ecx, 2
call fcn.1800224a0
mov dword [0x1801e5a78], ebx
test ebx, ebx
jne 0x180023a1a
jmp 0x1800239e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Cannot_query_temp_directory
jmp 0x1800239e1
lea rdx, str.____Not_all_symbol_API_pointers_resolved__abort_r_n
mov ecx, 1
call fcn.1800224a0
jmp 0x1800239e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Cannot_query_current_directory
mov edx, eax
call fcn.180023120
mov rcx, qword [0x1801e5a68]
test rcx, rcx
je 0x180023a01
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1801e5a68], rsi
mov rcx, qword [0x1801e5a70]
test rcx, rcx
je 0x180023a1a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1801e5a70], rsi
mov rdi, qword [rsp + 0xa70]
mov eax, ebx
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.180028780
mov rbx, qword [rsp + 0xa78]
add rsp, 0xa60
pop rsi
ret