Function at 0x5e7990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60390a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
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 byte [ebp - 0x1d], dl
mov ebx, ecx
push 0
call fcn.005dc120
cmp word [eax], 0x2f
jne 0x5e79d4
xor al, al
jmp 0x5e7a9d
mov ecx, ebx
call fcn.005dc190
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x5e7a01
mov ecx, ebx
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
test al, al
jne 0x5e7a01
mov al, 1
jmp 0x5e7a9d
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 1
mov ecx, ebx
movq qword [ebp - 0x1c], xmm0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005dc570
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.005dc3a0
mov edi, eax
cmp edi, 2
jle 0x5e7a5b
push 1
lea ecx, [ebp - 0x1c]
call fcn.005dc440
cmp word [eax], 0x3a
jne 0x5e7a5b
push 2
lea ecx, [ebp - 0x1c]
call fcn.005dc440
mov byte [ebp - 0x1e], 1
cmp word [eax], 0x5c
je 0x5e7a5f
mov byte [ebp - 0x1e], 0
cmp edi, 4
jle 0x5e7ab9
lea eax, [edi - 4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.005dc440
cmp word [eax], 0x2e
jne 0x5e7ab9
mov cl, byte [ebp - 0x1d]
mov al, 1
test cl, cl
je 0x5e7abe
push 1
lea ecx, [ebp - 0x1c]
call fcn.005e8620
test al, al
jne 0x5e7cae
xor bl, bl
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov al, bl
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
mov cl, byte [ebp - 0x1d]
xor al, al
cmp byte [ebp - 0x1e], 0
je 0x5e7bb5
test al, al
jne 0x5e7bb5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6243cc
lea ecx, [ebp - 0x1c]
call fcn.005da780
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call esi
test eax, eax
jne 0x5e7cae
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
lea ecx, [ebp - 0x1c]
lea edi, [eax - 2]
push edi
push 0x624560
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call esi
test eax, eax
jne 0x5e7cae
push edi
push 0x624558
lea ecx, [ebp - 0x1c]
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call esi
test eax, eax
jne 0x5e7cae
push edi
push 0x62444c
lea ecx, [ebp - 0x1c]
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call esi
test eax, eax
jne 0x5e7cae
push edi
push 0x624568
lea ecx, [ebp - 0x1c]
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call esi
test eax, eax
jne 0x5e7cae
push edi
push 0x624570
lea ecx, [ebp - 0x1c]
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call esi
test eax, eax
jmp 0x5e7a8b
test cl, cl
je 0x5e7a91
test al, al
jne 0x5e7a91
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6243cc
lea ecx, [ebp - 0x1c]
call fcn.005da780
push 1
lea ecx, [ebp - 0x1c]
call fcn.005e8620
test al, al
jne 0x5e7cae
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
lea ecx, [ebp - 0x1c]
lea esi, [eax - 2]
push esi
push 0x624560
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindOnPathW]
push eax
call edi
test eax, eax
jne 0x5e7cae
push esi
push 0x624558
lea ecx, [ebp - 0x1c]
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call edi
test eax, eax
jne 0x5e7cae
push esi
push 0x62444c
lea ecx, [ebp - 0x1c]
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call edi
test eax, eax
jne 0x5e7cae
push esi
push 0x624568
lea ecx, [ebp - 0x1c]
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call edi
test eax, eax
jne 0x5e7cae
push esi
push 0x624570
lea ecx, [ebp - 0x1c]
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call edi
test eax, eax
je 0x5e7a91
push 1
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
mov ecx, ebx
call fcn.005dc260
mov bl, byte [eax + 8]
jmp 0x5e7a93