Function at 0x42afd5
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x59d380
call fcn.00594fd1
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.0043ffd0
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.0043ffd0
add esp, 0x18
call fcn.0042752a
test al, al
je 0x42b041
push ebp
pop ecx
pop edx
pop esi
pop edi
pop esp
pop esi
push edi
pop esp
push esi
push ecx
push edi
push edx
pop edi
pop edi
push edx
push edi
mov esi, 0x208
push esi
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.0043ffd0
push esi
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.0043ffd0
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0043ffd0
push esi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0043ffd0
add esp, 0x30
call fcn.004274e5
test al, al
je 0x42b098
push ecx
pop esi
push ebx
pop ebx
push eax
pop ebx
pop esp
push edi
push ebp
pop ebp
pop eax
push edi
push eax
pop ebp
pop ebx
push esi
pop ebp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], ebx
mov word [ebp - 0xc58], ax
push ebx
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], ebx
push eax
push ebx
call fcn.0042b37e
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044f851
lea eax, [ebp - 0x218]
push eax
call fcn.0044f873
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00441994
add esp, 0x24
mov edi, eax
mov dword [ebp - 0xc60], edi
call fcn.004273d1
test al, al
je 0x42b120
push ebx
pop ecx
push ecx
pop ebx
push ecx
pop esp
pop ecx
pop esi
push edx
push edi
pop edi
pop edx
push esi
push esi
push ecx
push ebp
push eax
push edx
pop ecx
pop esp
push ecx
mov edi, dword [ebp - 0xc60]
call fcn.0042763e
test al, al
je 0x42b140
pop ebx
pop ebp
push ebp
push esp
push edi
push eax
push ecx
pop ebx
push eax
pop ecx
push ecx
pop esi
pop esi
push edx
push ecx
push ecx
pop ebp
push edx
push esi
pop eax
pop eax
push esi
push ebp
call fcn.00427683
test al, al
je 0x42b15d
push ecx
push ebx
pop ecx
push ebp
push edx
push ebx
push esp
pop eax
push edx
pop ecx
push esi
push ebx
pop ecx
push ebp
push ecx
pop ebp
pop edx
push ebx
push esi
push eax
test edi, edi
jne 0x42b18f
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0042aa08
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.00408850
push edi
push 1
jmp 0x42b367
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0044f851
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.0044f7e0
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
xor ecx, ecx
inc edi
test eax, eax
cmovne ecx, edi
mov dword [ebp - 0xc68], ecx
call fcn.004276c8
test al, al
je 0x42b1f9
push esp
pop edx
pop esi
pop ecx
push ecx
push esp
pop esi
pop eax
pop ebp
push ecx
push edx
push eax
push eax
push eax
push esi
pop ecx
pop edi
pop ebx
pop ecx
pop esp
push ecx
xor edi, edi
inc edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.0044f851
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.0044f7e0
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, edi
push eax
mov dword [ebp - 0xc60], ebx
call fcn.0044f851
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.0044f7e0
add esp, 0x10
call fcn.0042797a
test al, al
je 0x42b291
pop edi
pop esi
push ecx
pop edx
pop esp
push ebx
pop esp
push ebp
pop ebp
pop ecx
push edi
push ebp
push ebx
push ebp
pop ebp
pop edi
pop esp
push edx
pop ebx
push edx
push eax
pop edx
pop ebp
push ecx
pop eax
push ebx
pop ebx
push ebp
push ebp
pop ecx
mov ebx, dword [ebp - 0xc60]
xor edi, edi
inc edi
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
cmovne ecx, edi
cmp dword [ebp - 0xc68], 0
je 0x42b325
test ebx, ebx
je 0x42b325
test ecx, ecx
je 0x42b325
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x5a0aa4
push eax
call fcn.00406d50
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b2f5
lea eax, [ebp - 0x420]
push eax
call fcn.0042a7c7
pop ecx
cmp word [ebp - 0x420], 0
jne 0x42b303
xor eax, eax
jmp 0x42b310
lea eax, [ebp - 0x420]
push eax
call fcn.0044f873
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00401820
jmp 0x42b352
call fcn.004276c8
test al, al
je 0x42b33e
push eax
pop edx
push ebp
pop edx
push ebp
pop ebx
push ecx
pop ebp
push ebp
push ebx
push edx
push esi
pop esi
push ecx
push ebx
push eax
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0042aa08
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.00408850
push 0
push edi
lea ecx, [ebp - 0xc58]
call fcn.00401760
mov eax, dword [ebp - 0xc64]
call fcn.00594f8c
ret