Function at 0x41a473
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 [0x47f668], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], edi
jle 0x41ad15
jmp 0x41a497
xor edi, edi
push dword [ebp - 0x1c]
mov ecx, 0x47f65c
call fcn.0041fafa
mov ebx, eax
mov dword [ebp - 0xc], ebx
push dword [ebx + 0x38]
call fcn.004139c0
test al, al
pop ecx
je 0x41acdc
lea ecx, [ebp - 0x18]
call fcn.0041cf28
mov eax, dword [ebx]
mov byte [ebp - 1], 1
cmp eax, 1
jne 0x41a4fe
call fcn.00420e1b
push 1
push 0x42e030
lea ecx, [ebx + 8]
mov edi, eax
xor esi, esi
call fcn.0041d348
test al, al
je 0x41a4ec
push 1
pop esi
cmp edi, esi
jge 0x41a4f4
and byte [ebp - 1], 0
push 0x42e020
jmp 0x41a970
cmp eax, 2
jne 0x41a564
lea ecx, [ebp - 0xa8]
call fcn.0041cf28
lea eax, [ebp - 0xa8]
push eax
call fcn.00421d43
cmp dword [ebp - 0xa8], edi
pop ecx
je 0x41a543
lea ecx, [ebp - 0xa8]
call fcn.0041de81
push eax
lea ecx, [ebx + 8]
call fcn.0041de81
push eax
call fcn.00425d50
pop ecx
test eax, eax
pop ecx
jle 0x41a547
and byte [ebp - 1], 0
push str.Java
lea ecx, [ebp - 0x18]
call fcn.0041d075
lea ecx, [ebp - 0xa8]
call fcn.0041d05e
jmp 0x41a978
cmp eax, 3
jne 0x41a789
push 0x47f1a0
lea ecx, [ebp - 0xb4]
call fcn.0041cffc
xor edi, edi
lea ecx, [ebp - 0xb4]
push edi
push str.hhctrl.ocx
call fcn.0041d195
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.0041de81
push eax
call fcn.0040e345
mov eax, dword [ebp - 0xc]
add esp, 0xc
xor ebx, ebx
lea esi, [eax + 8]
push 1
push 0x42e008
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a5db
mov edi, 0x40048
mov ebx, 0x1c7a0000
jmp 0x41a735
push 1
push 0x42e030
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a5fc
mov edi, 0x40048
mov ebx, 0x1c9b0000
jmp 0x41a735
push 1
push str.1.1a
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a61d
mov edi, 0x40048
mov ebx, 0x1c9d0000
jmp 0x41a735
push 1
push str.1.1b
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a63e
mov edi, 0x40048
mov ebx, 0x1fe40000
jmp 0x41a735
push 1
push 0x42dff4
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a65f
mov edi, 0x40049
mov ebx, 0x203c0000
jmp 0x41a735
push 1
push str.1.21
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a680
mov edi, 0x40049
mov ebx, 0x20dc0000
jmp 0x41a735
push 1
push str.1.21a
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a6a1
mov edi, 0x40049
mov ebx, 0x211a0000
jmp 0x41a735
push 1
push str.1.22
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a6bf
mov edi, 0x40049
mov ebx, 0x21710000
jmp 0x41a735
push 1
push 0x42dfd8
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a6dd
mov edi, 0x4004a
mov ebx, 0x21fe0000
jmp 0x41a735
push 1
push str.1.31
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a6fb
mov edi, 0x4004a
mov ebx, 0x22590000
jmp 0x41a735
push 1
push str.1.32
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a719
mov edi, 0x4004a
mov ebx, 0x22ab0000
jmp 0x41a735
push 1
push str.1.33
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a735
mov edi, 0x4004a
mov ebx, 0x24390000
mov ecx, dword [ebp - 0x20]
mov eax, edi
shr eax, 0x10
shr ecx, 0x10
cmp cx, ax
jb 0x41a765
jne 0x41a74d
cmp word [ebp - 0x20], di
jb 0x41a765
cmp cx, ax
jne 0x41a769
cmp word [ebp - 0x20], di
jne 0x41a769
mov eax, dword [ebp - 0x40]
shr ebx, 0x10
shr eax, 0x10
cmp eax, ebx
jae 0x41a769
and byte [ebp - 1], 0
push str.HTML_Help_Viewer
lea ecx, [ebp - 0x18]
call fcn.0041d075
lea ecx, [ebp - 0xb4]
call fcn.0041d05e
mov ebx, dword [ebp - 0xc]
jmp 0x41a978
cmp eax, 4
jne 0x41a8c7
push 0x42f1c8
lea ecx, [ebp - 0x64]
call fcn.0041cf98
lea esi, [ebx + 8]
push 1
push 0x42dfa8
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a7bb
push str.2.50.4403.12
jmp 0x41a804
push 1
push 0x42df94
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a7d4
push str.2.60.6526.3
jmp 0x41a804
push 1
push 0x42df84
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a7ed
push str.2.70.9001.0
jmp 0x41a804
push 1
push 0x42df74
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a80c
push str.2.80.1022.3
lea ecx, [ebp - 0x64]
call fcn.0041d075
lea ecx, [ebp - 0x78]
call fcn.0041cf28
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 0x41a883
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.0041d075
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x78], 0
je 0x41a8a6
lea ecx, [ebp - 0x78]
call fcn.0041de81
push eax
lea ecx, [ebp - 0x64]
call fcn.0041de81
push eax
call fcn.00425d50
pop ecx
test eax, eax
pop ecx
jle 0x41a8aa
and byte [ebp - 1], 0
push str.Microsoft_Data_Access_Components
lea ecx, [ebp - 0x18]
call fcn.0041d075
lea ecx, [ebp - 0x78]
call fcn.0041d05e
lea ecx, [ebp - 0x64]
jmp 0x41a55a
cmp eax, 5
jne 0x41acd4
mov eax, dword [0x47f7f4]
cmp eax, 0xffffffff
jne 0x41a8e4
call fcn.00421193
mov dword [0x47f7f4], 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.0041d348
test al, al
je 0x41a90b
push 7
jmp 0x41a953
push 1
push 0x42df0c
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a921
push 8
jmp 0x41a953
push 1
push 0x42df08
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a93f
push 8
mov dword [ebp - 0xc], 1
pop edi
jmp 0x41a954
push 1
push 0x42df04
mov ecx, esi
call fcn.0041d348
test al, al
je 0x41a954
push 9
pop edi
movzx eax, word [ebp - 0x68]
cmp eax, edi
jl 0x41a967
jne 0x41a96b
movzx eax, word [ebp - 0x6c]
cmp eax, dword [ebp - 0xc]
jge 0x41a96b
and byte [ebp - 1], 0
push str.DirectX
lea ecx, [ebp - 0x18]
call fcn.0041d075
cmp byte [ebp - 1], 0
jne 0x41acd4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x58]
push eax
call fcn.0041cffc
lea eax, [ebx + 0x14]
lea ecx, [ebp - 0x58]
push eax
call fcn.0041d213
lea eax, [ebx + 8]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041d213
xor esi, esi
cmp dword [0x47f29c], esi
je 0x41aa28
call fcn.0041f5f9
test al, al
jne 0x41aa28
lea ecx, [ebp - 0x9c]
call fcn.0041cf28
lea ecx, [ebp - 0x18]
call fcn.0041de81
push eax
mov ecx, 0x480214
call fcn.0041de81
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0041d5b5
add esp, 0xc
lea ecx, [ebp - 0x9c]
push 3
push esi
call fcn.0041de81
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.0041c428
cmp eax, 7
jne 0x41aa0f
lea ecx, [ebp - 0x9c]
jmp 0x41acc7
cmp eax, 2
jne 0x41aa20
push 1
mov ecx, 0x47f0b8
call fcn.0041b2f4
lea ecx, [ebp - 0x9c]
jmp 0x41aa7d
lea ecx, [ebp - 0x90]
call fcn.0041cf28
lea ecx, [ebp - 0x18]
call fcn.0041de81
push eax
mov ecx, 0x480208
call fcn.0041de81
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0041d5b5
add esp, 0xc
lea ecx, [ebp - 0x90]
push 4
push esi
call fcn.0041de81
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.0041c428
cmp eax, 7
je 0x41acf0
lea ecx, [ebp - 0x90]
call fcn.0041d05e
mov ecx, dword [ebp - 8]
lea esi, [ebx + 0x20]
push esi
call fcn.004174c1
mov ecx, dword [ebp - 8]
push esi
call fcn.0041b99b
mov ecx, dword [ebp - 8]
push 0x7fffffff
push esi
call fcn.0041c515
lea ecx, [ebp - 0x3c]
call fcn.0041cf28
mov eax, dword [ebx]
cmp eax, 3
jne 0x41aabb
push str._r:n__q:a
jmp 0x41aac5
cmp eax, 4
jne 0x41aacd
push str._q:a__c:_dasetup.exe__q__n_
lea ecx, [ebp - 0x3c]
call fcn.0041d075
lea edi, [ebx + 0x2c]
push 0
push str._Default_
mov ecx, edi
call fcn.0041d348
test al, al
jne 0x41aaeb
push edi
lea ecx, [ebp - 0x3c]
call fcn.0041d0e3
mov eax, dword [ebx + 4]
xor edi, edi
cmp eax, edi
jne 0x41ab5f
lea ecx, [ebp - 0x84]
call fcn.0041cf28
mov ecx, esi
call fcn.0041de81
push eax
lea eax, [ebp - 0x84]
push 0x42d140
push eax
call fcn.0041d5b5
add esp, 0xc
cmp dword [ebp - 0x3c], edi
jbe 0x41ab3d
lea ecx, [ebp - 0x3c]
call fcn.0041de81
push eax
lea eax, [ebp - 0x84]
push 0x42dec0
push eax
call fcn.0041d5b5
add esp, 0xc
push edi
lea ecx, [ebp - 0x84]
call fcn.0041de81
push eax
mov ecx, 0x47f9a0
call fcn.004121dc
lea ecx, [ebp - 0x84]
jmp 0x41acac
cmp eax, 1
jne 0x41acb1
lea ecx, [ebp - 0x30]
call fcn.0041cf28
lea ecx, [ebp - 0x4c]
call fcn.0041cf28
lea ecx, [ebp - 0x18]
call fcn.0041de81
push eax
lea eax, [ebp - 0x4c]
push str._ResourceDir_3rd_party_s.exe
push eax
call fcn.0041d5b5
mov ecx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.0041b99b
lea ecx, [ebp - 0x58]
call fcn.0041de81
push eax
mov ecx, esi
call fcn.0041de81
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041de81
push eax
lea eax, [ebp - 0x30]
push str.__ResourceDir_3rd_partyDownloader.exe___download__local___s___url___s___program___s_
push eax
call fcn.0041d5b5
mov ecx, dword [ebp - 8]
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
call fcn.0041b99b
push edi
lea ecx, [ebp - 0x30]
call fcn.0041de81
mov esi, 0x47f9a0
push eax
mov ecx, esi
call fcn.004121dc
lea ecx, [ebp - 0x4c]
call fcn.0041de81
push eax
call fcn.0040ea14
test al, al
pop ecx
jne 0x41ac3b
push 4
push edi
mov ecx, 0x480220
call fcn.0041de81
mov ecx, dword [ebp - 8]
push eax
push edi
call fcn.0041c428
cmp eax, 6
jne 0x41ac2f
lea ecx, [ebp - 0x4c]
call fcn.0041d05e
lea ecx, [ebp - 0x30]
call fcn.0041d05e
jmp 0x41acc4
push 1
mov ecx, 0x47f0b8
call fcn.0041b2f4
push 0x42f1c8
lea ecx, [ebp - 0x30]
call fcn.0041d075
lea ecx, [ebp - 0x4c]
call fcn.0041de81
push eax
lea eax, [ebp - 0x30]
push 0x42d140
push eax
call fcn.0041d5b5
add esp, 0xc
cmp dword [ebp - 0x3c], edi
jbe 0x41ac81
lea ecx, [ebp - 0x3c]
call fcn.0041de81
push eax
lea eax, [ebp - 0x30]
push 0x42dec0
push eax
call fcn.0041d5b5
add esp, 0xc
push edi
lea ecx, [ebp - 0x30]
call fcn.0041de81
push eax
mov ecx, esi
call fcn.004121dc
lea ecx, [ebp - 0x4c]
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x4c]
call fcn.0041d05e
lea ecx, [ebp - 0x30]
call fcn.0041d05e
cmp dword [ebx], 4
jne 0x41acc4
mov eax, dword [0x47f290]
and al, 0xf3
or al, 2
mov dword [0x47f290], eax
lea ecx, [ebp - 0x3c]
call fcn.0041d05e
lea ecx, [ebp - 0x58]
call fcn.0041d05e
lea ecx, [ebp - 0x18]
call fcn.0041d05e
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x47f668]
jl 0x41a495
jmp 0x41ad15
mov ecx, dword [ebp - 8]
push 1
call fcn.0041b2f4
lea ecx, [ebp - 0x90]
call fcn.0041d05e
lea ecx, [ebp - 0x58]
call fcn.0041d05e
lea ecx, [ebp - 0x18]
call fcn.0041d05e
pop edi
pop esi
pop ebx
leave
ret