Function at 0x100215d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aacf5
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa4], 0
push 0xb
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.DisplayIcon
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.1000f9f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xa8], SysStringLen
call fcn.1001d1a0
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.1001f7b0
mov byte [ebp - 4], 3
push esi
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.100267f0
mov esi, eax
mov byte [ebp - 4], 4
call fcn.10006050
add esp, 8
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1002be60
mov byte [ebp - 4], 6
cmp dword [ebp - 0x8c], 8
jb 0x100216bc
push dword [ebp - 0xa0]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x74], 8
jb 0x100216f1
push dword [ebp - 0x88]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x5c], 8
jb 0x1002171d
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x14], 8
jb 0x10021746
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], eax
jne 0x10021ad2
push 0xb
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push str.DisplayIcon
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.1000f9f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xa8], reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001d1a0
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.1001f7b0
mov byte [ebp - 4], 0xc
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100267f0
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.10006050
add esp, 8
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1002be60
mov esi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x1002181d
cmp dword [ebp - 0x2c], 8
jb 0x10021800
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.1000fcf0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x5c], 8
jb 0x10021832
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x74], 8
jb 0x1002185e
push dword [ebp - 0x88]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x8c], 8
jb 0x10021890
push dword [ebp - 0xa0]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x44], 8
jb 0x100218c2
push dword [ebp - 0x58]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x14], 8
jb 0x100218eb
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], eax
jne 0x10021ad2
push 0xb
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push str.DisplayIcon
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.1000f9f0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa8], reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001d1a0
mov esi, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
call fcn.1001fb90
mov byte [ebp - 4], 0x11
push esi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100267f0
mov esi, eax
mov byte [ebp - 4], 0x12
call fcn.10006050
add esp, 8
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1002be60
mov esi, eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x100219c2
cmp dword [ebp - 0x2c], 8
jb 0x100219a5
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.1000fcf0
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x44], 8
jb 0x100219d7
push dword [ebp - 0x58]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x5c], 8
jb 0x10021a00
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x74], 8
jb 0x10021a2c
push dword [ebp - 0x88]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x8c], 8
jb 0x10021a5e
push dword [ebp - 0xa0]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x14], 8
jb 0x10021a90
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], eax
jne 0x10021ad2
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
push 0x100bd6c4
mov ecx, edi
mov word [edi], ax
call fcn.1000f9f0
mov dword [ebp - 0xa4], 1
jmp 0x10021cd6
lea ecx, [ebp - 0x88]
call fcn.10020e60
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x70]
push 0x100bdb2c
push eax
call fcn.100268b0
mov byte [ebp - 4], 0x15
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.10019820
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x10021b3e
cmp dword [ebp - 0x2c], 8
jb 0x10021b21
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.1000fcf0
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x44], 8
jb 0x10021b53
push dword [ebp - 0x58]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x5c], 8
jb 0x10021b7c
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x74], 8
jb 0x10021ba8
push dword [ebp - 0x88]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x30], eax
je 0x10021c1f
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x10021c1f
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.1000f660
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x17
mov ebx, 2
jmp 0x10021c38
push 0x100bd6c4
lea ecx, [ebp - 0x58]
call fcn.1000fb40
mov dword [ebp - 4], 0x18
mov ebx, 4
mov dword [ebp - 0xa4], ebx
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
call fcn.1000fcf0
or ebx, 1
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 4], 0x17
test bl, 4
je 0x10021c9c
and ebx, 0xfffffffb
mov dword [ebp - 0xa4], ebx
cmp dword [ebp - 0x44], 8
jb 0x10021c88
push dword [ebp - 0x58]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 9
test bl, 2
je 0x10021cd6
and ebx, 0xfffffffd
mov dword [ebp - 0xa4], ebx
cmp dword [ebp - 0x14], 8
jb 0x10021cc2
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x10021ceb
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret