Function at 0x41ffcf
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x590a2b
call fcn.005892d1
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.00434140
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00434140
add esp, 0x18
call fcn.0041cbfe
test al, al
je 0x420044
pop ebp
pop esi
push ebp
pop edi
push edx
pop edi
pop edi
pop eax
pop ebx
pop edx
pop ebx
push esi
push ecx
push edi
pop ecx
pop edx
push esp
push ebp
pop edi
push ecx
push eax
pop ebp
push ecx
pop eax
pop edx
pop edx
push esp
pop esp
pop esp
pop ebx
pop eax
call fcn.0041cd57
test al, al
je 0x42006c
pop ebp
pop edi
push esp
pop ebx
pop esp
pop edi
pop esi
pop ebp
push eax
push eax
push edi
pop edx
pop ebp
pop esi
pop esp
pop edx
pop edx
push ecx
push eax
pop edx
push ebx
push edx
push edx
push ebp
pop ebp
pop ebx
pop edi
pop esp
pop eax
pop edx
push ecx
mov ebx, 0x208
lea eax, [ebp - 0x628]
push ebx
xor edi, edi
push edi
push eax
call fcn.00434140
push ebx
lea eax, [ebp - 0xa38]
push edi
push eax
call fcn.00434140
push ebx
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00434140
push ebx
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00434140
add esp, 0x30
call fcn.0041d093
test al, al
je 0x4200ce
push ebx
pop esi
pop esi
push eax
push ecx
pop esi
pop ecx
push ecx
pop esp
push esp
push esi
push edx
push esi
pop ecx
push ebx
pop ecx
push esp
push ebx
push edx
push esi
push eax
pop ebp
pop esp
call fcn.0041cc43
test al, al
je 0x4200ef
push eax
pop esp
push ebx
pop ebp
pop ecx
pop esi
push esi
pop eax
push ecx
pop ecx
push eax
push esi
pop edi
push edi
push edx
pop esp
pop esp
pop edx
pop esp
push eax
push esi
push esp
xor edi, edi
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.00420405
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00443717
lea eax, [ebp - 0x218]
push eax
call fcn.00443739
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0043302d
add esp, 0x24
mov ebx, eax
mov dword [ebp - 0xc60], ebx
call fcn.0041cbb9
test al, al
je 0x42017a
pop ebp
pop esi
push edi
push ebp
push eax
pop ebx
push ebx
push edx
pop ecx
pop ebx
push esi
push ebx
pop edi
push ebx
pop edx
push eax
push ecx
push ecx
pop ecx
pop ebx
pop eax
push esp
mov ebx, dword [ebp - 0xc60]
xor edi, edi
test ebx, ebx
jne 0x4201ac
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0041f9a5
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.00405f90
push edi
push 1
jmp 0x4203ee
xor eax, eax
mov word [ebx], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00443717
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.004436a6
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
mov ecx, edi
inc esi
test eax, eax
cmovne ecx, esi
mov dword [ebp - 0xc60], ecx
call fcn.0041ce6b
test al, al
je 0x420223
push esp
pop esp
pop ecx
pop ebp
push esi
push eax
pop ecx
pop ecx
pop edx
push edx
push edx
pop ecx
pop ecx
pop eax
pop ebp
pop ebx
push esp
push eax
push esp
pop ebp
push ecx
pop edi
push edx
push eax
pop ecx
push edi
pop edx
pop esi
pop esi
pop edx
pop esp
pop eax
xor esi, esi
xor edi, edi
inc esi
call fcn.0041cde1
test al, al
je 0x420241
pop eax
pop esp
push ebx
push ebp
push ebx
push ebp
pop ebx
pop ecx
pop eax
pop ecx
pop ecx
pop ebp
push eax
pop ecx
pop esp
push ecx
push esp
push eax
push eax
pop ebp
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.00443717
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.004436a6
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
cmovne ecx, esi
push eax
mov dword [ebp - 0xc68], ecx
call fcn.00443717
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.004436a6
add esp, 0x10
call fcn.0041ce6b
test al, al
je 0x4202c9
push ebp
pop ebx
pop ecx
push edx
pop esp
pop eax
push edi
pop ebp
pop edi
push ebp
pop edx
pop eax
push edi
push ecx
push esp
pop eax
push edx
push edx
pop ebx
pop esi
push esi
pop edi
push ebx
call fcn.0041d093
test al, al
je 0x4202ea
push esi
pop ebx
pop esi
pop ebx
push esi
push ebx
pop ebp
pop edi
push ecx
pop esp
pop edi
pop edx
push ecx
push ecx
push eax
push esi
pop esp
push ebp
push esi
push edi
push eax
pop edi
pop ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0xa38]
push eax
call esi
xor ecx, ecx
test eax, eax
push 1
pop edi
cmovne ecx, edi
cmp dword [ebp - 0xc60], 0
je 0x420384
cmp dword [ebp - 0xc68], 0
je 0x420384
test ecx, ecx
je 0x420384
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x595850
push eax
call fcn.004048f0
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
jne 0x420354
lea eax, [ebp - 0x420]
push eax
call fcn.0041f751
pop ecx
cmp word [ebp - 0x420], 0
jne 0x420362
xor eax, eax
jmp 0x42036f
lea eax, [ebp - 0x420]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00403020
jmp 0x4203d9
call fcn.0041cd12
test al, al
je 0x4203a2
pop ebx
pop ebx
pop eax
pop ebp
push edx
pop esp
pop edx
pop esp
pop ecx
push eax
push esp
push esi
pop eax
pop esp
pop edx
push eax
push edi
push esp
pop ecx
pop ecx
push esi
call fcn.0041d162
test al, al
je 0x4203c5
push ecx
pop eax
push ecx
push ebp
pop esp
pop eax
pop edx
push edx
pop ebp
pop eax
push esp
push edx
push ebx
pop ebp
pop ebp
push ebx
pop edi
pop ebx
push ebp
push ecx
push edi
pop ecx
push ecx
xor edi, edi
inc edi
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0041f9a5
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.00405f90
push 0
push edi
lea ecx, [ebp - 0xc58]
call fcn.00402ec0
mov eax, dword [ebp - 0xc64]
call fcn.0058928c
ret