Function at 0x1003b5c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x101237f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [eax + 4]
lea esi, [eax + 4]
mov dword [ebp - 0x18], esi
test edx, edx
je 0x1003b5ff
mov eax, dword [edx]
push edx
call dword [eax + 8]
lea eax, [ebp - 0x14]
push eax
push 0x100f6678
push 0x17
push 0
push 0x100f73f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x1003b649
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_OleRun]
mov edi, eax
test edi, edi
js 0x1003b63c
mov eax, dword [ebp - 0x14]
push esi
push 0x100f7384
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
jns 0x1003b657
mov dword [esi], 0
test edi, edi
js 0x1003b742
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 8]
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp + 8]
je 0x1003b67f
call fcn.1003d210
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x1003b67c
lock inc dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x1003b7d2
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0x120]
mov ecx, dword [esi]
test ecx, ecx
je 0x1003b7dc
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0xfc]
cmp dword [ebp + 0xc], 0
je 0x1003b757
push 0x100f744c
lea ecx, [ebp + 8]
call fcn.10039bd0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 0
call fcn.1003d060
mov esi, dword [ebp + 8]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1003b729
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x1003b729
mov eax, dword [esi]
test eax, eax
je 0x1003b707
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003b71e
push eax
call fcn.1005a681
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1005a0b9
add esp, 8
mov esi, dword [ebp - 0x18]
test edi, edi
jns 0x1003b742
mov ecx, dword [esi]
test ecx, ecx
je 0x1003b742
mov dword [esi], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, edi
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 0x1003b76b
mov eax, dword [eax]
jmp 0x1003b76d
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003b7bd
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.10039c70
mov edi, eax
mov edx, dword [esi]
mov dword [ebp - 4], 1
test edx, edx
je 0x1003b7e6
movups xmm0, xmmword [edi]
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 edi, 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 0x1003b72c
mov edi, 0x80004005
jmp 0x1003b730
push 0x80004003
call fcn.10046920
push 0x80004003
call fcn.10046920
push 0x80004003
call fcn.10046920
int3