Function at 0x1007e360
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015e958
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
push str.CInstaller::_CreatePushTaskBarPin
call fcn.1004a150
add esp, 4
call fcn.10058800
test al, al
jne 0x1007e3c4
push str.CInstaller::_CreatePushTaskBarPin__OS_is_lower_than_win7.
call fcn.1004a150
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e8a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.1001aad0
test al, al
jne 0x1007e405
push 0x3c
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
lea ecx, [ebp - 0x1c]
call fcn.1000adf0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1003fef0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e43f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e8b1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push dword [esi + 0xc]
push dword [ebp - 0x30]
push str._s_s.lnk
push eax
call fcn.10012500
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x1007e527
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e8bb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0
push 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x14]
call fcn.10043040
push dword [ebp - 0x18]
call fcn.1006a8d0
add esp, 0x14
push dword [ebp - 0x18]
test eax, eax
je 0x1007e4fc
push str.CInstaller::_CreatePushTaskBarPin__exists_icon_to_gamecenter__s__delete
call fcn.1004a150
lea eax, [ebp - 0x14]
push eax
call fcn.10058600
add esp, 0xc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x1007e509
push dword [ebp - 0x14]
push str.CInstaller::_CreatePushTaskBarPin__delete_icon_to_gamecenter__s_failed
jmp 0x1007e501
push str.CInstaller::_CreatePushTaskBarPin__found_icon_to_other_app__s
call fcn.1004a170
add esp, 8
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e527
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e8c5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [esi + 0xc]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push dword [ebp - 0x30]
push str._s_s__
push eax
call fcn.10012500
add esp, 0x10
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x1007e609
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e8cf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0
push 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0x10]
call fcn.10043040
push dword [ebp - 0x18]
call fcn.1006a8d0
add esp, 0x14
test eax, eax
je 0x1007e5db
push dword [ebp - 0x10]
push str.CInstaller::_CreatePushTaskBarPin__exists_icon_to_66u__s__delete
call fcn.1004a150
lea eax, [ebp - 0x10]
push eax
call fcn.10058600
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x1007e5eb
push dword [ebp - 0x10]
push str.CInstaller::_CreatePushTaskBarPin__delete_icon_to_66u__s_failed
jmp 0x1007e5e3
push dword [ebp - 0x18]
push str.CInstaller::_CreatePushTaskBarPin__found_icon_to_other_66u_app__s
call fcn.1004a170
add esp, 8
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e609
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e8d9
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push dword [ebp - 0x14]
mov byte [ebp - 4], 8
call ebx
test eax, eax
jne 0x1007e641
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
add eax, 0xc
push eax
call fcn.1000b6e0
jmp 0x1007e68d
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x1007e690
mov eax, dword [ebp + 8]
add eax, 0xc
push 0x1017f3a8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10019d90
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.1000b6e0
mov edx, dword [ebp - 0x34]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e68d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
jne 0x1007e6b0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str.CInstaller::_CreatePushTaskBarPin__delete_icon_to__s_and__s_failed
call fcn.1004a170
add esp, 0xc
xor ebx, ebx
jmp 0x1007e81b
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e8e3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push dword [0x101c03f8]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push str._sTaskBar
push eax
call fcn.10012500
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003fef0
add esp, 0x18
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xb
cmp dword [eax - 0xc], 0
je 0x1007e7d0
push eax
call ebx
test eax, eax
je 0x1007e7d0
lea ecx, [ebp - 0x24]
call fcn.1000c820
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xc
push dword [ebx + 0x18]
push str._s_game_pin
push eax
call fcn.10012500
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.1000c820
push esi
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xd
push str._s_s.lnk
push eax
call fcn.10012500
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x24]
add esp, 0x10
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.1007eba0
test eax, eax
jne 0x1007e784
push str.CInstaller::_CreatePushTaskBarPin___CreatePushShortcut_failed.
call fcn.1004a170
add esp, 4
xor ebx, ebx
jmp 0x1007e792
lea eax, [ebp - 0x20]
push eax
call fcn.10058020
add esp, 4
mov ebx, eax
mov edx, dword [ebp - 0x20]
mov ecx, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1007e7b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e7df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1007e7df
push str.CInstaller::_CreatePushTaskBarPin__GetAppDataPath_User_PinnedTaskBar__failed.
call fcn.1004a170
add esp, 4
xor ebx, ebx
mov edx, dword [ebp - 0x28]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e7fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e81b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1007e836
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e854
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e872
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1007e891
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3