Function at 0x46076c
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x5df0d9
call fcn.005d2642
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.0047be90
push ebx
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.0047be90
add esp, 0x18
call fcn.004544b9
test al, al
je 0x4607da
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.0047be90
push ebx
lea eax, [ebp - 0xa38]
push edi
push eax
call fcn.0047be90
push ebx
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0047be90
push ebx
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0047be90
add esp, 0x30
call fcn.004543ea
test al, al
je 0x46082f
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.004611e7
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048d128
lea eax, [ebp - 0x218]
push eax
call fcn.0048cd3b
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0047c503
add esp, 0x24
mov ebx, eax
mov dword [ebp - 0xc60], ebx
call fcn.00454543
test al, al
je 0x4608b6
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 0x4608e8
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.004601df
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.00456158
push edi
push 1
jmp 0x460aff
xor eax, eax
mov word [ebx], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0048d128
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.0048d7df
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.00454543
test al, al
je 0x46094f
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.0048d128
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.0048d7df
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.0048d128
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.0048d7df
add esp, 0x10
call fcn.004547f5
test al, al
je 0x4609d1
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.004549d8
test al, al
je 0x4609ea
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.00454657
test al, al
je 0x460a17
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 0x460aae
test edi, edi
je 0x460aae
test ecx, ecx
je 0x460aae
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x5e49d4
push eax
call fcn.00407930
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460a7e
lea eax, [ebp - 0x420]
push eax
call fcn.0045fcde
pop ecx
cmp word [ebp - 0x420], 0
jne 0x460a8c
xor eax, eax
jmp 0x460a99
lea eax, [ebp - 0x420]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00403000
jmp 0x460aea
call fcn.0045483a
test al, al
je 0x460ad6
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.004601df
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.00456158
push 0
push ebx
lea ecx, [ebp - 0xc58]
call fcn.0041e4c0
mov eax, dword [ebp - 0xc64]
call fcn.005d25ec
ret