Function at 0x1006b4e6
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x10171120
call fcn.1016d10a
mov eax, dword [ebp + 8]
mov esi, 0x208
mov dword [ebp - 0xc64], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc40]
push ebx
push eax
mov dword [ebp - 0xc6c], ebx
call fcn.10080190
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.10080190
add esp, 0x18
call fcn.10064a42
test al, al
je 0x1006b54d
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.10065033
test al, al
je 0x1006b576
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.100649fd
test al, al
je 0x1006b592
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
mov esi, 0x208
lea eax, [ebp - 0x628]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.10080190
push esi
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.10080190
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.10080190
push esi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.10080190
add esp, 0x30
call fcn.10064d39
test al, al
je 0x1006b5fb
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.10064f61
test al, al
je 0x1006b618
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.10064ed7
test al, al
je 0x1006b640
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 ecx, ecx
mov dword [ebp - 0xc44], 7
xor eax, eax
mov dword [ebp - 0xc48], ecx
mov word [ebp - 0xc58], ax
push ecx
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], ecx
push eax
push ecx
call fcn.1006bd51
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10093821
lea eax, [ebp - 0x218]
push eax
call fcn.10093843
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.1008039d
add esp, 0x24
mov dword [ebp - 0xc60], eax
call fcn.10064a87
test al, al
je 0x1006b6cb
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.100649b8
test al, al
je 0x1006b6e8
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.10065033
test al, al
je 0x1006b70d
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 0x1006b746
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.1006b00a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.100640ad
push 0
push 1
jmp 0x1006b961
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.10093821
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.10093dd2
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edx, edx
xor ecx, ecx
inc edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0xc60], ecx
call fcn.10064fee
test al, al
je 0x1006b7ae
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
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.10093821
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.10093dd2
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc68], ecx
push eax
call fcn.10093821
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.10093dd2
add esp, 0x10
call fcn.10064dc3
test al, al
je 0x1006b842
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.10064e4d
test al, al
je 0x1006b85d
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.100649fd
test al, al
je 0x1006b878
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 ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0xa38]
push eax
call ebx
xor ecx, ecx
test eax, eax
push 1
pop edi
cmovne ecx, edi
cmp dword [ebp - 0xc60], 0
je 0x1006b912
cmp dword [ebp - 0xc68], 0
je 0x1006b912
test ecx, ecx
je 0x1006b912
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x1017570c
push eax
call fcn.10006d80
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
jne 0x1006b8e2
lea eax, [ebp - 0x420]
push eax
call fcn.1006aeb7
pop ecx
cmp word [ebp - 0x420], 0
jne 0x1006b8f0
xor eax, eax
jmp 0x1006b8fd
lea eax, [ebp - 0x420]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.10006830
jmp 0x1006b94c
call fcn.10064e4d
test al, al
je 0x1006b938
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
xor edi, edi
inc edi
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.1006b00a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.100640ad
push 0
push edi
lea ecx, [ebp - 0xc58]
call fcn.10006390
mov eax, dword [ebp - 0xc64]
call fcn.1016d0c5
ret