Function at 0x1000f710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100300bb
mov eax, dword fs:[0]
push eax
sub esp, 0xc60
mov eax, dword [0x100430b4]
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 eax, dword [ebp + 8]
mov dword [ebp - 0xc64], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc40]
push 0
push eax
mov dword [ebp - 0xc6c], 0
call fcn.1001ac20
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.1001ac20
add esp, 0x18
call fcn.10016d40
test al, al
je 0x1000f79d
push eax
pop ebx
pop edx
push edi
push edi
pop esp
pop esp
push esi
push esi
pop edx
push edx
pop ebx
push edx
push esi
push edi
push ebp
pop ebp
call fcn.10017600
test al, al
je 0x1000f7c6
pop eax
pop edx
pop ecx
pop ebx
pop edx
push ebx
pop ebp
pop edi
push esp
pop esp
push esp
push edi
pop edx
push edi
push ebx
pop edx
push edx
push edx
push edx
pop esi
push eax
push ebx
pop edx
push esi
pop esp
push ebp
push edi
pop edx
pop ebx
push edx
pop edx
push ebx
call fcn.10016cd0
test al, al
je 0x1000f7e2
push edi
pop ecx
push edi
push ebp
pop ecx
push edx
pop edx
push esi
pop esi
pop ebp
pop edi
push ebx
push ecx
push esp
pop esp
pop esi
push edx
pop ebp
push eax
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.1001ac20
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.1001ac20
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1001ac20
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1001ac20
add esp, 0x30
call fcn.10017130
test al, al
je 0x1000f858
push edi
push edi
push ebp
pop edi
push esi
pop ebx
pop ecx
push ecx
push edi
push esp
pop ecx
pop esi
pop esp
push esi
pop esi
push ecx
push esi
pop edi
pop esi
pop ebp
push edx
push eax
pop edx
pop edx
push edi
push edx
push edi
push esi
pop ebp
pop esi
call fcn.100174b0
test al, al
je 0x1000f875
push esp
pop esp
push esp
pop edx
push edx
pop edi
pop edi
pop eax
push ebx
push ecx
pop ecx
push ebx
push ebx
pop edi
pop ebp
pop ebx
push ecx
push edi
pop ebp
push edi
call fcn.100173d0
test al, al
je 0x1000f89d
pop esi
pop esp
pop edi
push edx
push ecx
push edi
push edi
pop ecx
push eax
push ebx
push ebp
push eax
push eax
pop ebx
push esp
pop ecx
push esp
pop ecx
pop ebx
push esp
pop edx
pop edx
push ecx
pop edi
pop edi
push ebp
pop esi
pop esi
push ebx
pop eax
pop esi
xor eax, eax
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], 0
mov word [ebp - 0xc58], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc40]
push 0x1a
push eax
push 0
call fcn.1000fd00
add esp, 0x10
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xc40]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x1000f8d3
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.1001ae36
add esp, 8
mov dword [ebp - 0xc60], eax
call fcn.10016db0
test al, al
je 0x1000f929
push ebp
pop ebp
pop edi
push edx
pop ebx
push esi
pop ecx
pop edi
pop edi
pop esp
pop eax
push ecx
push ecx
pop esi
push edi
push edx
push esi
pop esp
push eax
pop ebp
push edi
push esi
pop ecx
pop ebp
pop eax
push esp
pop ecx
pop edi
pop eax
pop esp
call fcn.10016c60
test al, al
je 0x1000f946
pop esi
pop ebx
pop ecx
pop edx
pop edx
push eax
pop ebp
pop ebp
push esi
push ebp
push ebx
pop edx
push edx
push esp
pop edx
push edi
pop ebx
pop edx
pop ecx
push ecx
call fcn.10017600
test al, al
je 0x1000f96b
push eax
pop edi
pop edi
pop ecx
push edx
pop edx
push eax
push esi
pop esi
pop eax
push esi
push edx
push edi
push ebp
pop esi
push esi
pop ecx
push ebp
pop esp
push edx
push ecx
pop edi
pop esp
pop edi
pop ebp
push ebp
push ecx
push esi
mov eax, dword [ebp - 0xc60]
test eax, eax
jne 0x1000f9c7
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.1000f3e0
mov ebx, dword [ebp - 0xc64]
xor eax, eax
add esp, 8
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0xc58]
push eax
call fcn.10006010
mov ecx, dword [ebp - 0xc44]
cmp ecx, 8
jb 0x1000fce1
inc ecx
push ecx
jmp 0x1000fcd0
xor ecx, ecx
mov word [eax], cx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x832], ax
test ax, ax
jne 0x1000f9d0
lea ecx, [ebp - 0x830]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000f9f1
mov eax, dword [str.Local]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ecx], eax
mov eax, dword [0x10032a24]
mov dword [ecx + 4], eax
mov eax, dword [0x10032a28]
mov dword [ecx + 8], eax
mov ax, word [0x10032a2c]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x830]
push eax
call ebx
test eax, eax
mov esi, 1
mov eax, 0
cmovne eax, esi
mov dword [ebp - 0xc60], eax
call fcn.10017590
test al, al
je 0x1000fa6c
push ecx
push esi
push edx
pop edx
push ecx
pop edi
push ecx
push esp
push edx
pop ecx
pop ebx
push esp
push esi
push eax
push ecx
push ebp
pop ebx
push esi
pop esp
push edi
pop esi
pop esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, 1
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x62a], ax
test ax, ax
jne 0x1000fa70
lea ecx, [ebp - 0x628]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000fa91
mov eax, dword [str.LocalLow]
mov dword [ecx], eax
mov eax, dword [0x10032a34]
mov dword [ecx + 4], eax
mov eax, dword [0x10032a38]
mov dword [ecx + 8], eax
mov eax, dword [0x10032a3c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10032a40]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x628]
push eax
call ebx
test eax, eax
mov eax, 0
cmovne eax, esi
xor ecx, ecx
mov dword [ebp - 0xc68], eax
nop
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xa3a], ax
test ax, ax
jne 0x1000fae0
lea ecx, [ebp - 0xa38]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000fb01
mov eax, dword [str.Roaming]
mov dword [ecx], eax
mov eax, dword [0x10032a48]
mov dword [ecx + 4], eax
mov eax, dword [0x10032a4c]
mov dword [ecx + 8], eax
mov eax, dword [0x10032a50]
mov dword [ecx + 0xc], eax
mov ax, word [0x10032a54]
mov word [ecx + 0x10], ax
call fcn.10017210
test al, al
je 0x1000fb5f
push edi
push ebx
pop edx
pop esi
push ebx
push eax
push eax
push edi
push esi
pop ecx
push ebx
pop ebx
pop esi
pop edx
push ecx
pop ecx
push esp
pop edi
push esp
pop edx
push ebp
push ebp
push eax
push ebx
pop esi
push edx
pop eax
push edx
pop ecx
push ecx
push esi
pop ebp
call fcn.100172f0
test al, al
je 0x1000fb7a
pop esi
push ebx
pop eax
pop ebp
pop eax
push esp
push ecx
push edx
pop ebp
push eax
push esp
push ebx
push ebx
push esi
push ebp
pop ecx
pop ecx
push esp
call fcn.10016cd0
test al, al
je 0x1000fb95
push esi
pop ebp
pop edx
push ebx
push esp
pop ebx
pop ecx
pop edi
pop edx
pop eax
push ebx
push ebx
push edx
push edx
push edi
push edx
pop ebp
push ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0xa38]
push eax
call esi
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
mov ecx, dword [ebp - 0xc60]
test ecx, ecx
je 0x1000fc64
mov ecx, dword [ebp - 0xc68]
test ecx, ecx
je 0x1000fc64
test eax, eax
je 0x1000fc64
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.10006e10
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x1000fc14
lea eax, [ebp - 0x218]
push eax
call fcn.1000f250
add esp, 4
cmp word [ebp - 0x218], 0
jne 0x1000fc35
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0xc58]
call fcn.10006920
jmp 0x1000fc9c
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fc40
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc58]
call fcn.10006920
jmp 0x1000fc9c
call fcn.100172f0
test al, al
je 0x1000fc87
pop edx
push edx
pop ebx
pop edi
pop eax
push ebp
push edi
push edx
push eax
push eax
pop ebx
pop ebx
push esi
pop ebx
pop ecx
push ebp
pop ebx
push edi
push eax
pop ecx
push edx
push eax
push ecx
pop esi
push eax
push esp
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.1000f3e0
add esp, 8
mov ebx, dword [ebp - 0xc64]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0xc58]
push eax
call fcn.10006010
mov eax, dword [ebp - 0xc44]
cmp eax, 8
jb 0x1000fce1
inc eax
push eax
push dword [ebp - 0xc58]
lea ecx, [ebp - 0xc58]
call fcn.10006a20
mov eax, ebx
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.10018315
mov esp, ebp
pop ebp
ret