Function at 0x601424f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6014bae3
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 0x60142735
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
push edx
push edi
push esi
call dword [eax + 4]
push esi
call fcn.60142380
add esp, 4
test al, al
jne 0x6014255e
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
jl 0x6014271d
mov eax, dword [sym.imp.ole32.dll_CoUninitialize]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.60142360
add esp, 8
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x124]
mov byte [ebp - 4], 2
mov dword [ebp - 0x128], edx
call dword [0x6015b0d8]
push eax
push esi
lea ecx, [ebp - 0x128]
call fcn.60113a00
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
mov esi, eax
mov eax, dword [ebp - 0x128]
cmp esi, edi
lea edx, [ebp - 0x124]
setl bl
cmp eax, edx
je 0x601425d7
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
test bl, bl
mov eax, dword [ebp - 0x14]
je 0x60142608
cmp eax, edi
mov byte [ebp - 4], 1
je 0x601425ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
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 edx, dword [eax]
push eax
call dword [edx + 0xc]
mov dword [ebp - 0x24], eax
xor esi, esi
mov bl, 3
cmp esi, dword [ebp - 0x24]
jae 0x601426ea
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 byte [ebp - 4], bl
call dword [ecx + 0x10]
cmp eax, edi
mov eax, dword [ebp + 8]
jl 0x601426d6
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], edi
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
cmp eax, edi
jge 0x60142666
mov eax, dword [ebp + 8]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x601426e4
mov edx, dword [eax]
push eax
call dword [edx + 8]
inc esi
jmp 0x60142615
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 0x601426c6
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0xa8]
call fcn.60117c20
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.60142750
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
cmp eax, ecx
mov byte [ebp - 4], bl
je 0x601426bc
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x601426e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
jmp 0x60142615
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 1
je 0x601426fb
mov edx, dword [eax]
push eax
call dword [edx + 8]
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 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 [ebp - 0xc]
pop edi
pop esi
mov eax, 0x80070002
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc