Function at 0x140059310
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400ae3a8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rdx
mov r14, rcx
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x208
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rsp + 0x28]
lea r8d, [rdx + 0x68]
call sub.msvcrt.dll_memset
and qword [r14], 0
lea rcx, [rbp - 0x70]
or qword [rsp + 0x20], 0xffffffffffffffff
mov ebx, 0x104
mov edx, ebx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x1400593a9
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14005960e
lea r8, str.FVEAPI.DLL
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140059898
mov ebx, eax
test eax, eax
js 0x14005960e
xor r8d, r8d
lea rcx, [rbp - 0x70]
xor edx, edx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14005938a
lea rdx, str.FveOpenVolumeW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x28], rax
mov rcx, rdi
test rax, rax
jne 0x1400594ca
lea rdx, str.FveGetStatusBasicW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140059446
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400595fa
lea rdx, str.FveSetFipsAllowDisabled
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140059427
lea rdx, str.FveDisableAuthenticationW
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140059427
lea rdx, str.FveDisableAuthenticationW
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140059427
lea rdx, str.FveEnableAuthenticationW
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x1400595b8
jmp 0x140059427
lea rdx, str.FveCloseVolume
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140059427
lea rdx, str.FveGetStatus
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140059427
lea rdx, str.FveAddAuthMethodInformation
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140059427
lea rdx, str.FveGetAuthMethodInformation
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140059427
lea rdx, str.FveDeleteAuthMethod
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140059427
lea rdx, str.FveCommitChanges
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140059427
lea rdx, str.FveGetSecureBootBindingState
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
mov qword [r14], rdi
xor edi, edi
movaps xmmword [rsi], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsi + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsi + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsi + 0x30], xmm1
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rsi + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rsi + 0x50], xmm1
movaps xmmword [rsi + 0x60], xmm0
test rdi, rdi
je 0x14005960e
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14005b270
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret