Function at 0x41a320
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b551f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4e43e0]
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 0x41a35c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x14]
push eax
push 0x4c174c
push 0x17
push 0
push 0x4c1828
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x41a3a6
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
test esi, esi
js 0x41a399
mov eax, dword [ebp - 0x14]
push edi
push 0x4c175c
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 0x41a3b4
mov dword [edi], 0
test esi, esi
js 0x41a563
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 8]
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp + 8]
je 0x41a3e2
call fcn.00412dc0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x41a3df
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 0x41a5fd
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0x120]
mov ecx, dword [edi]
test ecx, ecx
je 0x41a5fd
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0xfc]
cmp dword [ebp + 0xc], 0
je 0x41a578
push 0x4c187c
lea ecx, [ebp - 0x18]
call fcn.00418960
cmp dword [edi], 0
mov dword [ebp - 4], 0
jne 0x41a43f
mov esi, 0x80004005
jmp 0x41a53e
mov esi, dword [ebp - 0x10]
add esi, 0xc
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
test eax, eax
je 0x41a45f
mov eax, dword [eax]
test eax, eax
je 0x41a45f
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x41a46b
push str.version1.0_encodingutf_16
mov ecx, esi
call fcn.00418bd0
mov dword [ebp + 8], 0
mov eax, dword [edi]
mov byte [ebp - 4], 1
mov dword [ebp + 0xc], eax
test eax, eax
je 0x41a5fd
push 0xc
call fcn.0042a297
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x41a4b6
push 0x4c1878
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.0043c950
mov dword [esi], eax
jmp 0x41a4b8
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
test esi, esi
je 0x41a5f3
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x41a4d8
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 0x41a4ec
mov edx, dword [eax]
jmp 0x41a4ee
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.00412dc0
test esi, esi
js 0x41a52d
mov ecx, dword [edi]
test ecx, ecx
je 0x41a5fd
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 0x41a53e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00412dc0
test esi, esi
jns 0x41a563
mov ecx, dword [edi]
test ecx, ecx
je 0x41a563
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 0x41a58c
mov eax, dword [eax]
jmp 0x41a58e
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a5de
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00418a00
mov esi, eax
mov edx, dword [edi]
mov dword [ebp - 4], 4
test edx, edx
je 0x41a5fd
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 0x41a54d
mov esi, 0x80004005
jmp 0x41a551
push 0x8007000e
call fcn.0043c6e0
push 0x80004003
call fcn.0043c6e0
int3