Function at 0x41bf60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x238], ecx
push 0x104
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x238]
call fcn.0041baa0
push 0x555c64
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp - 0x238]
call fcn.0041b750
movzx edx, byte [0x56c618]
test edx, edx
jne 0x41c02d
mov ecx, dword [ebp - 0x238]
call fcn.0041b790
test eax, eax
jge 0x41c019
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x11c]
call fcn.0041d2e0
mov eax, dword [ebp - 0x120]
push eax
push str.open_driver_failed__errorcode__d
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0041d340
add esp, 0xc
lea ecx, [ebp - 0x11c]
call fcn.0041d300
push eax
push str.CGuard::CheckDriverState__s
call fcn.0041a270
add esp, 8
lea ecx, [ebp - 0x11c]
call fcn.00411630
jmp 0x41c02d
push str.CGuard::CheckDriverState_SUCCESS
call fcn.0041a270
add esp, 4
mov byte [0x56c618], 1
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
call fcn.004344d0
add esp, 4
mov ecx, dword [ebp - 0x238]
call fcn.0041bc30
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
push eax
call fcn.00434520
add esp, 4
movzx ecx, byte [0x56c618]
test ecx, ecx
je 0x41c071
movzx edx, byte [ebp - 1]
test edx, edx
je 0x41c10f
mov byte [ebp - 0x228], 0
push 0x103
push 0
lea eax, [ebp - 0x227]
push eax
call fcn.004611e0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x228]
push ecx
call fcn.0041bd50
add esp, 8
push 0x555cd4
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41c0f6
call fcn.0041bd80
mov byte [ebp - 0x229], al
movzx ecx, byte [ebp - 0x229]
test ecx, ecx
jne 0x41c0f4
mov edx, dword [ebp + 0xc]
mov dword [edx], 8
push str.EXE_release_driver_failed_
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00408070
jmp 0x41c10f
mov eax, dword [ebp + 0xc]
mov dword [eax], 7
push str.EXE_File_that_release_driver_lost_
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00408070
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
jne 0x41c1d6
mov ecx, dword [ebp - 0x238]
call fcn.0041b790
test eax, eax
jl 0x41c1a9
push str.CGuard::CheckDriverState_opendrives_sucess_2
call fcn.0041a270
add esp, 4
mov dword [ebp - 0x234], 0
push 4
lea edx, [ebp - 0x234]
push edx
push 0
push 0
push 0x80002034
mov eax, dword [ebp - 0x238]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 4
jne 0x41c190
cmp dword [ebp - 0x234], 1
jne 0x41c190
mov ecx, dword [ebp - 0x238]
mov dword [ecx + 0x220], 1
jmp 0x41c1a0
mov edx, dword [ebp - 0x238]
mov dword [edx + 0x220], 2
mov byte [0x56c618], 1
jmp 0x41c1d6
push str.CGuard::CheckDriverState_opendrives_failed_2
call fcn.0041a270
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], 9
push str.open_driver_failed_
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00408070
mov byte [0x56c618], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041c200
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret 8