Function at 0x419470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3e0f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4e13b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
test ecx, ecx
je 0x4194ac
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x14]
push eax
push 0x4bf5c0
push 0x17
push 0
push 0x4bf698
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x4194f6
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
test esi, esi
js 0x4194e9
mov eax, dword [ebp - 0x14]
push edi
push 0x4bf5d0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
jns 0x419504
mov dword [edi], 0
test esi, esi
js 0x4196b3
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 8]
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp + 8]
je 0x419532
call fcn.00412da0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x41952f
lea eax, [ecx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x41974d
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0x120]
mov ecx, dword [edi]
test ecx, ecx
je 0x41974d
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0xfc]
cmp dword [ebp + 0xc], 0
je 0x4196c8
push 0x4bf6ec
lea ecx, [ebp - 0x18]
call fcn.00417aa0
cmp dword [edi], 0
mov dword [ebp - 4], 0
jne 0x41958f
mov esi, 0x80004005
jmp 0x41968e
mov esi, dword [ebp - 0x10]
add esi, 0xc
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
test eax, eax
je 0x4195af
mov eax, dword [eax]
test eax, eax
je 0x4195af
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x4195bb
push str.version1.0_encodingutf_16
mov ecx, esi
call fcn.00417d10
mov dword [ebp + 8], 0
mov eax, dword [edi]
mov byte [ebp - 4], 1
mov dword [ebp + 0xc], eax
test eax, eax
je 0x41974d
push 0xc
call fcn.00428cb7
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x419606
push 0x4bf6e8
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.0043b370
mov dword [esi], eax
jmp 0x419608
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
test esi, esi
je 0x419743
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x419628
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], 0
mov eax, dword [eax]
test eax, eax
je 0x41963c
mov edx, dword [eax]
jmp 0x41963e
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push dword [esi]
push ecx
call dword [eax + 0xd0]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00412da0
test esi, esi
js 0x41967d
mov ecx, dword [edi]
test ecx, ecx
je 0x41974d
mov eax, dword [ecx]
push 0
push dword [ebp + 8]
push ecx
call dword [eax + 0x54]
mov esi, eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0
test eax, eax
je 0x41968e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00412da0
test esi, esi
jns 0x4196b3
mov ecx, dword [edi]
test ecx, ecx
je 0x4196b3
mov dword [edi], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], 0
mov eax, dword [eax]
test eax, eax
je 0x4196dc
mov eax, dword [eax]
jmp 0x4196de
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41972e
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00417b40
mov esi, eax
mov edx, dword [edi]
mov dword [ebp - 4], 4
test edx, edx
je 0x41974d
movups xmm0, xmmword [esi]
mov ecx, dword [edx]
lea eax, [ebp + 0xc]
push eax
sub esp, 0x10
mov eax, esp
push edx
movups xmmword [eax], xmm0
call dword [ecx + 0xe8]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp word [ebp + 0xc], 0
jne 0x41969d
mov esi, 0x80004005
jmp 0x4196a1
push 0x8007000e
call fcn.0043b100
push 0x80004003
call fcn.0043b100
int3