Function at 0x465fd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570230
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x5c0c70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x7c], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x10], 1
push 0x17
push 0
push 0x586f50
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.004b2ef0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x46603e
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x46628f
mov ecx, dword [ebp - 0x7c]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46615d
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
push str.version1.0_encodingutf_8
call fcn.004662b0
push ecx
mov ecx, esp
push 0x586f08
call fcn.004662b0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.004664a0
lea ecx, [ebp - 0x20]
call fcn.004b3140
push eax
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.004663d0
lea ecx, [ebp - 0x5c]
call fcn.004b2e40
mov ecx, dword [ebp - 0x7c]
add ecx, 4
call fcn.0041cbc0
push ecx
mov ecx, esp
push eax
call fcn.004662b0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.00466430
lea ecx, [ebp - 0x1c]
call fcn.004b3030
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.004663d0
lea ecx, [ebp - 0x64]
call fcn.004b2e40
mov ecx, dword [ebp - 0x7c]
call fcn.00466e30
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x1c]
call fcn.0040fd10
lea ecx, [ebp - 0x20]
call fcn.004b3120
mov eax, dword [ebp - 0x68]
jmp 0x46628f
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0x14], 0
je 0x46622f
mov dword [ebp - 0x28], 0
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
mov ecx, dword [ebp - 0x7c]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x466228
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x38]
push eax
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x38]
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0x3c], 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.004665a0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.0053e96b
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x46628f
mov ecx, dword [ebp - 0x7c]
call fcn.0041cb20
push eax
lea ecx, [ebp - 0x50]
call fcn.00466360
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.00466520
movsx edx, ax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jge 0x46627c
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x50]
call fcn.004663b0
mov eax, dword [ebp - 0x78]
jmp 0x46628f
lea ecx, [ebp - 0x50]
call fcn.004663b0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret