Function at 0x401793
Capabilities:
Create process on windows
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3110
call fcn.004034d0
push ebx
push esi
push edi
push 0x16
pop ecx
mov esi, str.2A85B11F_C71F_4fbd_9B99_EBC6613D63C4_Event
lea edi, [ebp - 0x47c]
lea eax, [ebp - 0x47c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
push eax
push esi
push 1
push esi
call dword [0x4040c0]
mov edi, eax
mov ebx, 0x4050b0
cmp edi, esi
je 0x401839
call dword [0x404060]
cmp eax, 0xb7
jne 0x401839
push esi
push str.TTPlayer_PlayerWnd
push esi
push esi
call dword [0x4041b4]
push eax
mov dword [ebp - 0x10], eax
call dword [0x4041b8]
test eax, eax
je 0x401839
push 0x34
push ebx
push dword [0x406240]
push esi
call dword [0x404194]
cmp eax, 6
jne 0x4018e9
push esi
push esi
push 0x10
push dword [ebp - 0x10]
call dword [0x404168]
push 0x7d0
call dword [0x40405c]
push 0x2710
push edi
call dword [0x404058]
push edi
call dword [0x404054]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], 1
cmp eax, esi
je 0x4022a2
cmp word [eax], si
je 0x4022a2
mov ebx, dword [0x404020]
lea eax, [ebp - 0x684]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call ebx
mov esi, dword [0x404018]
lea eax, [ebp - 0x684]
push 0x405da4
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x684]
push eax
call esi
and word [ebp - 0x88c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x88a]
rep stosd dword es:[edi], eax
and dword [ebp - 4], 0
push 0x2001f
stosw word es:[edi], ax
lea eax, [ebp - 0x684]
lea ecx, [ebp - 4]
push eax
push 0x80000002
call fcn.00402c79
test eax, eax
je 0x4018f5
lea eax, [ebp - 0x684]
push 0x10
push eax
push dword [0x40624c]
push 0
call dword [0x404194]
cmp dword [ebp - 4], 0
jmp 0x401c48
push edi
call dword [0x404054]
jmp 0x401c53
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
lea eax, [ebp - 0x88c]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.DisplayName
push dword [ebp - 4]
call dword [0x404004]
test eax, eax
mov edi, 0x4054c0
jne 0x401a28
cmp dword [ebp - 8], 1
jne 0x401a28
test eax, eax
jne 0x401a28
lea eax, [ebp - 0x88c]
push eax
push 0x4050b0
call ebx
push dword [0x406244]
push 0x4050b0
call esi
lea eax, [ebp - 0x88c]
push eax
push edi
call ebx
push dword [0x4062f0]
push edi
call esi
lea eax, [ebp - 0x88c]
push eax
lea eax, [ebp - 0x2910]
push dword [0x406258]
push eax
call dword [0x404154]
add esp, 0xc
lea eax, [ebp - 0x2910]
lea ecx, [ebp - 0x14e0]
push eax
push edi
call fcn.004022cb
call dword [0x404164]
mov edi, eax
lea eax, [ebp - 0x14e0]
push eax
lea eax, [ebp - 0x14d8]
push eax
push 0x406268
call fcn.00402beb
mov eax, dword [0x406270]
push 0
push 0x4029be
push edi
push 0x66
push eax
call dword [0x404160]
cmp eax, 1
je 0x4019f1
cmp dword [ebp - 0x10b0], 0
je 0x4018e0
push dword [ebp - 0x10b0]
call dword [0x404158]
jmp 0x4018e0
mov eax, dword [ebp - 0x14c4]
mov edi, 0x4052b8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x88c]
push edi
push eax
call esi
lea eax, [ebp - 0x88c]
push eax
push edi
call ebx
cmp dword [ebp - 0x10b0], 0
je 0x401a28
push dword [ebp - 0x10b0]
call dword [0x404158]
and word [ebp - 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.AppPath
push dword [ebp - 4]
call dword [0x404004]
test eax, eax
jne 0x401a75
cmp dword [ebp - 0xc], 1
jne 0x401a75
test eax, eax
je 0x401a81
push 0x10
push 0x4050b0
jmp 0x4018d2
and word [ebp - 0x1d00], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x1cfe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x1d00]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4060b0
push dword [ebp - 4]
call dword [0x404004]
test eax, eax
jne 0x401adf
cmp dword [ebp - 0xc], 1
jne 0x401adf
test eax, eax
jne 0x401adf
lea eax, [ebp - 0x1d00]
mov ecx, 0x406254
push eax
call fcn.004025f9
and word [ebp - 0x2110], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x210e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x2110]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4060a8
push dword [ebp - 4]
call dword [0x404004]
test eax, eax
jne 0x401b3d
cmp dword [ebp - 0xc], 1
jne 0x401b3d
test eax, eax
jne 0x401b3d
lea eax, [ebp - 0x2110]
mov ecx, 0x40625c
push eax
call fcn.004025f9
and word [ebp - 0xc9c], 0
mov edx, 0x81
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0xc9a]
and word [ebp - 0xea4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0xea2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc9c]
push eax
call ebx
lea eax, [ebp - 0xc9c]
push 0x5c
push eax
call dword [0x40411c]
pop ecx
xor edi, edi
test eax, eax
pop ecx
je 0x401b99
mov word [eax + 2], di
lea eax, [ebp - 0xc9c]
push str.ttpctrl.dll
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xea4]
push eax
call ebx
lea eax, [ebp - 0xea4]
push 0x5c
push eax
call dword [0x40411c]
pop ecx
cmp eax, edi
pop ecx
je 0x401bd0
mov word [eax + 2], di
lea eax, [ebp - 0xea4]
push str.bdupdate.exe
push eax
call esi
lea eax, [ebp - 0xea4]
push eax
call fcn.00402e4a
test eax, eax
pop ecx
je 0x401c09
push edi
push edi
lea eax, [ebp - 0xea4]
push str.__uninstallgau
push eax
push str.open
push edi
call dword [0x404144]
push edi
push edi
push 3
push edi
push edi
lea eax, [ebp - 0xc9c]
push 0xc0000000
push eax
call dword [0x404050]
cmp eax, 0xffffffff
jne 0x401c5a
call dword [0x404060]
cmp eax, 0x20
jne 0x401c6e
push 0x30
push 0x4050b0
push dword [0x406264]
push edi
call dword [0x404194]
cmp dword [ebp - 4], edi
je 0x401c53
push dword [ebp - 4]
call dword [0x40400c]
xor eax, eax
jmp 0x4022c6
push eax
call dword [0x404054]
lea eax, [ebp - 0xc9c]
push eax
call fcn.00401545
pop ecx
mov edx, 0x81
xor esi, esi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x10aa]
mov word [ebp - 0x10ac], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x18ee]
mov word [ebp - 0x18f0], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x18f0]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str.ThirdPart
push dword [ebp - 4]
call dword [0x404004]
cmp dword [ebp - 4], esi
je 0x401cd5
push dword [ebp - 4]
call dword [0x40400c]
mov dword [ebp - 4], esi
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
lea ecx, [ebp - 4]
call fcn.00402c79
test eax, eax
jne 0x401d0d
push dword [ebp + 8]
push dword [ebp - 4]
call dword [section..rdata]
cmp dword [ebp - 4], esi
je 0x401d0d
push dword [ebp - 4]
call dword [0x40400c]
mov dword [ebp - 4], esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10ac]
push eax
call ebx
lea eax, [ebp - 0x10ac]
push 0x5c
push eax
call dword [0x40411c]
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
je 0x401d70
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
push 0x80000002
lea ecx, [ebp - 4]
mov word [edi], si
call fcn.00402c79
test eax, eax
jne 0x401d70
add edi, 2
push edi
push dword [ebp - 4]
call dword [section..rdata]
cmp dword [ebp - 4], esi
je 0x401d70
push dword [ebp - 4]
call dword [0x40400c]
mov dword [ebp - 4], esi
mov edi, str..lnk
lea eax, [ebp - 0x218]
push edi
push dword [0x4062ec]
push esi
push eax
call fcn.004013a2
add esp, 0x10
test eax, eax
je 0x401d9d
lea eax, [ebp - 0x218]
push eax
call dword [0x404014]
push edi
lea eax, [ebp - 0x218]
push dword [0x4062ec]
push 2
push eax
call fcn.004013a2
add esp, 0x10
test eax, eax
je 0x401dc6
lea eax, [ebp - 0x218]
push eax
call dword [0x404014]
push str..url
lea eax, [ebp - 0x218]
push dword [0x4062fc]
push esi
push eax
call fcn.004013a2
add esp, 0x10
test eax, eax
je 0x401df2
lea eax, [ebp - 0x218]
push eax
call dword [0x404014]
push 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch_
pop ecx
lea edi, [ebp - 0x420]
rep movsd dword es:[edi], dword [esi]
push 0x6d
xor eax, eax
pop ecx
lea edi, [ebp - 0x3cc]
push dword [0x4062ec]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x420]
push eax
call dword [0x404018]
lea eax, [ebp - 0x420]
push str..lnk
push eax
lea eax, [ebp - 0x218]
push 0x1a
push eax
call fcn.004013a2
add esp, 0x10
test eax, eax
je 0x401e50
lea eax, [ebp - 0x218]
push eax
call dword [0x404014]
and word [ebp - 0x16e8], 0
mov edx, 0x81
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x16e6]
and word [ebp - 0x1af8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x1af6]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [0x404110]
push 0x4000000
lea eax, [ebp - 0x16e8]
push esi
push eax
push dword [0x4062ec]
call edi
pop ecx
inc eax
push eax
push dword [0x4062ec]
call fcn.00401192
lea eax, [ebp - 0x16e8]
push str..lnk
push eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004013a2
add esp, 0x24
test eax, eax
je 0x401edd
lea eax, [ebp - 0x218]
push eax
call dword [0x404014]
lea eax, [ebp - 0x16e8]
push str..lnk
push eax
lea eax, [ebp - 0x218]
push 2
push eax
call fcn.004013a2
add esp, 0x10
test eax, eax
je 0x401f0b
lea eax, [ebp - 0x218]
push eax
call dword [0x404014]
push 0x4000000
lea eax, [ebp - 0x1af8]
push esi
push eax
push dword [0x406300]
call edi
pop ecx
inc eax
push eax
push dword [0x406300]
call fcn.00401192
lea eax, [ebp - 0x1af8]
push str..url
push eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004013a2
add esp, 0x24
test eax, eax
je 0x401f5c
lea eax, [ebp - 0x218]
push eax
call dword [0x404014]
push 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch_
pop ecx
lea edi, [ebp - 0x1f08]
rep movsd dword es:[edi], dword [esi]
push 0x6d
xor eax, eax
pop ecx
lea edi, [ebp - 0x1eb4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x16e8]
push eax
lea eax, [ebp - 0x1f08]
push eax
call dword [0x404018]
lea eax, [ebp - 0x1f08]
push str..lnk
push eax
lea eax, [ebp - 0x218]
push 0x1a
push eax
call fcn.004013a2
add esp, 0x10
test eax, eax
je 0x401fbb
lea eax, [ebp - 0x218]
push eax
call dword [0x404014]
push 0x7d0
call dword [0x40405c]
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x420]
push 0x405da4
push eax
call dword [0x404018]
lea eax, [ebp - 0x420]
push eax
call dword [0x40404c]
lea edi, [ebp + eax*2 - 0x420]
xor esi, esi
mov dword [ebp - 0xc], edi
push dword [esi + 0x4056e0]
push edi
call ebx
lea eax, [ebp - 0x420]
push eax
call fcn.004011f0
add esi, 4
pop ecx
cmp esi, 0x5c
jb 0x402001
xor esi, esi
push dword [esi + 0x4056c8]
push edi
call ebx
lea eax, [ebp - 0x420]
push eax
call fcn.004012b3
add esi, 4
pop ecx
cmp esi, 0x18
jb 0x402021
push dword [0x4062ec]
lea eax, [ebp - 0x3110]
push dword [0x4062f4]
push eax
call dword [0x404154]
and word [ebp - 0xa94], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa92]
rep stosd dword es:[edi], eax
add esp, 0xc
mov esi, dword [0x404004]
stosw word es:[edi], ax
lea eax, [ebp + 8]
xor edi, edi
push eax
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 8]
push eax
push edi
push str.AppUninst
mov dword [ebp + 8], 0x208
push dword [ebp - 4]
call esi
test eax, eax
jne 0x402100
cmp dword [ebp - 8], 1
jne 0x402100
mov edi, dword [ebp + 8]
shr edi, 1
test eax, eax
jne 0x402100
test edi, edi
je 0x402100
and word [ebp - 0x14d0], ax
mov ecx, 0x108
lea edi, [ebp - 0x14ce]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x14d0]
push str.__s___s
push eax
call dword [0x404154]
push 0xa
lea eax, [ebp - 0x14d0]
push 0x7530
push eax
call fcn.0040242a
add esp, 0x1c
cmp dword [ebp - 0x10], 0
jne 0x40218f
mov edi, dword [ebp - 0xc]
push str.ttplayer.xml
push edi
call ebx
lea eax, [ebp - 0x420]
push eax
call dword [0x404014]
push str.PlayList
push edi
call ebx
lea eax, [ebp - 0x420]
push eax
call fcn.004012b3
mov dword [esp], str.Skin
push edi
call ebx
lea eax, [ebp - 0x420]
push eax
call fcn.004012b3
mov dword [esp], str.Cache
push edi
call ebx
lea eax, [ebp - 0x420]
push eax
call fcn.004012b3
mov dword [esp], str.Lyrics
push edi
call ebx
lea eax, [ebp - 0x420]
push eax
call fcn.004012b3
mov dword [esp], str.CDDB
push edi
call ebx
lea eax, [ebp - 0x420]
push eax
call fcn.004012b3
pop ecx
lea eax, [ebp - 0x10ac]
push eax
call dword [0x404024]
cmp word [ebp - 0x18f0], 0
je 0x402275
lea eax, [ebp - 0x684]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
call ebx
mov edi, dword [0x404018]
lea eax, [ebp - 0x684]
push 0x405da4
push eax
call edi
lea eax, [ebp - 0x18f0]
push eax
lea eax, [ebp - 0x684]
push eax
call edi
lea eax, [ebp - 0x684]
push 0x2001f
push eax
push 0x80000002
lea ecx, [ebp - 4]
call fcn.00402c79
test eax, eax
jne 0x402275
xor ebx, ebx
mov ecx, 0x81
lea edi, [ebp - 0xa92]
mov word [ebp - 0xa94], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x208
push eax
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.UninstallString
xor edi, edi
push dword [ebp - 4]
call esi
cmp eax, ebx
jne 0x402263
cmp dword [ebp - 8], 1
jne 0x402263
mov edi, dword [ebp + 8]
xor eax, eax
shr edi, 1
cmp eax, ebx
jne 0x402263
cmp edi, ebx
je 0x402263
push 0xa
lea eax, [ebp - 0xa94]
push 0xea60
push eax
call fcn.0040242a
add esp, 0xc
cmp dword [ebp - 4], ebx
je 0x402275
push dword [ebp - 4]
call dword [0x40400c]
and dword [ebp - 4], 0
push 0x40
push 0x4054c0
push 0x4052b8
push 0
call dword [0x404194]
call fcn.0040169b
cmp dword [ebp - 4], 0
je 0x40229d
push dword [ebp - 4]
call dword [0x40400c]
xor eax, eax
inc eax
jmp 0x4022c6
push dword [0x4050ac]
call fcn.004013df
mov edi, eax
pop ecx
cmp edi, esi
jne 0x4022c4
push 0x10
push ebx
push dword [0x40624c]
push esi
call dword [0x404194]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret