Function at 0x1000b230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab0d9
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x100dfa44]
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 0x1000bb73
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1007c2c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x100b57d8
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 0x1000b2c1
push 0x100b57d8
call edi
mov esi, eax
call fcn.10001a90
mov dword [ebp - 0x250], eax
test eax, eax
je 0x1000b3c3
call fcn.10033f90
push 2
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1000b3bc
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.1000d770
push 3
push 0x100b56b0
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.1000d770
mov byte [ebp - 4], 1
call fcn.10033f90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x6d
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.10008840
mov esi, eax
push str._Initialize_error:
push esi
mov byte [ebp - 4], 2
call fcn.10009c20
add esp, 8
mov ecx, esi
push dword [ebp - 0x250]
call fcn.100098e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10009d40
lea ecx, [ebp - 0x234]
call fcn.100092e0
lea ecx, [ebp - 0x24c]
call fcn.100092e0
xor al, al
jmp 0x1000bb75
lea eax, [ebx + 4]
push eax
call fcn.10001340
add esp, 4
mov dword [ebp - 0x250], eax
test eax, eax
je 0x1000b4c8
call fcn.10033f90
push 2
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1000b3bc
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.1000d770
push 3
push 0x100b56b0
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.1000d770
mov byte [ebp - 4], 4
call fcn.10033f90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x73
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10008840
mov esi, eax
mov byte [ebp - 4], 5
push str._CreateSession_error:
push esi
call fcn.10009c20
add esp, 8
mov ecx, esi
push dword [ebp - 0x250]
call fcn.100098e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10009d40
lea ecx, [ebp - 0x24c]
call fcn.100092e0
lea ecx, [ebp - 0x234]
call fcn.100092e0
xor al, al
jmp 0x1000bb75
cmp dword [ebx + 8], 0
lea eax, [ebx + 8]
mov dword [ebp - 0x21c], 0
jne 0x1000b5ab
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.10001270
add esp, 8
mov dword [ebp - 0x250], eax
test eax, eax
je 0x1000b5ab
call fcn.10033f90
push 2
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1000b3bc
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.1000d770
push 3
push 0x100b56b0
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.1000d770
mov byte [ebp - 4], 7
call fcn.10033f90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x7b
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10008840
mov esi, eax
mov byte [ebp - 4], 8
push str._EnumPhysicalGPUs_error:
jmp 0x1000b482
test esi, esi
je 0x1000ba92
push 0x100b5834
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1000b9b4
push 0x8a2cf5f5
call eax
add esp, 4
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x1000b6c4
call fcn.10033f90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000b6c4
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.1000d770
push 3
push 0x100b56b0
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.1000d770
mov byte [ebp - 4], 0xa
call fcn.10033f90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x88
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10008840
mov esi, eax
push str.init_SetSettings_ptr_failed
push esi
mov byte [ebp - 4], 0xb
call fcn.10009c20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10009d40
lea ecx, [ebp - 0x24c]
call fcn.100092e0
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.100092e0
mov eax, dword [ebx + 0xc]
push 0xea99498d
call eax
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x1000b7c1
call fcn.10033f90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000b7c1
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.1000d770
push 3
push 0x100b56b0
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.1000d770
mov byte [ebp - 4], 0xd
call fcn.10033f90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x8e
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10008840
mov esi, eax
push str.init_GetSettings_ptr_failed
push esi
mov byte [ebp - 4], 0xe
call fcn.10009c20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10009d40
lea ecx, [ebp - 0x24c]
call fcn.100092e0
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.100092e0
mov eax, dword [ebx + 0xc]
push 0xcfd6983e
call eax
add esp, 4
mov dword [ebx + 0x18], eax
test eax, eax
jne 0x1000b8be
call fcn.10033f90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000b8be
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.1000d770
push 3
push 0x100b56b0
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.1000d770
mov byte [ebp - 4], 0x10
call fcn.10033f90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x94
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10008840
mov esi, eax
push str.init_EnumSettings_ptr_failed
push esi
mov byte [ebp - 4], 0x11
call fcn.10009c20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10009d40
lea ecx, [ebp - 0x24c]
call fcn.100092e0
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.100092e0
mov eax, dword [ebx + 0xc]
push 0x1eb13791
call eax
add esp, 4
mov dword [ebx + 0x1c], eax
test eax, eax
jne 0x1000bb70
call fcn.10033f90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000bb70
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.1000d770
push 3
push 0x100b56b0
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.1000d770
mov byte [ebp - 4], 0x13
call fcn.10033f90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x9a
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10008840
mov esi, eax
push str.init_GetSettingNameFromId_ptr_failed
push esi
mov byte [ebp - 4], 0x14
call fcn.10009c20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10009d40
lea ecx, [ebp - 0x24c]
call fcn.100092e0
lea ecx, [ebp - 0x234]
jmp 0x1000bb6b
call fcn.10033f90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000bb70
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.1000d770
push 3
push 0x100b56b0
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.1000d770
mov byte [ebp - 4], 0x16
call fcn.10033f90
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x9d
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10008840
mov esi, eax
push str.init_Query_Interface_failed
push esi
mov byte [ebp - 4], 0x17
call fcn.10009c20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10009d40
lea ecx, [ebp - 0x24c]
call fcn.100092e0
lea ecx, [ebp - 0x234]
jmp 0x1000bb6b
call fcn.10033f90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000bb70
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.1000d770
push 3
push 0x100b56b0
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.1000d770
mov byte [ebp - 4], 0x19
call fcn.10033f90
mov edi, eax
lea ecx, [ebp - 0x3b0]
push 0xa0
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10008840
mov esi, eax
push str.cant_load_nvapi.dll
push esi
mov byte [ebp - 4], 0x1a
call fcn.10009c20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3b0]
call fcn.10009d40
lea ecx, [ebp - 0x268]
call fcn.100092e0
lea ecx, [ebp - 0x280]
call fcn.100092e0
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.10035ef0
mov esp, ebp
pop ebp
ret