Function at 0x5e7560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60389a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x70f200]
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 edi, edx
mov esi, ecx
test esi, esi
je 0x5e7825
xor eax, eax
cmp ax, word [esi]
je 0x5e7825
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.005dc570
push 3
push 1
push 1
push 1
push 0x624518
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.005daa70
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 2
jne 0x5e75f7
push esi
call ebx
test eax, eax
je 0x5e75f7
lea ecx, [ebp - 0x1c]
mov bl, 1
call fcn.005dc430
mov al, bl
jmp 0x5e7827
push 0
push 1
push 1
push 0
push dword [edi]
lea ecx, [ebp - 0x1c]
call fcn.005daa70
cmp eax, 1
jle 0x5e7618
dec eax
lea ecx, [ebp - 0x1c]
push eax
call fcn.005dad50
push 0xa
push 1
push 1
push 0
push 0x6243b8
lea ecx, [ebp - 0x1c]
call fcn.005daa70
cmp eax, 1
je 0x5e77cf
push 0xa
push 1
push 1
push 0
push 0x624578
lea ecx, [ebp - 0x1c]
call fcn.005daa70
cmp eax, 1
je 0x5e77cf
push 0xd
push 1
push 1
push 0
push str.SystemRoot_
lea ecx, [ebp - 0x1c]
call fcn.005daa70
lea ecx, [ebp - 0x1c]
push 0
push 1
cmp eax, 1
jne 0x5e7687
push dword [edi + 4]
push str.SystemRoot
call fcn.005da270
jmp 0x5e77f0
push 0xffffffffffffffff
push 0
push str..sys
call fcn.005daa70
cmp eax, 3
jle 0x5e76bc
add eax, 3
lea ecx, [ebp - 0x1c]
push eax
call fcn.005dae00
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
test eax, eax
je 0x5e76bc
push 1
jmp 0x5e77fc
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
inc eax
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
mov ecx, esi
call fcn.005d8be0
sub esp, 8
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.drivers_
push dword [edi + 8]
call fcn.005dc520
mov byte [ebp - 4], 1
cmp byte [edi + 0xc], 0
je 0x5e77ad
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005daa70
test eax, eax
je 0x5e77ad
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.SysWow64
push dword [edi + 4]
lea ecx, [ebp - 0x28]
call fcn.005dc200
push 1
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
test eax, eax
je 0x5e77ad
push 1
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
inc eax
lea ecx, [ebp - 0x1c]
push eax
call fcn.005dc190
mov edx, esi
mov ecx, eax
call fcn.005e8600
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov al, bl
jmp 0x5e7827
sub esp, 8
mov edx, edi
mov ecx, esi
call fcn.005e8800
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov al, bl
jmp 0x5e7827
sub esp, 0xc
lea ecx, [ebp - 0x1c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x624284
push dword [edi + 4]
call fcn.005da510
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
inc eax
lea ecx, [ebp - 0x1c]
push eax
call fcn.005dc190
mov edx, esi
mov ecx, eax
call fcn.005e8600
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.005dc430
mov al, bl
jmp 0x5e7827
xor al, al
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.0041e1b5
mov esp, ebp
pop ebp
ret