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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521468
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push str.CInstaller::_CreatePushTaskBarPin
call fcn.00441a80
add esp, 4
call fcn.004529f0
test al, al
jne 0x47b394
push str.CInstaller::_CreatePushTaskBarPin__OS_is_lower_than_win7.
call fcn.00441a80
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.00410b40
mov ecx, eax
test ecx, ecx
je 0x47bc8d
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.00408690
test al, al
jne 0x47b3d5
push 0x3d
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
lea ecx, [ebp - 0x1c]
call fcn.00407f80
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004377d0
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 0x47b40f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47bc97
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push dword [ecx + 0xc]
push dword [ebp - 0x2c]
push str._s_s.lnk
push eax
call fcn.0040ecb0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0x14]
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x47b6a2
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47bca1
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.0043aad0
push dword [ebp - 0x18]
call fcn.00469990
add esp, 0x14
test eax, eax
je 0x47b5eb
push str.pin_del_exist
lea ecx, [ebp - 0x30]
call fcn.0046e520
push str.install
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.004093d0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x38], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00470670
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b50c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b52a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
push str.CInstaller::_CreatePushTaskBarPin__exists_icon_to_gamecenter__s__delete
call fcn.00441a80
lea eax, [ebp - 0x14]
push eax
call fcn.004527f0
add esp, 0xc
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x47b684
push str.pin_del_exist_fail
lea ecx, [ebp - 0x24]
call fcn.0046e520
push str.install
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.004093d0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x38], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00470670
mov edx, dword [ebp - 0x30]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b5c0
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], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b5de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
push str.CInstaller::_CreatePushTaskBarPin__delete_icon_to_gamecenter__s_failed
jmp 0x47b67c
push str.pin_other_exist
lea ecx, [ebp - 0x24]
call fcn.0046e520
push str.install
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.004093d0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x38], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00470670
mov edx, dword [ebp - 0x30]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b656
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], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b674
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
push str.CInstaller::_CreatePushTaskBarPin__found_icon_to_other_app__s
call fcn.00441aa0
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 0x47b6a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47bcab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xf
push dword [eax + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 0x2c]
push str._s_s__
push eax
call fcn.0040ecb0
add esp, 0x10
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x47b926
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47bcb5
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], 0x10
push eax
push dword [ebp - 0x10]
call fcn.0043aad0
push dword [ebp - 0x18]
call fcn.00469990
add esp, 0x14
lea ecx, [ebp - 0x24]
test eax, eax
je 0x47b872
push str.pin_del_66u
call fcn.0046e520
push str.install
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
call fcn.004093d0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x38], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00470670
mov edx, dword [ebp - 0x30]
mov eax, edi
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b793
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], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b7b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
push str.CInstaller::_CreatePushTaskBarPin__exists_icon_to_66u__s__delete
call fcn.00441a80
lea eax, [ebp - 0x10]
push eax
call fcn.004527f0
add esp, 0xc
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x47b908
push str.pin_del_66u_fail
lea ecx, [ebp - 0x24]
call fcn.0046e520
push str.install
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x14
call fcn.004093d0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x38], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00470670
mov edx, dword [ebp - 0x30]
mov eax, edi
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b847
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], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b865
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
push str.CInstaller::_CreatePushTaskBarPin__delete_icon_to_66u__s_failed
jmp 0x47b900
push str.pin_other_66u_exist
call fcn.0046e520
push str.install
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x17
call fcn.004093d0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x38], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00470670
mov edx, dword [ebp - 0x30]
mov eax, edi
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b8da
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], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b8f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
push str.CInstaller::_CreatePushTaskBarPin__found_icon_to_other_66u_app__s
call fcn.00441aa0
add esp, 8
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b926
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47bcbf
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], 0x1a
call ebx
test eax, eax
jne 0x47b95e
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
add eax, 0xc
push eax
call fcn.00408360
jmp 0x47b9aa
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x47b9ad
mov eax, dword [ebp + 8]
add eax, 0xc
push 0x539728
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00410610
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1b
call fcn.00408360
mov edx, dword [ebp - 0x30]
mov eax, edi
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b9aa
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 0x47ba5a
push str.pin_no_usable_name
lea ecx, [ebp + 0xc]
call fcn.0046e520
push str.install
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1c
call fcn.004093d0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x38], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp + 8]
push eax
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.00470670
mov edx, dword [ebp + 8]
mov eax, edi
mov byte [ebp - 4], 0x1c
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ba22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, edi
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ba40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str.CInstaller::_CreatePushTaskBarPin__delete_icon_to__s_and__s_failed
call fcn.00441aa0
add esp, 0xc
xor ebx, ebx
jmp 0x47bc01
push str.LDSGameCenterTaskBar
lea ecx, [ebp - 0x30]
call fcn.004093d0
push 1
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004377d0
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov eax, edi
mov byte [ebp - 4], 0x21
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ba9b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
je 0x47bbd4
push eax
call ebx
test eax, eax
je 0x47bbd4
lea ecx, [ebp - 0x24]
call fcn.0040fec0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x22
push dword [ebx + 0x18]
push str._s_game_pin
push eax
call fcn.0040ecb0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.0040fec0
push esi
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x23
push str._s_s.lnk
push eax
call fcn.0040ecb0
mov ecx, dword [ebp - 0x34]
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.0047c040
test eax, eax
jne 0x47bb27
push str.CInstaller::_CreatePushTaskBarPin___CreatePushShortcut_failed.
call fcn.00441aa0
add esp, 4
xor ebx, ebx
jmp 0x47bb96
lea eax, [ebp - 0x20]
push eax
call fcn.00452210
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x47bb96
push str.add_game_pin
lea ecx, [ebp + 0xc]
call fcn.0046e520
push str.install
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x24
call fcn.004093d0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x38], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp + 8]
push eax
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 0x25
call fcn.00470670
lea ecx, [ebp + 8]
call fcn.00408250
lea ecx, [ebp + 0xc]
call fcn.00408250
mov edx, dword [ebp - 0x20]
mov eax, edi
mov byte [ebp - 4], 0x22
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47bbb4
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], 0x21
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47bbe3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47bbe3
push str.CInstaller::_CreatePushTaskBarPin__GetAppDataPath_User_PinnedTaskBar__failed.
call fcn.00441aa0
add esp, 4
xor ebx, ebx
mov edx, dword [ebp - 0x28]
mov eax, edi
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47bc01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47bc1c
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 0x47bc3a
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 0x47bc58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x47bc77
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 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.00404400
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
int3