Function at 0x450cb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e4b7
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.005b1170
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ecx, ecx
mov byte [ebp - 0x219], cl
lea ecx, [ebp - 0x219]
call fcn.0044fa70
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.00402600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor edx, edx
mov byte [ebp - 0x21a], dl
push 1
lea ecx, [ebp - 0x21a]
call fcn.0044fb50
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00407ff0
add esp, 0xc
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
call fcn.00403580
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x240]
call fcn.00405df0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x234]
call fcn.00402600
mov byte [ebp - 4], 1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ecx, ecx
mov byte [ebp - 0x21b], cl
push 1
lea ecx, [ebp - 0x21b]
call fcn.0044f690
push eax
lea edx, [ebp - 0x248]
push edx
call fcn.00407ff0
add esp, 0xc
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
call fcn.00403580
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x248]
call fcn.00405df0
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00402600
mov byte [ebp - 4], 2
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov byte [ebp - 0x21c], al
lea ecx, [ebp - 0x21c]
call fcn.0044f9d0
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00402600
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
call fcn.00405c40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x238]
call fcn.00403580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450ed4
xor eax, eax
mov byte [ebp - 0x21d], al
lea ecx, [ebp - 0x21d]
call fcn.0044f7d0
push eax
lea ecx, [ebp - 0x224]
call fcn.00402800
jmp 0x450f77
lea ecx, [ebp - 0x234]
call fcn.00403580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450f0b
xor ecx, ecx
mov byte [ebp - 0x21e], cl
lea ecx, [ebp - 0x21e]
call fcn.0044f520
push eax
lea ecx, [ebp - 0x224]
call fcn.00402800
jmp 0x450f77
lea ecx, [ebp - 0x230]
call fcn.00403580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450f42
xor edx, edx
mov byte [ebp - 0x21f], dl
lea ecx, [ebp - 0x21f]
call fcn.0044f440
push eax
lea ecx, [ebp - 0x224]
call fcn.00402800
jmp 0x450f77
lea ecx, [ebp - 0x22c]
call fcn.00403580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450f77
xor eax, eax
mov byte [ebp - 0x220], al
lea ecx, [ebp - 0x220]
call fcn.0044f8c0
push eax
lea ecx, [ebp - 0x224]
call fcn.00402800
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405c20
mov edx, dword [ebp - 0x228]
or edx, 1
mov dword [ebp - 0x228], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
call fcn.00405df0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.00405df0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00405df0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.00405df0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00405df0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret