Function at 0x1007ee80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f3273
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 7
call fcn.100049d0
mov ecx, eax
test ecx, ecx
je 0x1007f299
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 8
mov ecx, edi
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x1007ef12
push 0
push 0x101fe8a0
mov ecx, edi
call fcn.10006ab0
mov byte [ebp - 4], 7
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007f206
lea eax, [ebp - 0x20]
push eax
push 0x102039c0
push 0x17
push 0
push 0x1020ba2c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1007f206
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1007f206
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov esi, dword [ebp + 0xc]
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x1007f2a3
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov eax, 8
push esi
mov word [ebp - 0x40], ax
call edi
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x1007efa0
test esi, esi
jne 0x1007f2a9
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
movups xmm0, xmmword [ebp - 0x40]
push ecx
sub esp, 0x10
mov dword [ebp - 0x2c], 0
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0xe8]
test eax, eax
js 0x1007f1f4
xor eax, eax
cmp ax, word [ebp - 0x2c]
je 0x1007f1f4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
test eax, eax
jne 0x1007efef
xor esi, esi
mov dword [ebp - 0x28], esi
jmp 0x1007f002
push eax
call edi
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x1007f2c3
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x1c]
mov eax, dword [ecx]
push edx
push esi
push ecx
mov dword [ebp - 0x14], 3
call dword [eax + 0x94]
test eax, eax
js 0x1007f029
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 0xd], 0
jne 0x1007f02d
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 9
mov eax, 3
mov dword [ebp - 0x14], eax
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
cmp byte [ebp - 0xd], 0
jne 0x1007f1f4
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x1007f0be
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1007f081
xor edx, edx
jmp 0x1007f095
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1007f086
sub edx, edi
sar edx, 1
mov edi, dword [ebp + 8]
mov ecx, edi
push edx
push eax
call fcn.10006ab0
mov byte [ebp - 4], 9
push dword [ebp - 0x24]
call esi
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call eax
jmp 0x1007f206
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x1007f1e3
cmp dword [ebp - 0x18], 0
je 0x1007f1e3
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
test eax, eax
jne 0x1007f107
xor esi, esi
mov dword [ebp - 0x28], esi
jmp 0x1007f11a
push eax
call edi
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x1007f2cd
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x24]
mov edi, 5
push edx
mov dword [ebp - 0x14], edi
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x1c]
test eax, eax
js 0x1007f13f
cmp dword [ebp - 0x24], 0
mov byte [ebp - 0xd], 1
jne 0x1007f143
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0x10
and edi, 0xfffffffb
mov dword [ebp - 0x14], edi
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
cmp byte [ebp - 0xd], 0
je 0x1007f1ad
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1007f182
xor edx, edx
jmp 0x1007f196
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1007f187
sub edx, edi
sar edx, 1
mov edi, dword [ebp + 8]
mov ecx, edi
push edx
push eax
call fcn.10006ab0
mov byte [ebp - 4], 0x10
push dword [ebp - 0x28]
call esi
jmp 0x1007f1b0
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1007f1c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1007f1d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call eax
jmp 0x1007f206
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1007f1f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call eax
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007f217
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1007f228
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f249
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f267
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1007f286
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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
push 0x80004005
call fcn.10004040
push eax
call fcn.10004040
mov eax, 0xa
mov dword [ebp - 0x38], 0x8007000e
push 0x8007000e
mov word [ebp - 0x40], ax
call fcn.10004040
push 0x8007000e
call fcn.10004040
push 0x8007000e
call fcn.10004040
int3