Function at 0x14000ba28
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x398]
sub rsp, 0x470
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14001a170]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r14, rcx
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x150]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], bl
mov byte [rsp + 0x21], bl
and qword [rsp + 0x28], rbx
mov edi, 0x104
mov edx, edi
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000badc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000bc98
lea r9, str.DTUSelfhost.dll
lea r8, [rbp + 0x150]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchCombine]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x14000bc98
lea rcx, [rsp + 0x40]
call fcn.14000c2a4
mov edi, eax
test eax, eax
js 0x14000bc98
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_LoadLibraryW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000babd
mov rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x14000bb6f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
and qword [rsp + 0x28], 0
lea rdx, str.GetURL
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov esi, 0x80070000
test rax, rax
jne 0x14000bbad
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, esi
test eax, eax
cmovle ecx, eax
jmp 0x14000bbba
lea rcx, [rsp + 0x28]
call qword [0x1400117d8]
mov ecx, eax
test ecx, ecx
js 0x14000bc01
mov r12, qword [rsp + 0x28]
and qword [rsp + 0x28], 0
mov r15, qword [r14 + 8]
test r15, r15
je 0x14000bbfd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov qword [r14 + 8], r12
lea rdx, str.GetTestOverride
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
jne 0x14000bc34
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, esi
test eax, eax
cmovle ecx, eax
jmp 0x14000bc41
lea rcx, [rsp + 0x20]
call qword [0x1400117d8]
mov ecx, eax
test ecx, ecx
js 0x14000bc4c
mov al, byte [rsp + 0x20]
mov byte [r14], al
lea rdx, str.GetUseHttp
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
jne 0x14000bc7f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, esi
test eax, eax
cmovle edi, eax
jmp 0x14000bc8c
lea rcx, [rsp + 0x21]
call qword [0x1400117d8]
mov edi, eax
test edi, edi
js 0x14000bc98
mov al, byte [rsp + 0x21]
mov byte [r14 + 1], al
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14000bcaf
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
test rbx, rbx
je 0x14000bcc3
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14000f210
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret