Function at 0x1002697a
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x100366e6
call fcn.1003265b
lea eax, [ebp - 0x64]
push eax
call fcn.10011e75
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push 0x10007970
push 0x17
push ebx
push 0x10007980
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x10026a36
mov dword [ebp - 0x54], 0x10006e14
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.10011003
mov byte [ebp - 4], 3
push dword [eax]
push esi
mov esi, dword [ebp + 8]
push 0x10006748
push 4
call fcn.1000b93e
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.10028460
push 0x100067c8
push 4
call fcn.1000b93e
pop ecx
pop ecx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10026a18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
call fcn.10028460
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
call fcn.10028460
call fcn.10032709
ret 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xfc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x118]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x110]
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
mov edi, 0x10003f38
call fcn.1001e8e8
lea eax, [ebp - 0x18]
push eax
call fcn.100250fb
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x10026a94
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x10026ade
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
call fcn.100283fd
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
call fcn.10011003
mov esi, dword [ebp - 0x24]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
push esi
call edi
test eax, eax
je 0x10026ad2
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x18]
call fcn.1001ea8d
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.10028460
push dword [ebp - 0x18]
lea esi, [ebp - 0x74]
call fcn.10011003
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
mov esi, dword [ebp + 8]
push 0x10006848
push 4
mov dword [ebp - 0x30], ebx
call fcn.1000b93e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xe8]
cmp eax, ebx
jl 0x10026df0
cmp word [ebp - 0x30], 0xffff
jne 0x10026df0
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
push 0x100079a0
push 0x17
push ebx
push 0x10007990
mov byte [ebp - 4], 0xe
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x10026bd3
mov dword [ebp - 0x54], 0x10006e14
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xf
call fcn.10011003
mov byte [ebp - 4], 0x10
push dword [eax]
push esi
mov esi, dword [ebp + 8]
push 0x10006908
push 4
call fcn.1000b93e
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x3c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.10028460
push 0x100067c8
push 4
call fcn.1000b93e
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
cmp eax, ebx
je 0x10026bb9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10028460
jmp 0x10026a08
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x10006988
call fcn.1001e8e8
mov byte [ebp - 4], 0x11
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x10026bfd
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x10026c47
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
call fcn.100283fd
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x12
push dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
call fcn.10011003
mov esi, dword [ebp - 0x24]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
push esi
call edi
test eax, eax
je 0x10026c3b
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x1c]
call fcn.1001ea8d
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x11
call fcn.10028460
push dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
push 0x100069a0
push 4
call fcn.1000b93e
add esp, 0xc
push dword [ebp - 0x1c]
lea esi, [ebp - 0x5c]
call fcn.10011003
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x100069f8
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x1c]
mov esi, eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x11
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
je 0x10026cb0
mov dword [ebp - 0x54], 0x10006e14
mov dword [ebp - 0x50], esi
push 0x100382d8
lea eax, [ebp - 0x54]
push eax
call fcn.10011003
push 9
pop eax
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
cmp eax, ebx
je 0x10026cc7
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x138]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x5c]
push eax
call esi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x13c]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x34], ebx
je 0x10026db8
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [0x1003fe10]
mov ecx, 0x1003fe10
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x17
mov edi, dword [ebp - 0x2c]
push eax
call fcn.1001e8e8
mov byte [ebp - 4], 0x18
push dword [eax]
lea eax, [ebp - 0x24]
push 0x10006a60
push eax
call fcn.10011003
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x3c]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10028460
push dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
lea eax, [ebp + 8]
push eax
mov edi, 0x1000485c
call fcn.1001e8e8
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000ca39
push 0x100382a0
lea eax, [ebp - 0x58]
jmp 0x10026caa
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10026dc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10028460
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10026de5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x74]
push eax
call esi
jmp 0x10026bc3
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0xf0]
mov eax, dword [0x1003fe10]
mov ecx, 0x1003fe10
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x28]
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x50]
push eax
call fcn.1001e8e8
mov esi, eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x3c]
push eax
call fcn.1001e8e8
mov byte [ebp - 4], 0xc
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0x10006870
push eax
call fcn.10011003
mov eax, dword [ebp - 0x48]
add esp, 0x18
add eax, 0xfffffff0
call fcn.10028460
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.10028460
push dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
lea eax, [ebp + 8]
push eax
mov edi, 0x1000485c
call fcn.1001e8e8
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2c]
jmp 0x10026da1