Function at 0x1001c1a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134741
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
mov eax, esi
jb 0x1001c203
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001c22b
movups xmm0, xmmword [ebp - 0x240]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x230]
jmp 0x1001c472
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10106310
add esp, 0xc
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
push 0x101437e4
push 1
push 0
push 0x10143824
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1001c29d
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 3
test eax, eax
je 0x1001c294
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
jmp 0x1001c38d
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x224]
push edx
push 0x10143804
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x1001c2d5
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 5
test eax, eax
je 0x1001c2cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
jmp 0x1001c38d
cmp dword [esi + 0x14], 8
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
jb 0x1001c2e5
mov esi, dword [esi]
push 0
push esi
push eax
call dword [ecx + 0x14]
test eax, eax
jns 0x1001c30d
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 7
test eax, eax
je 0x1001c304
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 8
jmp 0x1001c38d
mov eax, dword [ebp - 0x220]
push 0x11
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test eax, eax
jns 0x1001c33b
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 9
test eax, eax
je 0x1001c335
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xa
jmp 0x1001c38d
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
push 2
push 0
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x1001c375
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1001c36f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xc
jmp 0x1001c38d
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x1001c389
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1001c39d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001c3d0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.1000a620
lea ecx, [ebp - 0x240]
call fcn.10009070
movups xmm0, xmmword [ebp - 0x258]
xor eax, eax
lea ecx, [ebp - 0x258]
mov word [ebp - 0x258], ax
movups xmmword [ebp - 0x268], xmm0
movups xmmword [ebp - 0x240], xmm0
movq xmm0, qword [ebp - 0x248]
movq qword [ebp - 0x228], xmm0
movq qword [ebp - 0x230], xmm0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
call fcn.10009070
movups xmm0, xmmword [ebp - 0x268]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x228]
xor eax, eax
movq qword [edi + 0x10], xmm0
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
call fcn.10009070
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c424e
mov esp, ebp
pop ebp
ret