Function at 0x140007110
Capabilities:
Get common file path

Disassembly:
jmp 0x140056550
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x2560
call fcn.140001170
sub rsp, rax
mov rdi, rsp
mov ecx, 0x958
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2570]
mov qword [rsp + 0x2548], 0xfffffffffffffffe
mov rax, qword [0x1401b1f88]
xor rax, rsp
mov qword [rsp + 0x2558], rax
mov byte [rsp + 0x30], 1
mov rax, qword [rsp + 0x2578]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov dword [rsp + 0x494], 0x20000001
lea rcx, [rsp + 0x4a4]
call fcn.140007f40
nop
mov rcx, qword [rsp + 0x2578]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x14005664f
lea rdx, [rsp + 0x280]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14005664f
lea r8, [0x140170a0c]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.140002bc0
mov r8, qword [rsp + 0x2578]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.140002bc0
lea rax, [rsp + 0x280]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetErrorMode]
mov dword [rsp + 0x4b4], eax
mov eax, dword [rsp + 0x4b4]
or eax, 1
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.140005f90
mov qword [rsp + 0x4b8], rax
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x4c0], rax
cmp qword [rsp + 0x4c0], 0
je 0x140056891
mov rax, qword [rsp + 0x2570]
cmp qword [rax + 8], 0
je 0x1400566d0
call fcn.140005f90
sub rax, qword [rsp + 0x4b8]
mov rcx, qword [rsp + 0x2570]
mov rcx, qword [rcx + 8]
mov dword [rcx + 0x3c], eax
mov dword [rsp + 0x24e4], 0x29bb
mov r9d, 0x1000
lea r8, [rsp + 0x4e0]
mov edx, 0x29bb
mov rcx, qword [rsp + 0x4c0]
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140056883
mov rax, qword [0x140170bf8]
mov qword [rsp + 0x24f8], rax
lea r8, [rsp + 0x2518]
lea rdx, [rsp + 0x24f8]
lea rcx, [rsp + 0x4e0]
call fcn.140005860
mov qword [rsp + 0x2528], rax
cmp qword [rsp + 0x2528], 0
je 0x140056883
mov rcx, qword [rsp + 0x2528]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005679b
mov rax, qword [rsp + 0x2528]
mov qword [rsp + 0x28], rax
lea rax, str.Dependency_module__ls_has_been_loaded_already
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, 0xca
lea rdx, [0x140170cc0]
mov rax, qword [rsp + 0x2570]
mov rcx, qword [rax]
call fcn.140001970
jmp 0x14005685f
mov eax, dword [rsp + 0x40]
cmp rax, 0x40
jb 0x14005680d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [0x140170d20]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0xd3
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsNvcPluginLoadHelperWin32.cpp
mov rax, qword [rsp + 0x2570]
mov rcx, qword [rax]
call fcn.140001970
mov r8, qword [rsp + 0x38]
lea rdx, str.Dependency_count_exceeded_maximum_for__ls
mov ecx, 0x20
call fcn.140007d00
mov byte [rsp + 0x30], 0
mov edx, 0x20000001
lea rcx, [rsp + 0x4a4]
call fcn.140003520
jmp 0x140056883
mov rdx, qword [rsp + 0x2528]
mov rcx, qword [rsp + 0x2570]
call fcn.140006ed0
mov ecx, dword [rsp + 0x40]
mov qword [rsp + rcx*8 + 0x60], rax
mov eax, dword [rsp + 0x40]
cmp qword [rsp + rax*8 + 0x60], 0
je 0x140056843
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x14005685f
mov byte [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x4a4]
call fcn.140003520
jmp 0x140056883
lea r8, [rsp + 0x2518]
lea rdx, [rsp + 0x24f8]
xor ecx, ecx
call fcn.140005860
mov qword [rsp + 0x2528], rax
jmp 0x140056738
mov rcx, qword [rsp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400568ba
mov r8b, 1
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x2570]
call fcn.140008370
mov rcx, qword [rsp + 0x2580]
mov qword [rcx], rax
mov ecx, dword [rsp + 0x4b4]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [rsp + 0x2530], 0
jmp 0x1400568e4
mov eax, dword [rsp + 0x2530]
inc eax
mov dword [rsp + 0x2530], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x2530], eax
jae 0x140056905
mov eax, dword [rsp + 0x2530]
mov rcx, qword [rsp + rax*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400568d4
mov rax, qword [rsp + 0x2580]
cmp qword [rax], 0
je 0x140056920
mov dword [rsp + 0x2550], 1
jmp 0x14005692b
mov dword [rsp + 0x2550], 0
movzx eax, byte [rsp + 0x2550]
mov byte [rsp + 0x2540], al
lea rcx, [rsp + 0x4a4]
call fcn.140007c30
movzx eax, byte [rsp + 0x2540]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401710b0]
call fcn.14000eab0
mov eax, edi
mov rcx, qword [rsp + 0x2558]
xor rcx, rsp
call fcn.140004ef0
add rsp, 0x2560
pop rdi
ret