Function at 0x41a4bb
Capabilities:
Delete file
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x47f658], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], edi
jle 0x41ad60
jmp 0x41a4df
xor edi, edi
push dword [ebp - 0x1c]
mov ecx, 0x47f64c
call fcn.0041fb60
mov ebx, eax
mov dword [ebp - 0xc], ebx
push dword [ebx + 0x38]
call fcn.00413a33
test al, al
pop ecx
je 0x41ad27
lea ecx, [ebp - 0x18]
call fcn.0041cf73
mov eax, dword [ebx]
mov byte [ebp - 1], 1
cmp eax, 1
jne 0x41a546
call fcn.00420e7b
push 1
push 0x42e030
lea ecx, [ebx + 8]
mov edi, eax
xor esi, esi
call fcn.0041d393
test al, al
je 0x41a534
push 1
pop esi
cmp edi, esi
jge 0x41a53c
and byte [ebp - 1], 0
push 0x42e020
jmp 0x41a9b8
cmp eax, 2
jne 0x41a5ac
lea ecx, [ebp - 0xa8]
call fcn.0041cf73
lea eax, [ebp - 0xa8]
push eax
call fcn.00421da3
cmp dword [ebp - 0xa8], edi
pop ecx
je 0x41a58b
lea ecx, [ebp - 0xa8]
call fcn.0041decc
push eax
lea ecx, [ebx + 8]
call fcn.0041decc
push eax
call fcn.00425dc0
pop ecx
test eax, eax
pop ecx
jle 0x41a58f
and byte [ebp - 1], 0
push str.Java
lea ecx, [ebp - 0x18]
call fcn.0041d0c0
lea ecx, [ebp - 0xa8]
call fcn.0041d0a9
jmp 0x41a9c0
cmp eax, 3
jne 0x41a7d1
push 0x47f190
lea ecx, [ebp - 0xb4]
call fcn.0041d047
xor edi, edi
lea ecx, [ebp - 0xb4]
push edi
push str.hhctrl.ocx
call fcn.0041d1e0
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x40], edi
call fcn.0041decc
push eax
call fcn.0040e38c
mov eax, dword [ebp - 0xc]
add esp, 0xc
xor ebx, ebx
lea esi, [eax + 8]
push 1
push 0x42e008
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a623
mov edi, 0x40048
mov ebx, 0x1c7a0000
jmp 0x41a77d
push 1
push 0x42e030
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a644
mov edi, 0x40048
mov ebx, 0x1c9b0000
jmp 0x41a77d
push 1
push str.1.1a
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a665
mov edi, 0x40048
mov ebx, 0x1c9d0000
jmp 0x41a77d
push 1
push str.1.1b
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a686
mov edi, 0x40048
mov ebx, 0x1fe40000
jmp 0x41a77d
push 1
push 0x42dff4
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a6a7
mov edi, 0x40049
mov ebx, 0x203c0000
jmp 0x41a77d
push 1
push str.1.21
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a6c8
mov edi, 0x40049
mov ebx, 0x20dc0000
jmp 0x41a77d
push 1
push str.1.21a
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a6e9
mov edi, 0x40049
mov ebx, 0x211a0000
jmp 0x41a77d
push 1
push str.1.22
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a707
mov edi, 0x40049
mov ebx, 0x21710000
jmp 0x41a77d
push 1
push 0x42dfd8
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a725
mov edi, 0x4004a
mov ebx, 0x21fe0000
jmp 0x41a77d
push 1
push str.1.31
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a743
mov edi, 0x4004a
mov ebx, 0x22590000
jmp 0x41a77d
push 1
push str.1.32
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a761
mov edi, 0x4004a
mov ebx, 0x22ab0000
jmp 0x41a77d
push 1
push str.1.33
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a77d
mov edi, 0x4004a
mov ebx, 0x24390000
mov ecx, dword [ebp - 0x20]
mov eax, edi
shr eax, 0x10
shr ecx, 0x10
cmp cx, ax
jb 0x41a7ad
jne 0x41a795
cmp word [ebp - 0x20], di
jb 0x41a7ad
cmp cx, ax
jne 0x41a7b1
cmp word [ebp - 0x20], di
jne 0x41a7b1
mov eax, dword [ebp - 0x40]
shr ebx, 0x10
shr eax, 0x10
cmp eax, ebx
jae 0x41a7b1
and byte [ebp - 1], 0
push str.HTML_Help_Viewer
lea ecx, [ebp - 0x18]
call fcn.0041d0c0
lea ecx, [ebp - 0xb4]
call fcn.0041d0a9
mov ebx, dword [ebp - 0xc]
jmp 0x41a9c0
cmp eax, 4
jne 0x41a90f
push 0x42f1b8
lea ecx, [ebp - 0x64]
call fcn.0041cfe3
lea esi, [ebx + 8]
push 1
push 0x42dfa8
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a803
push str.2.50.4403.12
jmp 0x41a84c
push 1
push 0x42df94
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a81c
push str.2.60.6526.3
jmp 0x41a84c
push 1
push 0x42df84
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a835
push str.2.70.9001.0
jmp 0x41a84c
push 1
push 0x42df74
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a854
push str.2.80.1022.3
lea ecx, [ebp - 0x64]
call fcn.0041d0c0
lea ecx, [ebp - 0x78]
call fcn.0041cf73
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edi
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftDataAccess
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a8cb
and byte [ebp - 0xe8], al
push 0xc
pop ecx
lea edi, [ebp - 0xe7]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x32
push eax
lea eax, [ebp - 0xe8]
push eax
push 0
push 0
push str.FullInstallVer
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0x78]
push eax
call fcn.0041d0c0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x78], 0
je 0x41a8ee
lea ecx, [ebp - 0x78]
call fcn.0041decc
push eax
lea ecx, [ebp - 0x64]
call fcn.0041decc
push eax
call fcn.00425dc0
pop ecx
test eax, eax
pop ecx
jle 0x41a8f2
and byte [ebp - 1], 0
push str.Microsoft_Data_Access_Components
lea ecx, [ebp - 0x18]
call fcn.0041d0c0
lea ecx, [ebp - 0x78]
call fcn.0041d0a9
lea ecx, [ebp - 0x64]
jmp 0x41a5a2
cmp eax, 5
jne 0x41ad1f
mov eax, dword [0x47f7e4]
cmp eax, 0xffffffff
jne 0x41a92c
call fcn.004211f3
mov dword [0x47f7e4], eax
mov dword [ebp - 0x68], eax
lea esi, [ebx + 8]
shr eax, 0x10
xor edi, edi
push 1
push 0x42df10
mov ecx, esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xc], edi
call fcn.0041d393
test al, al
je 0x41a953
push 7
jmp 0x41a99b
push 1
push 0x42df0c
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a969
push 8
jmp 0x41a99b
push 1
push 0x42df08
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a987
push 8
mov dword [ebp - 0xc], 1
pop edi
jmp 0x41a99c
push 1
push 0x42df04
mov ecx, esi
call fcn.0041d393
test al, al
je 0x41a99c
push 9
pop edi
movzx eax, word [ebp - 0x68]
cmp eax, edi
jl 0x41a9af
jne 0x41a9b3
movzx eax, word [ebp - 0x6c]
cmp eax, dword [ebp - 0xc]
jge 0x41a9b3
and byte [ebp - 1], 0
push str.DirectX
lea ecx, [ebp - 0x18]
call fcn.0041d0c0
cmp byte [ebp - 1], 0
jne 0x41ad1f
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x58]
push eax
call fcn.0041d047
lea eax, [ebx + 0x14]
lea ecx, [ebp - 0x58]
push eax
call fcn.0041d25e
lea eax, [ebx + 8]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041d25e
xor esi, esi
cmp dword [0x47f28c], esi
je 0x41aa70
call fcn.0041f65f
test al, al
jne 0x41aa70
lea ecx, [ebp - 0x9c]
call fcn.0041cf73
lea ecx, [ebp - 0x18]
call fcn.0041decc
push eax
mov ecx, 0x480204
call fcn.0041decc
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0041d600
add esp, 0xc
lea ecx, [ebp - 0x9c]
push 3
push esi
call fcn.0041decc
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.0041c473
cmp eax, 7
jne 0x41aa57
lea ecx, [ebp - 0x9c]
jmp 0x41ad12
cmp eax, 2
jne 0x41aa68
push 1
mov ecx, 0x47f0a8
call fcn.0041b33f
lea ecx, [ebp - 0x9c]
jmp 0x41aac5
lea ecx, [ebp - 0x90]
call fcn.0041cf73
lea ecx, [ebp - 0x18]
call fcn.0041decc
push eax
mov ecx, 0x4801f8
call fcn.0041decc
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0041d600
add esp, 0xc
lea ecx, [ebp - 0x90]
push 4
push esi
call fcn.0041decc
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.0041c473
cmp eax, 7
je 0x41ad3b
lea ecx, [ebp - 0x90]
call fcn.0041d0a9
mov ecx, dword [ebp - 8]
lea esi, [ebx + 0x20]
push esi
call fcn.00417516
mov ecx, dword [ebp - 8]
push esi
call fcn.0041b9e6
mov ecx, dword [ebp - 8]
push 0x7fffffff
push esi
call fcn.0041c560
lea ecx, [ebp - 0x3c]
call fcn.0041cf73
mov eax, dword [ebx]
cmp eax, 3
jne 0x41ab03
push str._r:n__q:a
jmp 0x41ab0d
cmp eax, 4
jne 0x41ab15
push str._q:a__c:_dasetup.exe__q__n_
lea ecx, [ebp - 0x3c]
call fcn.0041d0c0
lea edi, [ebx + 0x2c]
push 0
push str._Default_
mov ecx, edi
call fcn.0041d393
test al, al
jne 0x41ab33
push edi
lea ecx, [ebp - 0x3c]
call fcn.0041d12e
mov eax, dword [ebx + 4]
xor edi, edi
cmp eax, edi
jne 0x41aba7
lea ecx, [ebp - 0x84]
call fcn.0041cf73
mov ecx, esi
call fcn.0041decc
push eax
lea eax, [ebp - 0x84]
push 0x42d140
push eax
call fcn.0041d600
add esp, 0xc
cmp dword [ebp - 0x3c], edi
jbe 0x41ab85
lea ecx, [ebp - 0x3c]
call fcn.0041decc
push eax
lea eax, [ebp - 0x84]
push 0x42dec0
push eax
call fcn.0041d600
add esp, 0xc
push edi
lea ecx, [ebp - 0x84]
call fcn.0041decc
push eax
mov ecx, 0x47f990
call fcn.0041224f
lea ecx, [ebp - 0x84]
jmp 0x41acf4
cmp eax, 1
jne 0x41acf9
lea ecx, [ebp - 0x30]
call fcn.0041cf73
lea ecx, [ebp - 0x4c]
call fcn.0041cf73
lea ecx, [ebp - 0x18]
call fcn.0041decc
push eax
lea eax, [ebp - 0x4c]
push str._ResourceDir_3rd_party_s.exe
push eax
call fcn.0041d600
mov ecx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.0041b9e6
lea ecx, [ebp - 0x58]
call fcn.0041decc
push eax
mov ecx, esi
call fcn.0041decc
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041decc
push eax
lea eax, [ebp - 0x30]
push str.__ResourceDir_3rd_partyDownloader.exe___download__local___s___url___s___program___s_
push eax
call fcn.0041d600
mov ecx, dword [ebp - 8]
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
call fcn.0041b9e6
push edi
lea ecx, [ebp - 0x30]
call fcn.0041decc
mov esi, 0x47f990
push eax
mov ecx, esi
call fcn.0041224f
lea ecx, [ebp - 0x4c]
call fcn.0041decc
push eax
call fcn.0040ea5b
test al, al
pop ecx
jne 0x41ac83
push 4
push edi
mov ecx, 0x480210
call fcn.0041decc
mov ecx, dword [ebp - 8]
push eax
push edi
call fcn.0041c473
cmp eax, 6
jne 0x41ac77
lea ecx, [ebp - 0x4c]
call fcn.0041d0a9
lea ecx, [ebp - 0x30]
call fcn.0041d0a9
jmp 0x41ad0f
push 1
mov ecx, 0x47f0a8
call fcn.0041b33f
push 0x42f1b8
lea ecx, [ebp - 0x30]
call fcn.0041d0c0
lea ecx, [ebp - 0x4c]
call fcn.0041decc
push eax
lea eax, [ebp - 0x30]
push 0x42d140
push eax
call fcn.0041d600
add esp, 0xc
cmp dword [ebp - 0x3c], edi
jbe 0x41acc9
lea ecx, [ebp - 0x3c]
call fcn.0041decc
push eax
lea eax, [ebp - 0x30]
push 0x42dec0
push eax
call fcn.0041d600
add esp, 0xc
push edi
lea ecx, [ebp - 0x30]
call fcn.0041decc
push eax
mov ecx, esi
call fcn.0041224f
lea ecx, [ebp - 0x4c]
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x4c]
call fcn.0041d0a9
lea ecx, [ebp - 0x30]
call fcn.0041d0a9
cmp dword [ebx], 4
jne 0x41ad0f
mov eax, dword [0x47f280]
and eax, 0xf7fffff3
or al, 2
mov dword [0x47f280], eax
lea ecx, [ebp - 0x3c]
call fcn.0041d0a9
lea ecx, [ebp - 0x58]
call fcn.0041d0a9
lea ecx, [ebp - 0x18]
call fcn.0041d0a9
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x47f658]
jl 0x41a4dd
jmp 0x41ad60
mov ecx, dword [ebp - 8]
push 1
call fcn.0041b33f
lea ecx, [ebp - 0x90]
call fcn.0041d0a9
lea ecx, [ebp - 0x58]
call fcn.0041d0a9
lea ecx, [ebp - 0x18]
call fcn.0041d0a9
pop edi
pop esi
pop ebx
leave
ret