Function at 0x452d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461714
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x47ea94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x558], 0
mov dword [ebp - 0x52c], 0
mov dword [ebp - 0x55c], 0
lea ecx, [ebp - 0x510]
call fcn.00408ae0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.00408ae0
mov byte [ebp - 4], 1
push 0x412
push 0
lea eax, [ebp - 0x4f8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x44
mov word [ebp - 0x2c], cx
mov edx, 0x69
mov word [ebp - 0x2a], dx
mov eax, 0x73
mov word [ebp - 0x28], ax
mov ecx, 0x70
mov word [ebp - 0x26], cx
mov edx, 0x6c
mov word [ebp - 0x24], dx
mov eax, 0x61
mov word [ebp - 0x22], ax
mov ecx, 0x79
mov word [ebp - 0x20], cx
mov edx, 0x49
mov word [ebp - 0x1e], dx
mov eax, 0x63
mov word [ebp - 0x1c], ax
mov ecx, 0x6f
mov word [ebp - 0x1a], cx
mov edx, 0x6e
mov word [ebp - 0x18], dx
xor eax, eax
mov word [ebp - 0x16], ax
xor ecx, ecx
mov word [ebp - 0x14], cx
xor edx, edx
mov word [ebp - 0x12], dx
mov eax, 0x55
mov word [ebp - 0x74], ax
mov ecx, 0x6e
mov word [ebp - 0x72], cx
mov edx, 0x49
mov word [ebp - 0x70], dx
mov eax, 0x6e
mov word [ebp - 0x6e], ax
mov ecx, 0x73
mov word [ebp - 0x6c], cx
mov edx, 0x74
mov word [ebp - 0x6a], dx
mov eax, 0x61
mov word [ebp - 0x68], ax
mov ecx, 0x6c
mov word [ebp - 0x66], cx
mov edx, 0x6c
mov word [ebp - 0x64], dx
mov eax, 0x53
mov word [ebp - 0x62], ax
mov ecx, 0x74
mov word [ebp - 0x60], cx
mov edx, 0x72
mov word [ebp - 0x5e], dx
mov eax, 0x69
mov word [ebp - 0x5c], ax
mov ecx, 0x6e
mov word [ebp - 0x5a], cx
mov edx, 0x67
mov word [ebp - 0x58], dx
xor eax, eax
mov word [ebp - 0x56], ax
xor ecx, ecx
mov word [ebp - 0x54], cx
xor edx, edx
mov word [ebp - 0x52], dx
mov eax, 0x49
mov word [ebp - 0x50], ax
mov ecx, 0x6e
mov word [ebp - 0x4e], cx
mov edx, 0x73
mov word [ebp - 0x4c], dx
mov eax, 0x74
mov word [ebp - 0x4a], ax
mov ecx, 0x61
mov word [ebp - 0x48], cx
mov edx, 0x6c
mov word [ebp - 0x46], dx
mov eax, 0x6c
mov word [ebp - 0x44], ax
mov ecx, 0x4c
mov word [ebp - 0x42], cx
mov edx, 0x6f
mov word [ebp - 0x40], dx
mov eax, 0x63
mov word [ebp - 0x3e], ax
mov ecx, 0x61
mov word [ebp - 0x3c], cx
mov edx, 0x74
mov word [ebp - 0x3a], dx
mov eax, 0x69
mov word [ebp - 0x38], ax
mov ecx, 0x6f
mov word [ebp - 0x36], cx
mov edx, 0x6e
mov word [ebp - 0x34], dx
xor eax, eax
mov word [ebp - 0x32], ax
xor ecx, ecx
mov word [ebp - 0x30], cx
xor edx, edx
mov word [ebp - 0x2e], dx
mov eax, 0x53
mov word [ebp - 0xe4], ax
mov ecx, 0x4f
mov word [ebp - 0xe2], cx
mov edx, 0x46
mov word [ebp - 0xe0], dx
mov eax, 0x54
mov word [ebp - 0xde], ax
mov ecx, 0x57
mov word [ebp - 0xdc], cx
mov edx, 0x41
mov word [ebp - 0xda], dx
mov eax, 0x52
mov word [ebp - 0xd8], ax
mov ecx, 0x45
mov word [ebp - 0xd6], cx
mov edx, 0x5c
mov word [ebp - 0xd4], dx
mov eax, 0x4d
mov word [ebp - 0xd2], ax
mov ecx, 0x69
mov word [ebp - 0xd0], cx
mov edx, 0x63
mov word [ebp - 0xce], dx
mov eax, 0x72
mov word [ebp - 0xcc], ax
mov ecx, 0x6f
mov word [ebp - 0xca], cx
mov edx, 0x73
mov word [ebp - 0xc8], dx
mov eax, 0x6f
mov word [ebp - 0xc6], ax
mov ecx, 0x66
mov word [ebp - 0xc4], cx
mov edx, 0x74
mov word [ebp - 0xc2], dx
mov eax, 0x5c
mov word [ebp - 0xc0], ax
mov ecx, 0x57
mov word [ebp - 0xbe], cx
mov edx, 0x69
mov word [ebp - 0xbc], dx
mov eax, 0x6e
mov word [ebp - 0xba], ax
mov ecx, 0x64
mov word [ebp - 0xb8], cx
mov edx, 0x6f
mov word [ebp - 0xb6], dx
mov eax, 0x77
mov word [ebp - 0xb4], ax
mov ecx, 0x73
mov word [ebp - 0xb2], cx
mov edx, 0x5c
mov word [ebp - 0xb0], dx
mov eax, 0x43
mov word [ebp - 0xae], ax
mov ecx, 0x75
mov word [ebp - 0xac], cx
mov edx, 0x72
mov word [ebp - 0xaa], dx
mov eax, 0x72
mov word [ebp - 0xa8], ax
mov ecx, 0x65
mov word [ebp - 0xa6], cx
mov edx, 0x6e
mov word [ebp - 0xa4], dx
mov eax, 0x74
mov word [ebp - 0xa2], ax
mov ecx, 0x56
mov word [ebp - 0xa0], cx
mov edx, 0x65
mov word [ebp - 0x9e], dx
mov eax, 0x72
mov word [ebp - 0x9c], ax
mov ecx, 0x73
mov word [ebp - 0x9a], cx
mov edx, 0x69
mov word [ebp - 0x98], dx
mov eax, 0x6f
mov word [ebp - 0x96], ax
mov ecx, 0x6e
mov word [ebp - 0x94], cx
mov edx, 0x5c
mov word [ebp - 0x92], dx
mov eax, 0x55
mov word [ebp - 0x90], ax
mov ecx, 0x6e
mov word [ebp - 0x8e], cx
mov edx, 0x49
mov word [ebp - 0x8c], dx
mov eax, 0x6e
mov word [ebp - 0x8a], ax
mov ecx, 0x73
mov word [ebp - 0x88], cx
mov edx, 0x74
mov word [ebp - 0x86], dx
mov eax, 0x61
mov word [ebp - 0x84], ax
mov ecx, 0x6c
mov word [ebp - 0x82], cx
mov edx, 0x6c
mov word [ebp - 0x80], dx
mov eax, 0x5c
mov word [ebp - 0x7e], ax
xor ecx, ecx
mov word [ebp - 0x7c], cx
xor edx, edx
mov word [ebp - 0x7a], dx
xor eax, eax
mov word [ebp - 0x78], ax
cmp dword [ebp + 0xc], 0
je 0x4531c5
cmp dword [ebp + 0x10], 0
jne 0x4531fb
mov dword [ebp - 0x540], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x510]
call fcn.00405b50
mov eax, dword [ebp - 0x540]
jmp 0x4535ae
push 0x46ddc4
lea ecx, [ebp - 0x510]
call fcn.00408a70
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x528]
call fcn.00408a70
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x528]
call fcn.0040a120
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x528]
call fcn.00405b40
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0043c1b0
add esp, 0x10
mov dword [ebp - 0x52c], eax
cmp dword [ebp - 0x52c], 0
jne 0x4532ea
lea ecx, [ebp - 0x510]
call fcn.00405f70
test eax, eax
je 0x4532ea
lea ecx, [ebp - 0x510]
call fcn.00405b40
push eax
push 0x208
lea eax, [ebp - 0x4f8]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x4f8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x4f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4532ea
mov dword [ebp - 0x544], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x510]
call fcn.00405b50
mov eax, dword [ebp - 0x544]
jmp 0x4535ae
lea ecx, [ebp - 0x510]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x528]
call fcn.00405b40
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043c1b0
add esp, 0x10
mov dword [ebp - 0x52c], eax
cmp dword [ebp - 0x52c], 0
jne 0x453435
lea ecx, [ebp - 0x510]
call fcn.00405f70
test eax, eax
je 0x453435
lea ecx, [ebp - 0x510]
call fcn.00405b40
push eax
push 0x208
lea ecx, [ebp - 0x4f8]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push 0x46df74
lea edx, [ebp - 0x4f8]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
je 0x4533b3
push str..exe_
mov ecx, dword [ebp - 0x530]
add ecx, 2
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x530], 0
je 0x4533b1
mov edx, dword [ebp - 0x530]
mov dword [ebp - 0x538], edx
jmp 0x453378
cmp dword [ebp - 0x538], 0
je 0x4533d0
mov eax, 2
shl eax, 2
xor ecx, ecx
mov edx, dword [ebp - 0x538]
mov word [edx + eax], cx
lea eax, [ebp - 0x4f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x4f8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x4f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453435
mov dword [ebp - 0x548], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x510]
call fcn.00405b50
mov eax, dword [ebp - 0x548]
jmp 0x4535ae
lea ecx, [ebp - 0x510]
push ecx
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x528]
call fcn.00405b40
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043c1b0
add esp, 0x10
mov dword [ebp - 0x52c], eax
cmp dword [ebp - 0x52c], 0
jne 0x45357d
lea ecx, [ebp - 0x510]
call fcn.00405f70
test eax, eax
je 0x45357d
lea ecx, [ebp - 0x510]
call fcn.00405b40
push eax
push 0x208
lea ecx, [ebp - 0x4f8]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push 0x46e3b4
lea edx, [ebp - 0x4f8]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x53c], eax
mov eax, dword [ebp - 0x53c]
mov dword [ebp - 0x534], eax
cmp dword [ebp - 0x534], 0
je 0x4534fe
push 0x46e3c0
mov ecx, dword [ebp - 0x534]
add ecx, 2
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x534], eax
cmp dword [ebp - 0x534], 0
je 0x4534fc
mov edx, dword [ebp - 0x534]
mov dword [ebp - 0x53c], edx
jmp 0x4534c3
cmp dword [ebp - 0x53c], 0
je 0x45351b
mov eax, 2
shl eax, 2
xor ecx, ecx
mov edx, dword [ebp - 0x53c]
mov word [edx + eax], cx
lea eax, [ebp - 0x4f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x4f8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x4f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45357d
mov dword [ebp - 0x54c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x510]
call fcn.00405b50
mov eax, dword [ebp - 0x54c]
jmp 0x4535ae
mov dword [ebp - 0x550], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x528]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x510]
call fcn.00405b50
mov eax, dword [ebp - 0x550]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045be1b
mov esp, ebp
pop ebp
ret 0x10