Function at 0x450640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62aef1
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0
jne 0x450698
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov eax, dword [ebp - 0x4c]
jmp 0x4508e3
push 0x645876
mov ecx, dword [ebp - 0x68]
add ecx, 0x3c
push ecx
call fcn.00432130
add esp, 8
movzx edx, al
test edx, edx
je 0x4506d1
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov eax, dword [ebp - 0x50]
jmp 0x4508e3
mov ecx, dword [ebp - 0x68]
add ecx, 0x20
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4507ca
push 0x645db8
lea ecx, [ebp - 0x2c]
call fcn.0040e4b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
add eax, 0x20
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e590
push 0x645dbc
lea ecx, [ebp - 0x2c]
call fcn.0040e5b0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040e590
lea ecx, [ebp - 0x2c]
call fcn.0040e5d0
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00450900
test eax, eax
jne 0x45078a
lea ecx, [ebp - 0x2c]
call fcn.0040e5d0
push eax
call fcn.00436fd0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.0040e5d0
push eax
push 0x645dc8
call fcn.004560b0
add esp, 8
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov eax, dword [ebp - 0x54]
jmp 0x4508e3
lea ecx, [ebp - 0x2c]
call fcn.0040e5d0
push eax
push 0x645e20
call fcn.004560b0
add esp, 8
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov eax, dword [ebp - 0x58]
jmp 0x4508e3
mov ecx, dword [ebp - 0x68]
add ecx, 4
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4508bd
push 0x645e74
lea ecx, [ebp - 0x48]
call fcn.0040e4b0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x68]
add edx, 4
push edx
lea ecx, [ebp - 0x48]
call fcn.0040e590
push 0x645e78
lea ecx, [ebp - 0x48]
call fcn.0040e5b0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040e590
lea ecx, [ebp - 0x48]
call fcn.0040e5d0
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00450900
test eax, eax
jne 0x450880
lea ecx, [ebp - 0x48]
call fcn.0040e5d0
push eax
call fcn.00436fd0
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.0040e5d0
push eax
push str.OpenUrlBySelfBrowser_OpenSysUserBrowser__s_
call fcn.004560b0
add esp, 8
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov eax, dword [ebp - 0x5c]
jmp 0x4508e3
lea ecx, [ebp - 0x48]
call fcn.0040e5d0
push eax
push str.OpenUrlBySelfBrowser_CreateRunProcess__s_
call fcn.004560b0
add esp, 8
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov eax, dword [ebp - 0x60]
jmp 0x4508e3
push str.OpenUrlBySelfBrowser_Err
call fcn.004560b0
add esp, 4
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 0x20