Function at 0x416b00
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x596e59
call fcn.004103bb
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.00430680
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00430680
add esp, 0x18
call fcn.004110d7
test al, al
je 0x416b73
pop esp
pop ebx
push edx
pop ebx
pop ecx
push edx
push eax
push ebx
pop eax
pop edi
pop edi
push esi
push esp
push edx
push ecx
pop ecx
push ebx
pop edi
pop ebx
push esp
pop ebp
pop esi
pop eax
pop esp
push eax
pop eax
push edx
pop eax
push ebp
call fcn.004116c5
test al, al
je 0x416b95
pop eax
pop ecx
push eax
pop ebp
push edx
push ebp
pop eax
pop esp
pop ebp
push edi
pop ebx
pop ebx
pop edi
push ecx
push ebp
push esp
push eax
push esp
pop eax
pop edi
pop ebx
pop edi
push esi
push edx
pop esi
call fcn.00411275
test al, al
je 0x416bba
pop eax
pop ecx
pop ebp
pop ecx
pop ecx
push ebx
pop eax
pop edx
pop edx
push esi
pop eax
pop esi
pop ebx
pop esp
pop eax
push ebx
pop ebp
push esi
pop ebp
push edi
push edx
pop edi
pop ecx
push ebp
push esp
push esi
pop edi
push ebp
mov esi, 0x208
lea eax, [ebp - 0x628]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.00430680
push esi
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.00430680
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00430680
push esi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00430680
add esp, 0x30
call fcn.004111a6
test al, al
je 0x416c17
pop edi
pop esi
push ebp
push esi
pop edi
push eax
pop eax
push esi
pop edx
pop edi
push ecx
pop eax
push edx
pop ecx
push ebp
pop ecx
push ebx
pop edx
call fcn.0041174f
test al, al
je 0x416c3e
pop esp
push eax
pop esi
pop esi
push eax
push eax
push edi
push ecx
pop ebx
push eax
push edi
push ebp
pop esp
push eax
push esi
push ebp
push ecx
pop esi
push eax
pop edx
pop edi
push ecx
pop eax
push esp
push esi
pop edx
pop esp
pop ebx
push eax
push esi
call fcn.004112ba
test al, al
je 0x416c59
push eax
pop edi
pop ecx
push ebp
pop edi
pop ecx
push ecx
push ecx
push edi
pop ebp
pop ebx
pop ecx
push eax
push edi
push ebx
push edi
push ebx
push esp
and dword [ebp - 0xc48], 0
xor eax, eax
mov dword [ebp - 0xc44], 7
mov word [ebp - 0xc58], ax
and dword [ebp - 4], eax
push eax
push 0x1a
lea eax, [ebp - 0xc40]
push eax
push 0
call fcn.00416f98
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043eb48
lea eax, [ebp - 0x218]
push eax
call fcn.00433f51
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00430e82
add esp, 0x24
mov ebx, eax
mov dword [ebp - 0xc60], ebx
call fcn.00411413
test al, al
je 0x416cee
pop esp
push edi
pop esi
pop esp
pop edx
push ebp
push ebp
pop edx
pop edx
pop ebp
pop edi
push edi
pop edx
pop eax
pop ecx
push esp
push ebp
push ebp
push ebp
push edx
pop esi
pop edi
push eax
pop ebp
pop edi
pop ebx
push ebx
pop edx
push eax
pop esi
pop edx
pop esi
mov ebx, dword [ebp - 0xc60]
test ebx, ebx
jne 0x416d20
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0041643c
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.004050da
push ebx
push 1
jmp 0x416f81
xor eax, eax
mov word [ebx], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0043eb48
lea eax, [ebp - 0x830]
push 0x59c77c
push eax
call fcn.00433f6c
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edx, edx
xor ecx, ecx
inc edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0xc60], ecx
call fcn.004115f6
test al, al
je 0x416d8b
pop esi
pop eax
push esp
pop edx
pop esi
push edx
pop ebp
push eax
push esp
pop ebx
push edi
pop edx
push ebp
pop eax
push edi
push esp
push edi
pop esp
pop edi
pop esi
push esp
pop edi
pop esi
pop ebp
push ebx
call fcn.004114e2
test al, al
je 0x416daa
pop ebx
pop eax
push ebp
pop esi
push ebx
pop eax
push edx
push ecx
pop edx
push esi
pop edx
pop eax
push eax
push esp
pop ecx
pop esp
pop edi
pop ecx
push ecx
pop ebx
pop esp
push esp
call fcn.0041156c
test al, al
je 0x416dd2
push ecx
push ebx
push ebx
pop edi
pop edx
pop ecx
pop edi
push ecx
pop esp
push esi
pop edx
push ecx
push edx
pop eax
push edx
pop esi
pop esi
push ebx
push edi
push edi
pop edx
pop edi
push ecx
pop ebx
push esp
pop edx
pop esi
pop eax
push edx
pop ebx
push edx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.0043eb48
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.00433f6c
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x628]
add esp, 0x10
push eax
call ebx
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc68], ecx
push eax
call fcn.0043eb48
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.00433f6c
add esp, 0x10
call fcn.004116c5
test al, al
je 0x416e62
push eax
push ebp
push ebp
push edi
push esp
push esp
push edx
push esp
pop eax
pop esi
push esp
push edi
pop eax
push esi
pop ebp
pop edi
push ebp
push ecx
push eax
push esp
push esi
push ebx
push ebx
push edx
push ecx
pop ebp
call fcn.004115b1
test al, al
je 0x416e80
push esi
pop edi
push eax
push ecx
push esi
push esi
pop ecx
push esi
pop ecx
push eax
push edx
push eax
pop ebp
pop esi
push eax
pop ecx
pop esp
pop edi
push eax
pop edx
pop edx
lea eax, [ebp - 0xa38]
push eax
call ebx
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
cmp dword [ebp - 0xc60], 0
je 0x416f14
cmp dword [ebp - 0xc68], 0
je 0x416f14
test ecx, ecx
je 0x416f14
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x59a630
push eax
call fcn.0040351f
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
jne 0x416ee4
lea eax, [ebp - 0x420]
push eax
call fcn.00415e88
pop ecx
cmp word [ebp - 0x420], 0
jne 0x416ef2
xor eax, eax
jmp 0x416eff
lea eax, [ebp - 0x420]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00401c7b
jmp 0x416f69
call fcn.004116c5
test al, al
je 0x416f3b
push edx
push edi
pop edi
pop ebp
push ebp
pop ebx
pop esp
pop ebx
push eax
pop ebp
push ebx
push esi
pop edi
pop eax
push esi
push esp
push eax
pop ebx
push ecx
push esi
pop edx
pop esi
pop esp
pop edx
push eax
push eax
push esi
pop eax
push ecx
pop ebx
call fcn.00411230
test al, al
je 0x416f55
push edi
pop edi
push esi
push esp
pop ecx
push edx
push ebx
pop ebx
push ebp
push edx
pop edi
push esi
pop ebp
pop edx
push esp
push eax
push esi
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0041643c
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.004050da
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.00401b31
mov eax, dword [ebp - 0xc64]
call fcn.00410376
ret