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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x47c00c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
xor esi, esi
mov dword [esp + 0x10], 0
push esi
xor edi, edi
call ebx
test ebp, ebp
je 0x462f2c
push ebp
call fcn.00460fc0
add esp, 4
test eax, eax
jne 0x462f2c
cmp dword [0x47efa8], esi
jne 0x462d2a
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x462edd
cmp dword [0x47efa8], esi
jne 0x462d10
push 0x473108
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x47efa8], eax
test eax, eax
je 0x462edd
push 0x47efa4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x47efa8]
test eax, eax
je 0x462edd
mov eax, dword [0x47efa4]
push 0x42ea
mov dword [esp + 0x18], eax
call fcn.00462250
add esp, 4
test eax, eax
je 0x462d7a
call fcn.00461be0
cmp word [eax], si
jne 0x462d53
call fcn.00461cc0
push ebp
push eax
call fcn.004625e0
add esp, 8
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x462d73
test al, 0x50
je 0x462edd
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x472c5c
call fcn.00462f70
xor esi, esi
mov dword [esp + 0x14], eax
add esp, 4
cmp eax, esi
je 0x462edd
push ebp
call fcn.00460ec0
mov edi, eax
add esp, 4
test edi, edi
je 0x462edd
push edi
call fcn.004618f0
push str..dll
push eax
mov dword [esp + 0x34], eax
call fcn.00440263
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0xc
test eax, eax
je 0x462de0
call ebp
test eax, eax
jne 0x462de0
push 0x472c5c
push edi
call fcn.004613d0
add esp, 8
mov esi, eax
push str..sys
push dword [esp + 0x2c]
call fcn.00440263
add esp, 8
test eax, eax
je 0x462e96
test esi, esi
jne 0x462edd
call ebp
test eax, eax
jne 0x462e67
cmp dword [esp + 0x14], esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
cmove eax, ecx
mov dword [esp + 0x18], str.UserModeDriverNameWow
push eax
push dword [esp + 0x14]
mov dword [esp + 0x24], str.OpenGLDriverNameWow
push 0x80000002
push edi
mov dword [esp + 0x30], str.UserModeDListDriverNameWow
mov dword [esp + 0x38], str.UserModeDriverName
mov dword [esp + 0x3c], str.OpenGLDriverName
mov dword [esp + 0x40], str.UserModeDListDriverName
call fcn.00461770
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x462edd
call ebp
test eax, eax
jne 0x462e9a
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0x80000002
push edi
mov dword [esp + 0x24], str.SOFTWAREKhronosVulkanDrivers
mov dword [esp + 0x28], str.SOFTWAREKhronosOpenCLVendors
call fcn.00461600
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x462edd
call ebp
test eax, eax
jne 0x462edd
cmp dword [esp + 0x14], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
cmove eax, ecx
mov dword [esp + 0x28], str.DriverSupportModulesWow
push eax
push dword [esp + 0x14]
mov dword [esp + 0x20], str.DriverSupportModules
push 0x80000002
push edi
call fcn.00461770
add esp, 0x10
mov esi, eax
push dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalFree]
call ebp
push edi
call ebp
test esi, esi
je 0x462f09
push 0
call ebx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00438ebb
add esp, 0x2c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x462f17
push 0x7e
call ebx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00438ebb
add esp, 0x2c
ret
push 0xa0
call ebx
mov ecx, dword [esp + 0x38]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00438ebb
add esp, 0x2c
ret