Function at 0x10044db0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1022c068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x4c], esi
push edi
mov dword [ebp - 0x44], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x1004522e
mov ecx, esi
call fcn.10042740
test eax, eax
jne 0x1004522e
cmp dword [0x10234a1c], ebx
jne 0x10044e50
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x100451da
cmp dword [0x10234a1c], ebx
jne 0x10044e29
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10234a1c], eax
test eax, eax
je 0x100451da
push 0x10234c40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [0x10234a1c]
mov ecx, esi
push eax
call dword [0x101d3368]
call esi
test eax, eax
je 0x100451da
mov esi, dword [ebp - 0x4c]
mov eax, dword [0x10234c40]
mov ecx, 0x42ea
mov dword [ebp - 0x50], eax
call fcn.10045e60
test eax, eax
je 0x10044f38
xor eax, eax
xor edi, edi
mov word [0x10234c60], ax
mov eax, dword [str.nvldumdx.dll]
test eax, eax
je 0x10044efc
nop dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10044ef0
push 0x104
push 0x10234c60
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
test esi, esi
je 0x10044ef0
mov ax, word [0x10234c60]
cmp ax, 0x5c
je 0x10044fc0
cmp ax, 0x2f
je 0x10044fc0
movzx eax, ax
push eax
call fcn.10198daf
add esp, 4
test eax, eax
je 0x10044ef0
cmp word [0x10234c62], 0x3a
jne 0x10044ef0
mov ax, word [0x10234c64]
cmp ax, 0x5c
je 0x10044fc0
cmp ax, 0x2f
je 0x10044fc0
mov eax, dword [edi*4 + 0x101e89c8]
inc edi
test eax, eax
jne 0x10044e80
mov eax, 0x10234c60
cmp word [0x10234c60], bx
jne 0x10044f0f
call fcn.10045260
mov esi, dword [ebp - 0x4c]
mov ecx, eax
mov edx, esi
call fcn.10045b30
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10044f31
test al, 0x50
je 0x100451da
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x18], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x1c
push eax
movups xmmword [ebp - 0x3c], xmm0
xor edi, edi
mov dword [ebp - 8], eax
movq qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x10234c48]
test eax, eax
jne 0x10044f7a
xor edx, edx
mov ecx, str.Setupapi.dll
call fcn.10042170
mov dword [0x10234c48], eax
test eax, eax
je 0x10044fb9
cmp dword [0x10234eb0], ebx
jne 0x10044f9c
push str.SetupDiGetDeviceRegistryPropertyW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10234eb0], eax
test eax, eax
je 0x10044fb9
mov eax, dword [0x10234c48]
cmp dword [0x10234e90], ebx
jne 0x10044ff0
push str.SetupDiDestroyDeviceInfoList
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10234e90], eax
test eax, eax
jne 0x10044ff0
xor ebx, ebx
jmp 0x100450a9
test esi, esi
je 0x10044fd4
cmp word [esi*2 + 0x10234c60], 0x5c
je 0x10044fd4
sub esi, 1
jne 0x10044fc4
add esi, esi
cmp esi, 0x20a
jae 0x1004524c
xor eax, eax
mov word [esi + 0x10234c60], ax
jmp 0x10044efc
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x18]
call fcn.10046070
add esp, 4
test eax, eax
jne 0x1004500c
xor ebx, ebx
xor edi, edi
jmp 0x100451da
mov esi, dword [0x10234eb0]
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 9
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, esi
push eax
push ebx
call dword [0x101d3368]
call esi
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1004507b
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x1004507b
mov esi, dword [0x10234eb0]
lea eax, [ebp - 0x40]
push 0
push dword [ebp - 0x48]
mov ecx, esi
push edi
push 0
push 9
push eax
push ebx
call dword [0x101d3368]
call esi
test eax, eax
je 0x1004507b
mov edx, edi
mov ecx, str.SYSTEMCurrentControlSetControlClass_
call fcn.10045b30
mov dword [ebp - 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x10045097
mov esi, dword [0x10234e90]
mov ecx, esi
push ebx
call dword [0x101d3368]
call esi
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100450a6
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x4c]
xor edi, edi
test ebx, ebx
je 0x100451da
mov ecx, esi
call fcn.10046310
mov dword [ebp - 0x44], eax
test eax, eax
je 0x100451da
mov ecx, eax
call fcn.100459b0
mov esi, eax
push str..dll
push esi
call fcn.101a5ad5
add esp, 8
test eax, eax
je 0x100450f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100450f4
mov ecx, dword [ebp - 0x44]
call fcn.10046610
mov edi, eax
push str..sys
push esi
call fcn.101a5ad5
add esp, 8
test eax, eax
je 0x1004519a
test edi, edi
jne 0x100451da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x44]
test eax, eax
jne 0x1004516d
cmp dword [ebp - 0x50], edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
cmove eax, ecx
mov dword [ebp - 0x14], str.UserModeDriverNameWow
push eax
push ebx
mov ecx, esi
mov dword [ebp - 0x10], str.OpenGLDriverNameWow
mov dword [ebp - 0xc], str.UserModeDListDriverNameWow
mov dword [ebp - 0x24], str.UserModeDriverName
mov dword [ebp - 0x20], str.OpenGLDriverName
mov dword [ebp - 0x1c], str.UserModeDListDriverName
call fcn.10046820
mov edi, eax
add esp, 8
test edi, edi
jne 0x100451da
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100451a1
mov dword [ebp - 8], eax
mov ecx, esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], str.SOFTWAREKhronosVulkanDrivers
push eax
mov dword [ebp - 0xc], str.SOFTWAREKhronosOpenCLVendors
call fcn.10046a70
add esp, 4
mov edi, eax
jmp 0x1004519d
mov esi, dword [ebp - 0x44]
test edi, edi
jne 0x100451da
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100451da
cmp dword [ebp - 0x50], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc]
cmove eax, ecx
mov dword [ebp - 0xc], str.DriverSupportModulesWow
push eax
push ebx
mov ecx, esi
mov dword [ebp - 0x1c], str.DriverSupportModules
call fcn.10046820
add esp, 8
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x10045209
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1004521b
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret
push 0xa0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10186332
mov esp, ebp
pop ebp
ret
call fcn.10186824
int3