Function at 0x100c91b
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 4]
push eax
push 0x100313c
push 0x17
xor ebx, ebx
push ebx
push 0x100339c
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp - 4]
jge 0x100c95b
cmp eax, ebx
je 0x100c954
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x100cce7
cmp eax, ebx
jne 0x100c969
mov eax, 0x80004003
jmp 0x100cce7
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov esi, eax
cmp esi, ebx
jge 0x100c97d
mov eax, dword [ebp - 4]
jmp 0x100c94a
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
je 0x100c997
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
mov esi, eax
cmp esi, ebx
jl 0x100c978
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
je 0x100c9b1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x58]
mov esi, eax
cmp esi, ebx
jl 0x100c978
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
cmp dword [eax - 0xc], ebx
je 0x100ca49
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100ca19
mov eax, dword [esi]
lea ecx, [ebp + 0x18]
push ecx
push 0x100320c
push ebx
push eax
mov dword [ebp + 0x18], ebx
call dword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov esi, eax
cmp esi, ebx
jl 0x100cc63
mov eax, dword [ebp - 4]
cmp dword [ebp + 0x18], ebx
je 0x100cca5
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp + 0x18]
jl 0x100cc66
cmp eax, ebx
je 0x100ca49
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100ca49
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp + 0x18]
call fcn.01007a20
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0x18]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x3c]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.0100445c
cmp edi, ebx
jl 0x100ccd7
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
je 0x100ca67
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x48]
mov esi, eax
cmp esi, ebx
jl 0x100cc70
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x100cae8
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
cmp esi, ebx
je 0x100cca2
lea eax, [ebp + 0x18]
push eax
push 0x100338c
push esi
mov dword [ebp + 0x18], ebx
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
push esi
mov edi, eax
call dword [sym.imp.SHELL32.dll_ILFree]
cmp edi, ebx
jl 0x100ccca
mov eax, dword [ebp - 4]
cmp dword [ebp + 0x18], ebx
je 0x100cca5
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, ebx
jl 0x100cc63
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp + 0x18]
jl 0x100cc66
cmp eax, ebx
je 0x100cae8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x74]
mov esi, eax
cmp esi, ebx
jl 0x100cc70
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
je 0x100cc01
push eax
lea ecx, [ebp + 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0100787e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 0xc]
push ebx
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x10], eax
call fcn.01006309
xor esi, esi
cmp dword [ebp + 0x10], ebx
mov edi, eax
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0xc], ebx
jle 0x100cbee
mov eax, dword [ebp + 0x10]
cmp esi, eax
jge 0x100cbac
cmp word [edi + esi*2], 0x7c
je 0x100cb58
inc esi
cmp esi, eax
jl 0x100cb4a
jmp 0x100cb6d
xor ecx, ecx
mov word [edi + esi*2], cx
mov ecx, dword [ebp + 0x20]
lea ecx, [edi + ecx*2]
mov dword [ebp - 0xc], ecx
lea ecx, [esi + 1]
mov dword [ebp + 0xc], ecx
cmp esi, eax
jge 0x100cbac
cmp word [edi + esi*2], 0x7c
je 0x100cb7f
inc esi
cmp esi, eax
jl 0x100cb71
jmp 0x100cb94
xor ecx, ecx
mov word [edi + esi*2], cx
mov ecx, dword [ebp + 0xc]
lea ecx, [edi + ecx*2]
mov dword [ebp - 8], ecx
lea ecx, [esi + 1]
mov dword [ebp + 0x20], ecx
cmp esi, eax
jge 0x100cbac
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.0100bb7a
cmp word [edi + esi*2 + 2], 0x7c
jne 0x100cb43
cmp dword [ebp - 0x14], ebx
je 0x100cbee
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, ebx
jl 0x100cbd6
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jge 0x100cbee
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.0100445c
lea ecx, [ebp - 0x18]
call fcn.0100b7c4
jmp 0x100cc70
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.0100445c
lea ecx, [ebp - 0x18]
call fcn.0100b7c4
mov eax, dword [ebp - 4]
push dword [ebp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jne 0x100ccd7
mov eax, dword [ebp - 4]
lea edx, [ebp + 0x18]
push edx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp + 0x18]
jl 0x100cc66
cmp eax, ebx
je 0x100cca2
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
push 0x80028000
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
jl 0x100cc63
cmp dword [ebp + 0x2c], ebx
je 0x100cc90
mov eax, dword [ebp - 4]
push dword [ebp + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x78]
mov esi, eax
cmp esi, ebx
jge 0x100cc81
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x100cc70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x100cc7d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x100cce6
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x100cc90
mov eax, dword [ebp - 4]
mov dword [ebp - 4], ebx
mov dword [ecx], eax
cmp dword [ebp + 0x10], ebx
jne 0x100ccb6
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x100cca2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x100ccaf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004003
jmp 0x100cce6
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
call fcn.01007034
push dword [ebp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x100ccd7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x100cce4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x28