Function at 0x42c324
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x598cdf
call fcn.00590558
mov eax, dword [ebp + 8]
mov ebx, 0x208
mov dword [ebp - 0xc64], eax
xor edi, edi
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc40]
push edi
push eax
mov dword [ebp - 0xc6c], edi
call fcn.0043afd0
push ebx
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.0043afd0
add esp, 0x18
call fcn.0042b451
test al, al
je 0x42c392
push eax
push edx
pop ecx
pop esp
pop ecx
pop ebx
push ecx
push esi
push edi
push edi
pop esi
pop ebx
pop ebx
pop edi
pop ebp
push ecx
pop esp
xor edi, edi
mov ebx, 0x208
push ebx
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.0043afd0
push ebx
lea eax, [ebp - 0xa38]
push edi
push eax
call fcn.0043afd0
push ebx
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0043afd0
push ebx
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0043afd0
add esp, 0x30
call fcn.0042b382
test al, al
je 0x42c3e7
pop esp
pop ebx
push ebx
pop ebp
pop eax
pop ebp
push edi
push esi
push edi
pop edx
push edx
push ebp
push esp
push ebp
pop eax
push esi
push edx
xor eax, eax
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], edi
mov word [ebp - 0xc58], ax
push edi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], edi
push eax
push edi
call fcn.0042c6ce
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044a7bb
lea eax, [ebp - 0x218]
push eax
call fcn.0044a7dd
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0043cc17
add esp, 0x24
mov ebx, eax
mov dword [ebp - 0xc60], ebx
call fcn.0042b4db
test al, al
je 0x42c46e
push ebp
pop esp
pop esi
push ecx
pop edi
push ebx
push ebx
push esi
pop ebp
pop ebp
push ebp
push ecx
push esp
pop edi
pop esi
push esp
push esp
pop ebx
mov ebx, dword [ebp - 0xc60]
xor edi, edi
test ebx, ebx
jne 0x42c4a0
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0042bd97
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.004038b0
push edi
push 1
jmp 0x42c6b7
xor eax, eax
mov word [ebx], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0044a7bb
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.0044a74a
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edx, edx
mov ecx, edi
inc edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0xc68], ecx
call fcn.0042b4db
test al, al
je 0x42c507
pop ebx
pop eax
pop edi
push esi
push esp
pop ecx
pop ecx
pop edi
pop ebp
pop esi
pop eax
pop edi
push edx
push esp
pop esi
pop ebx
pop eax
push esi
push esp
xor edi, edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.0044a7bb
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.0044a74a
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
pop eax
cmovne edi, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc60], edi
push eax
call fcn.0044a7bb
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.0044a74a
add esp, 0x10
call fcn.0042b78d
test al, al
je 0x42c589
pop eax
push esp
pop eax
push esi
pop esi
push edx
push edi
push ebp
pop ecx
push ecx
push eax
push ebp
push ebx
push ecx
push eax
pop ebx
call fcn.0042b970
test al, al
je 0x42c5a2
push ebx
pop edx
push esi
push edx
push esi
pop esp
push ecx
pop edx
pop ecx
pop ebx
push ebp
push esi
push ebx
pop ebp
push edx
pop edx
call fcn.0042b5ef
test al, al
je 0x42c5cf
pop esi
push esp
pop ecx
push esp
push ecx
pop esi
pop esi
pop eax
pop eax
push ebx
push edi
push edi
pop ebp
push ebx
push ecx
push esp
pop edi
pop ecx
push esi
pop edx
push ebp
pop ecx
push edx
pop edi
push eax
pop esi
pop ebx
pop edx
pop eax
pop esp
mov edi, dword [ebp - 0xc60]
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop ebx
cmovne ecx, ebx
cmp dword [ebp - 0xc68], 0
je 0x42c666
test edi, edi
je 0x42c666
test ecx, ecx
je 0x42c666
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x59d730
push eax
call fcn.004078b0
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c636
lea eax, [ebp - 0x420]
push eax
call fcn.0042bb9f
pop ecx
cmp word [ebp - 0x420], 0
jne 0x42c644
xor eax, eax
jmp 0x42c651
lea eax, [ebp - 0x420]
push eax
call fcn.0044a7dd
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.004029e0
jmp 0x42c6a2
call fcn.0042b7d2
test al, al
je 0x42c68e
pop esi
pop ecx
pop ebp
pop ebp
pop ebp
pop edi
pop ecx
pop esp
pop ecx
pop edi
push ebx
pop ebx
pop esi
pop edx
push ecx
push edx
pop ebx
pop esp
pop edi
pop edi
pop eax
push esi
push ebx
push ebp
pop ebx
pop ebp
pop eax
pop eax
xor ebx, ebx
inc ebx
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0042bd97
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.004038b0
push 0
push ebx
lea ecx, [ebp - 0xc58]
call fcn.00402920
mov eax, dword [ebp - 0xc64]
call fcn.00590513
ret