Function at 0x463840
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4692e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x463a7b
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
push edi
push esi
call eax
push esi
call fcn.004636e0
add esp, 4
test al, al
jne 0x4638b0
mov eax, 0x80029c4a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x4638d3
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [sym.imp.ole32.dll_CoUninitialize]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004636b0
add esp, 8
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 2
mov dword [ebp - 0x128], eax
call dword [0x47e5c8]
push eax
push esi
lea ecx, [ebp - 0x128]
call fcn.0040ccbb
mov edx, dword [ebp - 0x128]
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
mov esi, eax
mov eax, dword [ebp - 0x128]
cmp esi, edi
lea ecx, [ebp - 0x124]
setl bl
cmp eax, ecx
je 0x46393d
push eax
call fcn.00448193
add esp, 4
test bl, bl
mov eax, dword [ebp - 0x14]
je 0x463970
cmp eax, edi
mov byte [ebp - 4], 1
je 0x463954
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0
call dword [ebp - 0x20]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [ebp - 0x24], eax
xor esi, esi
mov bl, 3
nop
cmp esi, dword [ebp - 0x24]
jae 0x463a46
mov dword [ebp + 8], edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push esi
push eax
mov eax, dword [ecx + 0x10]
mov byte [ebp - 4], bl
call eax
cmp eax, edi
mov eax, dword [ebp + 8]
jl 0x463a2e
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, edi
jl 0x463a2b
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x463a1c
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0xa8]
call fcn.00401530
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax]
push edi
push ecx
push edx
push eax
mov byte [ebp - 4], 4
call fcn.00463aa0
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
cmp eax, ecx
mov byte [ebp - 4], bl
je 0x463a12
push eax
call fcn.00448193
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
mov eax, dword [ebp + 8]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x463a3e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esi, 1
jmp 0x463980
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 1
je 0x463a59
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
call dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0x80070002
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc