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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov ecx, 0x1000
call fcn.1400ada30
mov rbx, rax
test rax, rax
jne 0x14004d248
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14004d503
lea r8, [0x140162668]
mov byte [rax], 0
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea rdx, [rsp + 0x20]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x14004d2a0
lea r8, [rsp + 0x20]
mov byte [rbp + 0x31f], 0
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, [0x14016266c]
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
mov r8d, 0x400
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14004d35a
mov rdx, 0xffffffffffffffff
mov byte [rbp + 0x31f], 0
mov rcx, rdx
lea rax, [rsp + 0x20]
inc rcx
cmp byte [rax + rcx], 0
jne 0x14004d2d1
lea rax, [rsp + 0x20]
dec rax
add rcx, rax
lea rax, [rsp + 0x20]
cmp rcx, rax
jb 0x14004d321
movabs r8, 0x200000000801
nop dword [rax]
movzx eax, byte [rcx]
sub al, 0x2f
cmp al, 0x2d
ja 0x14004d30f
bt r8, rax
jb 0x14004d31e
dec rcx
lea rax, [rsp + 0x20]
cmp rcx, rax
jae 0x14004d300
jmp 0x14004d321
mov byte [rcx], 0
lea rax, [rsp + 0x20]
inc rdx
cmp byte [rax + rdx], 0
jne 0x14004d326
test rdx, rdx
je 0x14004d35a
lea r8, [rsp + 0x20]
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, [0x14016266c]
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
mov r8d, 0x400
lea rdx, [rsp + 0x20]
lea rcx, str._NT_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14004d3a3
lea r8, [rsp + 0x20]
mov byte [rbp + 0x31f], 0
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, [0x14016266c]
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
mov r8d, 0x400
lea rdx, [rsp + 0x20]
lea rcx, str._NT_ALTERNATE_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14004d3ec
lea r8, [rsp + 0x20]
mov byte [rbp + 0x31f], 0
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, [0x14016266c]
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
mov r8d, 0x400
lea rdx, [rsp + 0x20]
lea rcx, str.SYSTEMROOT
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14004d471
lea r8, [rsp + 0x20]
mov byte [rbp + 0x31f], 0
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, [0x14016266c]
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, str._system32
mov edx, 0x400
lea rcx, [rsp + 0x20]
call fcn.140127454
lea r8, [rsp + 0x20]
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, [0x14016266c]
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
mov r8d, 0x400
lea rdx, [rsp + 0x20]
lea rcx, str.SYSTEMDRIVE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14004d4d7
lea r8, str.SRV
mov byte [rbp + 0x31f], 0
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, [rsp + 0x20]
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, str.websymbols
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
lea r8, str.http:__msdl.microsoft.com_download_symbols_
jmp 0x14004d4de
lea r8, str.SRVc:websymbolshttp:__msdl.microsoft.com_download_symbols_
mov edx, 0x1000
mov rcx, rbx
call fcn.140127454
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.dbghelp.dll_SymInitialize]
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.140050f90
mov rbx, qword [rsp + 0x440]
add rsp, 0x430
pop rbp
ret