Function at 0x10013280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005148b
mov eax, dword fs:[0]
push eax
sub esp, 0x8b4
mov eax, dword [0x1006e090]
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
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1002dbe0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.1002dbe0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x420]
push str.WinAssist
push str._shellexContextMenuHandlers_
push str._s_s
push eax
call esi
push str.WinAssist
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x628]
push str._s_s
push eax
call esi
push 0x20c
lea eax, [ebp - 0x834]
push 0
push eax
call fcn.1002dbe0
add esp, 0x44
lea eax, [ebp - 0x834]
push 0x105
push eax
push dword [0x10070724]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x89c], 0
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x898], 7
mov word [ebp - 0x8ac], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013360
sub ecx, edx
lea eax, [ebp - 0x834]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8ac]
call fcn.10002af0
push 6
xor eax, eax
mov dword [ebp - 4], 0
push str.CLSID_
lea ecx, [ebp - 0x894]
mov dword [ebp - 0x884], 0
mov dword [ebp - 0x880], 7
mov word [ebp - 0x894], ax
call fcn.10002af0
push 0x26
push str.3AE435F1_16F2_41E6_A344_70C3447280BC
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 1
call fcn.10002630
lea ecx, [ebp - 0x8bc]
call fcn.100024f0
cmp dword [ebp - 0x880], 8
lea eax, [ebp - 0x894]
push 0
cmovae eax, dword [ebp - 0x894]
lea ecx, [ebp - 0x8bc]
push 0
push 0x20006
push 0
push 0
push eax
push 0x80000000
mov byte [ebp - 4], 2
call fcn.10002520
test eax, eax
je 0x1001341a
xor esi, esi
jmp 0x10013c16
push str.SoftManage_Shell_Extension
push 0
lea ecx, [ebp - 0x8bc]
call fcn.10002590
lea ecx, [ebp - 0x8b8]
call fcn.100024f0
push 0
push 0
push 0x20006
push 0
push 0
push 0x10058618
push dword [ebp - 0x8bc]
lea ecx, [ebp - 0x8b8]
mov byte [ebp - 4], 3
call fcn.10002520
test eax, eax
je 0x10013469
xor esi, esi
jmp 0x10013c0b
cmp dword [ebp - 0x898], 8
lea eax, [ebp - 0x8ac]
lea ecx, [ebp - 0x8b8]
cmovae eax, dword [ebp - 0x8ac]
push eax
push 0
call fcn.10002590
push str.Apartment
push str.ThreadingModel
lea ecx, [ebp - 0x8b8]
call fcn.10002590
lea ecx, [ebp - 0x8c0]
call fcn.100024f0
push 0
push 0
push 0x20006
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push 0x80000002
lea ecx, [ebp - 0x8c0]
mov byte [ebp - 4], 4
call fcn.10002520
test eax, eax
jne 0x100134ea
push str.SoftManage_Shell_Extension
push str.3AE435F1_16F2_41E6_A344_70C3447280BC
lea ecx, [ebp - 0x8c0]
call fcn.10002590
call fcn.10012f20
mov ebx, eax
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x1001376c
nop dword [eax]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x1001350a
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x86c], 0
xor eax, eax
mov dword [ebp - 0x868], 7
mov word [ebp - 0x87c], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013530
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x87c]
call fcn.10002af0
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 5
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013560
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x87c]
call fcn.10002630
lea ecx, [ebp - 0x8b4]
call fcn.100024f0
cmp dword [ebp - 0x868], 8
lea eax, [ebp - 0x87c]
push 0
cmovae eax, dword [ebp - 0x87c]
lea ecx, [ebp - 0x8b4]
push 0
push 0xf003f
push 0
push 0
push eax
push 0x80000000
mov byte [ebp - 4], 6
call fcn.10002520
push str.3AE435F1_16F2_41E6_A344_70C3447280BC
push 0
lea ecx, [ebp - 0x8b4]
call fcn.10002590
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x100135df
mov edx, dword [esi]
xor eax, eax
mov dword [ebp - 0x83c], 0
mov word [ebp - 0x84c], ax
mov eax, edx
mov dword [ebp - 0x838], 7
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10013601
sub eax, edi
lea ecx, [ebp - 0x84c]
sar eax, 1
push eax
push edx
call fcn.10002af0
lea ecx, [ebp - 0x628]
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013630
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x84c]
call fcn.10002630
lea ecx, [ebp - 0x8b0]
call fcn.100024f0
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
push 0
cmovae eax, dword [ebp - 0x84c]
lea ecx, [ebp - 0x8b0]
push 0
push 0xf003f
push 0
push 0
push eax
push 0x80000000
mov byte [ebp - 4], 8
call fcn.10002520
push str.3AE435F1_16F2_41E6_A344_70C3447280BC
push 0
lea ecx, [ebp - 0x8b0]
call fcn.10002590
lea ecx, [ebp - 0x8b0]
call fcn.10002500
mov edx, dword [ebp - 0x838]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x100136f4
mov ecx, dword [ebp - 0x84c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100136ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013cd8
push edx
push ecx
call fcn.1001642e
add esp, 8
xor eax, eax
mov dword [ebp - 0x83c], 0
lea ecx, [ebp - 0x8b4]
mov dword [ebp - 0x838], 7
mov word [ebp - 0x84c], ax
call fcn.10002500
mov edx, dword [ebp - 0x868]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x10013760
mov ecx, dword [ebp - 0x87c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013756
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013cd8
push edx
push ecx
call fcn.1001642e
add esp, 8
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x10013500
xor eax, eax
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 7
mov word [ebp - 0x864], ax
push 0x208
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 9
push eax
call fcn.1002dbe0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10070724]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x10013877
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100137e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x864]
call fcn.10002af0
lea eax, [ebp - 0x864]
push eax
call fcn.10003a30
add esp, 4
test eax, eax
jne 0x10013827
push 1
push 0x1005667c
lea ecx, [ebp - 0x864]
call fcn.10002630
push 0xd
push str.WinAssist.exe
lea ecx, [ebp - 0x864]
call fcn.10002630
cmp dword [ebp - 0x850], 8
lea eax, [ebp - 0x864]
cmovae eax, dword [ebp - 0x864]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10013877
cmp dword [ebp - 0x850], 8
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x864]
cmovae eax, dword [ebp - 0x864]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x854], 0
je 0x10013b9e
push 2
xor eax, eax
mov dword [ebp - 0x86c], 0
push 0x1005866c
lea ecx, [ebp - 0x87c]
mov dword [ebp - 0x868], 7
mov word [ebp - 0x87c], ax
call fcn.10002af0
push 7
push 0x10058674
lea ecx, [ebp - 0x87c]
mov byte [ebp - 4], 0xa
call fcn.10002630
lea ecx, [ebp - 0x8b0]
call fcn.100024f0
push 0x1b
xor eax, eax
mov byte [ebp - 4], 0xb
push str.DirectoryBackground_shell_
lea ecx, [ebp - 0x84c]
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x838], 7
mov word [ebp - 0x84c], ax
call fcn.10002af0
push 7
push 0x10058674
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0xc
call fcn.10002630
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
push 0
cmovae eax, dword [ebp - 0x84c]
lea ecx, [ebp - 0x8b0]
push 0
push 0xf003f
push 0
push 0
push eax
push 0x80000000
call fcn.10002520
cmp dword [ebp - 0x868], 8
lea eax, [ebp - 0x87c]
lea ecx, [ebp - 0x8b0]
cmovae eax, dword [ebp - 0x87c]
push eax
push 0
call fcn.10002590
cmp dword [ebp - 0x850], 8
lea eax, [ebp - 0x864]
lea ecx, [ebp - 0x8b0]
cmovae eax, dword [ebp - 0x864]
push eax
push str.Icon
call fcn.10002590
lea ecx, [ebp - 0x8b4]
call fcn.100024f0
push 8
push str.command
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0xd
call fcn.10002630
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
push 0
cmovae eax, dword [ebp - 0x84c]
lea ecx, [ebp - 0x8b4]
push 0
push 0xf003f
push 0
push 0
push eax
push 0x80000000
call fcn.10002520
cmp dword [ebp - 0x850], 8
lea eax, [ebp - 0x864]
cmovae eax, dword [ebp - 0x864]
push eax
push 0
lea ecx, [ebp - 0x8b4]
call fcn.10002590
lea ecx, [ebp - 0x8b4]
call fcn.10002500
lea ecx, [ebp - 0x84c]
call fcn.100027b0
lea ecx, [ebp - 0x8b0]
mov byte [ebp - 4], 0xa
call fcn.10002500
push 0xd
xor eax, eax
mov dword [ebp - 0x83c], 0
push str.Folder_shell_
lea ecx, [ebp - 0x84c]
mov dword [ebp - 0x838], 7
mov word [ebp - 0x84c], ax
call fcn.10002af0
push 7
push 0x10058674
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0xe
call fcn.10002630
lea ecx, [ebp - 0x8b0]
call fcn.100024f0
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
push 0
cmovae eax, dword [ebp - 0x84c]
lea ecx, [ebp - 0x8b0]
push 0
push 0xf003f
push 0
push 0
push eax
push 0x80000000
mov byte [ebp - 4], 0xf
call fcn.10002520
cmp dword [ebp - 0x868], 8
lea eax, [ebp - 0x87c]
lea ecx, [ebp - 0x8b0]
cmovae eax, dword [ebp - 0x87c]
push eax
push 0
call fcn.10002590
cmp dword [ebp - 0x850], 8
lea eax, [ebp - 0x864]
lea ecx, [ebp - 0x8b0]
cmovae eax, dword [ebp - 0x864]
push eax
push str.Icon
call fcn.10002590
push 8
push str.command
lea ecx, [ebp - 0x84c]
call fcn.10002630
lea ecx, [ebp - 0x8b4]
call fcn.100024f0
cmp dword [ebp - 0x838], 8
lea eax, [ebp - 0x84c]
push 0
cmovae eax, dword [ebp - 0x84c]
lea ecx, [ebp - 0x8b4]
push 0
push 0xf003f
push 0
push 0
push eax
push 0x80000000
mov byte [ebp - 4], 0x10
call fcn.10002520
cmp dword [ebp - 0x850], 8
lea eax, [ebp - 0x864]
lea ecx, [ebp - 0x8b4]
cmovae eax, dword [ebp - 0x864]
push eax
push 0
call fcn.10002590
lea ecx, [ebp - 0x8b4]
call fcn.10002500
lea ecx, [ebp - 0x8b0]
call fcn.10002500
lea ecx, [ebp - 0x84c]
call fcn.100027b0
lea ecx, [ebp - 0x87c]
call fcn.100027b0
mov edx, dword [ebp - 0x850]
mov esi, 1
cmp edx, 8
jb 0x10013be3
mov ecx, dword [ebp - 0x864]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013bd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013cd8
push edx
push ecx
call fcn.1001642e
add esp, 8
xor eax, eax
mov dword [ebp - 0x854], 0
lea ecx, [ebp - 0x8c0]
mov dword [ebp - 0x850], 7
mov word [ebp - 0x864], ax
call fcn.10002500
lea ecx, [ebp - 0x8b8]
call fcn.10002500
lea ecx, [ebp - 0x8bc]
call fcn.10002500
mov edx, dword [ebp - 0x880]
cmp edx, 8
jb 0x10013c61
mov ecx, dword [ebp - 0x894]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013c57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013cdd
push edx
push ecx
call fcn.1001642e
add esp, 8
mov edx, dword [ebp - 0x898]
xor eax, eax
mov dword [ebp - 0x884], 0
mov dword [ebp - 0x880], 7
mov word [ebp - 0x894], ax
cmp edx, 8
jb 0x10013cba
mov ecx, dword [ebp - 0x8ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013cb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013ce2
push edx
push ecx
call fcn.1001642e
add esp, 8
mov eax, esi
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.100169ed
mov esp, ebp
pop ebp
ret
call fcn.10031d09
call fcn.10031d09
call fcn.10031d09
int3