Function at 0x1000ba60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb909
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x100f4c44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx], 0
jne 0x1000c3ac
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1008cc60
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x100c7848
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x218]
push eax
call edi
mov esi, eax
test esi, esi
jne 0x1000baf1
push 0x100c7848
call edi
mov esi, eax
call fcn.10001a90
mov dword [ebp - 0x250], eax
test eax, eax
je 0x1000bbf6
call fcn.10043d90
push 2
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1000bbef
push 0x5e
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optcommon_nvdrs_wrapper_nvdrs_wapper.cc
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.1000e070
mov byte [ebp - 4], 1
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x81
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.10009390
mov esi, eax
push str._Initialize_error:
push esi
mov byte [ebp - 4], 2
call fcn.1000a6d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x250]
call fcn.1000a390
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.1000a7f0
lea ecx, [ebp - 0x234]
call fcn.10009d90
lea ecx, [ebp - 0x24c]
call fcn.10009d90
xor al, al
jmp 0x1000c3ae
lea eax, [ebx + 4]
push eax
call fcn.10001340
add esp, 4
mov dword [ebp - 0x250], eax
test eax, eax
je 0x1000bcfe
call fcn.10043d90
push 2
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1000bbef
push 0x5e
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optcommon_nvdrs_wrapper_nvdrs_wapper.cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 3
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.1000e070
mov byte [ebp - 4], 4
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x87
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10009390
mov esi, eax
mov byte [ebp - 4], 5
push str._CreateSession_error:
push esi
call fcn.1000a6d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x250]
call fcn.1000a390
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.1000a7f0
lea ecx, [ebp - 0x24c]
call fcn.10009d90
lea ecx, [ebp - 0x234]
call fcn.10009d90
xor al, al
jmp 0x1000c3ae
cmp dword [ebx + 8], 0
lea eax, [ebx + 8]
mov dword [ebp - 0x21c], 0
jne 0x1000bde4
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.10001270
add esp, 8
mov dword [ebp - 0x250], eax
test eax, eax
je 0x1000bde4
call fcn.10043d90
push 2
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1000bbef
push 0x5e
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optcommon_nvdrs_wrapper_nvdrs_wapper.cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 6
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.1000e070
mov byte [ebp - 4], 7
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x8f
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10009390
mov esi, eax
mov byte [ebp - 4], 8
push str._EnumPhysicalGPUs_error:
jmp 0x1000bcb8
test esi, esi
je 0x1000c2cb
push 0x100c78a4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1000c1ed
push 0x8a2cf5f5
call eax
add esp, 4
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x1000befd
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000befd
push 0x5e
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optcommon_nvdrs_wrapper_nvdrs_wapper.cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 9
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.1000e070
mov byte [ebp - 4], 0xa
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x9c
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10009390
mov esi, eax
push str.init_SetSettings_ptr_failed
push esi
mov byte [ebp - 4], 0xb
call fcn.1000a6d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.1000a7f0
lea ecx, [ebp - 0x24c]
call fcn.10009d90
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.10009d90
mov eax, dword [ebx + 0xc]
push 0xea99498d
call eax
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x1000bffa
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000bffa
push 0x5e
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optcommon_nvdrs_wrapper_nvdrs_wapper.cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.1000e070
mov byte [ebp - 4], 0xd
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0xa2
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10009390
mov esi, eax
push str.init_GetSettings_ptr_failed
push esi
mov byte [ebp - 4], 0xe
call fcn.1000a6d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.1000a7f0
lea ecx, [ebp - 0x24c]
call fcn.10009d90
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.10009d90
mov eax, dword [ebx + 0xc]
push 0xcfd6983e
call eax
add esp, 4
mov dword [ebx + 0x18], eax
test eax, eax
jne 0x1000c0f7
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000c0f7
push 0x5e
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optcommon_nvdrs_wrapper_nvdrs_wapper.cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.1000e070
mov byte [ebp - 4], 0x10
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0xa8
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10009390
mov esi, eax
push str.init_EnumSettings_ptr_failed
push esi
mov byte [ebp - 4], 0x11
call fcn.1000a6d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.1000a7f0
lea ecx, [ebp - 0x24c]
call fcn.10009d90
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.10009d90
mov eax, dword [ebx + 0xc]
push 0x1eb13791
call eax
add esp, 4
mov dword [ebx + 0x1c], eax
test eax, eax
jne 0x1000c3a9
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000c3a9
push 0x5e
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optcommon_nvdrs_wrapper_nvdrs_wapper.cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.1000e070
mov byte [ebp - 4], 0x13
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0xae
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10009390
mov esi, eax
push str.init_GetSettingNameFromId_ptr_failed
push esi
mov byte [ebp - 4], 0x14
call fcn.1000a6d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.1000a7f0
lea ecx, [ebp - 0x24c]
call fcn.10009d90
lea ecx, [ebp - 0x234]
jmp 0x1000c3a4
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000c3a9
push 0x5e
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optcommon_nvdrs_wrapper_nvdrs_wapper.cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.1000e070
mov byte [ebp - 4], 0x16
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0xb1
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10009390
mov esi, eax
push str.init_Query_Interface_failed
push esi
mov byte [ebp - 4], 0x17
call fcn.1000a6d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.1000a7f0
lea ecx, [ebp - 0x24c]
call fcn.10009d90
lea ecx, [ebp - 0x234]
jmp 0x1000c3a4
call fcn.10043d90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000c3a9
push 0x5e
push str.d:jenkins.jenkinsworkspacegroup_cleangpu_optgpu_optcommon_nvdrs_wrapper_nvdrs_wapper.cc
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], al
call fcn.1000e070
push 3
push 0x100c7710
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
call fcn.1000e070
mov byte [ebp - 4], 0x19
call fcn.10043d90
mov edi, eax
lea ecx, [ebp - 0x3b0]
push 0xb4
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10009390
mov esi, eax
push str.cant_load_nvapi.dll
push esi
mov byte [ebp - 4], 0x1a
call fcn.1000a6d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3b0]
call fcn.1000a7f0
lea ecx, [ebp - 0x268]
call fcn.10009d90
lea ecx, [ebp - 0x280]
call fcn.10009d90
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100470a0
mov esp, ebp
pop ebp
ret