Function at 0x10042ac1
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x1017d5e5
call fcn.10077939
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.10056120
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.10056120
add esp, 0x18
call fcn.1003c5fe
test al, al
je 0x10042b35
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.1003c643
test al, al
je 0x10042b52
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.1003c97f
test al, al
je 0x10042b74
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
mov ebx, 0x208
lea eax, [ebp - 0x628]
push ebx
xor esi, esi
push esi
push eax
call fcn.10056120
push ebx
lea eax, [ebp - 0xa38]
push esi
push eax
call fcn.10056120
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10056120
push ebx
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.10056120
add esp, 0x30
call fcn.1003c757
test al, al
je 0x10042bd6
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
xor eax, eax
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.10043323
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10064b58
lea eax, [ebp - 0x218]
push eax
call fcn.100649fb
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.1005632d
add esp, 0x24
mov dword [ebp - 0xc60], eax
call fcn.1003c4ea
test al, al
je 0x10042c5b
pop esi
push edx
pop esp
pop ebx
pop esp
pop ebx
push ebp
push eax
push edx
pop edx
pop esi
pop ecx
pop ecx
pop edx
pop eax
push edi
pop ecx
push ecx
push ebx
push eax
push esp
push edi
push ebp
pop esp
pop esi
push ebp
call fcn.1003cb1d
test al, al
je 0x10042c81
push edx
push ecx
pop ecx
pop esp
push ecx
push ebx
push esp
pop esp
push esp
push edi
pop edx
push ebx
pop edi
push eax
pop edi
pop esp
pop eax
pop esi
push ecx
push ecx
pop esp
pop edi
pop ebp
push edx
pop esp
push ecx
push ebx
push ebp
pop edx
call fcn.1003c688
test al, al
je 0x10042ca2
push ebp
push esp
push ebx
push edi
push ecx
pop ecx
pop ebp
pop edx
push ebp
push edi
push edx
pop edi
pop esp
push edx
pop ecx
pop eax
push ebp
pop esp
pop ebx
pop ebx
pop esi
pop esi
push eax
pop esi
mov eax, dword [ebp - 0xc60]
test eax, eax
je 0x10042eea
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.10064b58
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.10065400
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
xor ecx, ecx
inc esi
test eax, eax
cmovne ecx, esi
mov dword [ebp - 0xc68], ecx
call fcn.1003c93a
test al, al
je 0x10042d22
push edx
push esp
push edi
pop ecx
push esi
pop ebx
pop ebp
push edx
pop ecx
push edx
push eax
pop ecx
pop edx
push edx
pop ecx
push ebx
pop esi
pop ebx
push edx
pop edx
push esi
pop esi
pop eax
pop ebx
pop edx
push ebp
push esp
push eax
push edi
xor esi, esi
inc esi
call fcn.1003c6cd
test al, al
je 0x10042d49
pop edx
pop edi
push esp
pop ebx
pop ecx
pop esp
push ecx
pop ebp
pop edx
push ecx
push ecx
push edi
push ebp
push ecx
push edi
push edx
pop esp
pop esp
push edi
pop ebx
push ecx
push ebp
push ebp
pop edi
pop ebx
pop eax
pop edi
push ecx
pop ebp
pop edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.10064b58
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.10065400
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
cmovne ebx, esi
push eax
mov dword [ebp - 0xc60], ebx
call fcn.10064b58
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.10065400
add esp, 0x10
call fcn.1003c97f
test al, al
je 0x10042dd1
push ebp
push ebx
pop ebx
pop ebx
push ebx
push edi
pop eax
push esp
push edi
push esp
push ebx
push esp
pop eax
pop edi
push ebp
pop edi
pop esp
mov ebx, dword [ebp - 0xc60]
call fcn.1003cb62
test al, al
je 0x10042dfb
pop edx
push ecx
pop edi
push eax
pop esp
pop ecx
push ecx
push edx
push ebp
push eax
push esp
pop esi
push ecx
push edi
push ebp
pop edi
push esi
push esp
pop ebp
push edx
pop edi
pop esi
pop edx
pop ecx
pop edi
push edi
push eax
pop edx
push edx
pop esp
xor esi, esi
inc esi
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
cmovne ecx, esi
cmp dword [ebp - 0xc68], 0
je 0x10042e8f
test ebx, ebx
je 0x10042e8f
test ecx, ecx
je 0x10042e8f
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x10180634
push eax
call fcn.10029df0
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10042e5f
lea eax, [ebp - 0x420]
push eax
call fcn.100424db
pop ecx
cmp word [ebp - 0x420], 0
jne 0x10042e6d
xor eax, eax
jmp 0x10042e7a
lea eax, [ebp - 0x420]
push eax
call fcn.100649fb
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.1001fe10
jmp 0x10042efe
call fcn.1003c6cd
test al, al
je 0x10042ea8
push ecx
pop esp
pop edx
push edi
push ebx
push edx
pop ebx
push ebp
pop edi
push esp
push esi
push eax
pop eax
push esp
pop ebp
pop esi
call fcn.1003cba7
test al, al
je 0x10042ec2
pop eax
pop edi
pop ebp
push ebx
push ebp
push ebp
push eax
pop eax
pop edx
pop ebp
pop ecx
pop edi
push edx
pop ebx
pop ebp
push esi
pop edx
call fcn.1003c712
test al, al
je 0x10042eea
pop edi
push edx
push eax
push esi
push ecx
push ebx
push ebp
push edx
push eax
push esp
push ebx
pop esp
push ebp
pop esi
push edx
push edi
push ecx
pop ebp
push esp
push ebp
push edx
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebp
pop ebp
pop esi
push ebx
push esp
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.100425f5
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.10021e30
push 0
push 1
lea ecx, [ebp - 0xc58]
call fcn.1001fd50
mov eax, dword [ebp - 0xc64]
call fcn.100778f4
ret