Function at 0x41b917
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 [0x4816b0], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], edi
jle 0x41c1e7
jmp 0x41b93b
xor edi, edi
push dword [ebp - 0x1c]
mov ecx, 0x4816a4
call fcn.0042168b
mov ebx, eax
mov dword [ebp - 0xc], ebx
push dword [ebx + 0x38]
call fcn.0041486a
test al, al
pop ecx
je 0x41c1ae
lea ecx, [ebp - 0x18]
call fcn.0041e62f
mov eax, dword [ebx]
mov byte [ebp - 1], 1
cmp eax, 1
jne 0x41b9ba
xor edi, edi
push edi
call fcn.004229a6
pop ecx
lea esi, [ebx + 8]
push 1
push 0x430024
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.0041ea64
test al, al
push 1
jne 0x41b9a6
push 0x430020
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41b9a7
push 2
pop edi
cmp dword [ebp - 0xc], edi
jge 0x41b9b0
and byte [ebp - 1], 0
push 0x430010
jmp 0x41be32
cmp eax, 2
jne 0x41ba20
lea ecx, [ebp - 0xa8]
call fcn.0041e62f
lea eax, [ebp - 0xa8]
push eax
call fcn.0042393f
cmp dword [ebp - 0xa8], edi
pop ecx
je 0x41b9ff
lea ecx, [ebp - 0xa8]
call fcn.0041f593
push eax
lea ecx, [ebx + 8]
call fcn.0041f593
push eax
call fcn.00427a10
pop ecx
test eax, eax
pop ecx
jle 0x41ba03
and byte [ebp - 1], 0
push str.Java
lea ecx, [ebp - 0x18]
call fcn.0041e77c
lea ecx, [ebp - 0xa8]
call fcn.0041e765
jmp 0x41be3a
cmp eax, 3
jne 0x41bc45
push 0x4811a8
lea ecx, [ebp - 0xb4]
call fcn.0041e703
xor edi, edi
lea ecx, [ebp - 0xb4]
push edi
push str.hhctrl.ocx
call fcn.0041e8b1
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.0041f593
push eax
call fcn.0040e9cc
mov eax, dword [ebp - 0xc]
add esp, 0xc
xor ebx, ebx
lea esi, [eax + 8]
push 1
push 0x42fff8
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41ba97
mov edi, 0x40048
mov ebx, 0x1c7a0000
jmp 0x41bbf1
push 1
push 0x430024
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bab8
mov edi, 0x40048
mov ebx, 0x1c9b0000
jmp 0x41bbf1
push 1
push str.1.1a
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bad9
mov edi, 0x40048
mov ebx, 0x1c9d0000
jmp 0x41bbf1
push 1
push str.1.1b
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bafa
mov edi, 0x40048
mov ebx, 0x1fe40000
jmp 0x41bbf1
push 1
push 0x42ffe4
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bb1b
mov edi, 0x40049
mov ebx, 0x203c0000
jmp 0x41bbf1
push 1
push str.1.21
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bb3c
mov edi, 0x40049
mov ebx, 0x20dc0000
jmp 0x41bbf1
push 1
push str.1.21a
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bb5d
mov edi, 0x40049
mov ebx, 0x211a0000
jmp 0x41bbf1
push 1
push str.1.22
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bb7b
mov edi, 0x40049
mov ebx, 0x21710000
jmp 0x41bbf1
push 1
push 0x42ffc8
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bb99
mov edi, 0x4004a
mov ebx, 0x21fe0000
jmp 0x41bbf1
push 1
push str.1.31
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bbb7
mov edi, 0x4004a
mov ebx, 0x22590000
jmp 0x41bbf1
push 1
push str.1.32
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bbd5
mov edi, 0x4004a
mov ebx, 0x22ab0000
jmp 0x41bbf1
push 1
push str.1.33
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bbf1
mov edi, 0x4004a
mov ebx, 0x24390000
mov ecx, dword [ebp - 0x20]
mov eax, edi
shr eax, 0x10
shr ecx, 0x10
cmp cx, ax
jb 0x41bc21
jne 0x41bc09
cmp word [ebp - 0x20], di
jb 0x41bc21
cmp cx, ax
jne 0x41bc25
cmp word [ebp - 0x20], di
jne 0x41bc25
mov eax, dword [ebp - 0x40]
shr ebx, 0x10
shr eax, 0x10
cmp eax, ebx
jae 0x41bc25
and byte [ebp - 1], 0
push str.HTML_Help_Viewer
lea ecx, [ebp - 0x18]
call fcn.0041e77c
lea ecx, [ebp - 0xb4]
call fcn.0041e765
mov ebx, dword [ebp - 0xc]
jmp 0x41be3a
cmp eax, 4
jne 0x41bd89
push 0x4311c8
lea ecx, [ebp - 0x64]
call fcn.0041e69f
lea esi, [ebx + 8]
push 1
push 0x42ff98
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bc77
push str.2.50.4403.12
jmp 0x41bcc0
push 1
push 0x42ff84
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bc90
push str.2.60.6526.3
jmp 0x41bcc0
push 1
push 0x42ff74
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bca9
push str.2.70.9001.0
jmp 0x41bcc0
push 1
push 0x42ff64
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bcc8
push str.2.80.1022.0
lea ecx, [ebp - 0x64]
call fcn.0041e77c
lea ecx, [ebp - 0x78]
call fcn.0041e62f
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edi
push eax
mov eax, dword [0x4823f8]
or eax, 0x20019
push eax
push edi
push str.SoftwareMicrosoftDataAccess
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41bd45
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.0041e77c
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x78], 0
je 0x41bd68
lea ecx, [ebp - 0x78]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x64]
call fcn.0041f593
push eax
call fcn.00427a10
pop ecx
test eax, eax
pop ecx
jle 0x41bd6c
and byte [ebp - 1], 0
push str.Microsoft_Data_Access_Components
lea ecx, [ebp - 0x18]
call fcn.0041e77c
lea ecx, [ebp - 0x78]
call fcn.0041e765
lea ecx, [ebp - 0x64]
jmp 0x41ba16
cmp eax, 5
jne 0x41c1a6
mov eax, dword [0x481854]
cmp eax, 0xffffffff
jne 0x41bda6
call fcn.00422d80
mov dword [0x481854], eax
mov dword [ebp - 0x68], eax
lea esi, [ebx + 8]
shr eax, 0x10
xor edi, edi
push 1
push 0x42ff00
mov ecx, esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xc], edi
call fcn.0041ea64
test al, al
je 0x41bdcd
push 7
jmp 0x41be15
push 1
push 0x42fefc
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41bde3
push 8
jmp 0x41be15
push 1
push 0x42fef8
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41be01
push 8
mov dword [ebp - 0xc], 1
pop edi
jmp 0x41be16
push 1
push 0x42fef4
mov ecx, esi
call fcn.0041ea64
test al, al
je 0x41be16
push 9
pop edi
movzx eax, word [ebp - 0x68]
cmp eax, edi
jl 0x41be29
jne 0x41be2d
movzx eax, word [ebp - 0x6c]
cmp eax, dword [ebp - 0xc]
jge 0x41be2d
and byte [ebp - 1], 0
push str.DirectX
lea ecx, [ebp - 0x18]
call fcn.0041e77c
cmp byte [ebp - 1], 0
jne 0x41c1a6
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x58]
push eax
call fcn.0041e703
lea eax, [ebx + 0x14]
lea ecx, [ebp - 0x58]
push eax
call fcn.0041e92f
lea eax, [ebx + 8]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041e92f
xor esi, esi
cmp dword [0x4812b4], esi
je 0x41beea
call fcn.00420d72
test al, al
jne 0x41beea
lea ecx, [ebp - 0x9c]
call fcn.0041e62f
lea ecx, [ebp - 0x18]
call fcn.0041f593
push eax
mov ecx, 0x48227c
call fcn.0041f593
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0041ecd1
add esp, 0xc
lea ecx, [ebp - 0x9c]
push 3
push esi
call fcn.0041f593
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.0041da7b
cmp eax, 7
jne 0x41bed1
lea ecx, [ebp - 0x9c]
jmp 0x41c199
cmp eax, 2
jne 0x41bee2
push 1
mov ecx, 0x4810c0
call fcn.0041c862
lea ecx, [ebp - 0x9c]
jmp 0x41bf3f
lea ecx, [ebp - 0x90]
call fcn.0041e62f
lea ecx, [ebp - 0x18]
call fcn.0041f593
push eax
mov ecx, 0x482270
call fcn.0041f593
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0041ecd1
add esp, 0xc
lea ecx, [ebp - 0x90]
push 4
push esi
call fcn.0041f593
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.0041da7b
cmp eax, 7
je 0x41c1c2
lea ecx, [ebp - 0x90]
call fcn.0041e765
mov ecx, dword [ebp - 8]
lea esi, [ebx + 0x20]
push esi
call fcn.00418851
mov ecx, dword [ebp - 8]
push esi
call fcn.0041cf5a
mov ecx, dword [ebp - 8]
push 0x7fffffff
push esi
call fcn.0041dbff
lea ecx, [ebp - 0x3c]
call fcn.0041e62f
mov eax, dword [ebx]
cmp eax, 3
jne 0x41bf7d
push str._r:n__q:a
jmp 0x41bf87
cmp eax, 4
jne 0x41bf8f
push str._q:a__c:_dasetup.exe__q__n_
lea ecx, [ebp - 0x3c]
call fcn.0041e77c
lea edi, [ebx + 0x2c]
push 0
push str._Default_
mov ecx, edi
call fcn.0041ea64
test al, al
jne 0x41bfad
push edi
lea ecx, [ebp - 0x3c]
call fcn.0041e7ea
mov eax, dword [ebx + 4]
test eax, eax
jne 0x41c026
lea ecx, [ebp - 0x84]
call fcn.0041e62f
mov ecx, esi
call fcn.0041f593
push eax
lea eax, [ebp - 0x84]
push 0x42f068
push eax
call fcn.0041ecd1
add esp, 0xc
cmp dword [ebp - 0x3c], 0
jbe 0x41bffe
lea ecx, [ebp - 0x3c]
call fcn.0041f593
push eax
lea eax, [ebp - 0x84]
push 0x42feb0
push eax
call fcn.0041ecd1
add esp, 0xc
push 0x4311c8
push 0
lea ecx, [ebp - 0x84]
call fcn.0041f593
push eax
mov ecx, 0x481a08
call fcn.00412f63
lea ecx, [ebp - 0x84]
jmp 0x41c17b
cmp eax, 1
jne 0x41c180
lea ecx, [ebp - 0x30]
call fcn.0041e62f
lea ecx, [ebp - 0x4c]
call fcn.0041e62f
lea ecx, [ebp - 0x18]
call fcn.0041f593
push eax
lea eax, [ebp - 0x4c]
push str._ResourceDir_3rd_party_s.exe
push eax
call fcn.0041ecd1
mov ecx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.0041cf5a
lea ecx, [ebp - 0x58]
call fcn.0041f593
push eax
mov ecx, esi
call fcn.0041f593
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041f593
push eax
lea eax, [ebp - 0x30]
push str.__ResourceDir_3rd_partyDownloader.exe___download__local___s___url___s___program___s_
push eax
call fcn.0041ecd1
mov ecx, dword [ebp - 8]
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
call fcn.0041cf5a
mov esi, 0x4311c8
lea ecx, [ebp - 0x30]
push esi
push 0
call fcn.0041f593
mov edi, 0x481a08
push eax
mov ecx, edi
call fcn.00412f63
lea ecx, [ebp - 0x4c]
call fcn.0041f593
push eax
call fcn.0040f0b8
test al, al
pop ecx
jne 0x41c10b
push 4
push 0
mov ecx, 0x482288
call fcn.0041f593
mov ecx, dword [ebp - 8]
push eax
push 0
call fcn.0041da7b
cmp eax, 6
jne 0x41c0ff
lea ecx, [ebp - 0x4c]
call fcn.0041e765
lea ecx, [ebp - 0x30]
call fcn.0041e765
jmp 0x41c196
push 1
mov ecx, 0x4810c0
call fcn.0041c862
push esi
lea ecx, [ebp - 0x30]
call fcn.0041e77c
lea ecx, [ebp - 0x4c]
call fcn.0041f593
push eax
lea eax, [ebp - 0x30]
push 0x42f068
push eax
call fcn.0041ecd1
add esp, 0xc
cmp dword [ebp - 0x3c], 0
jbe 0x41c14e
lea ecx, [ebp - 0x3c]
call fcn.0041f593
push eax
lea eax, [ebp - 0x30]
push 0x42feb0
push eax
call fcn.0041ecd1
add esp, 0xc
push esi
push 0
lea ecx, [ebp - 0x30]
call fcn.0041f593
push eax
mov ecx, edi
call fcn.00412f63
lea ecx, [ebp - 0x4c]
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x4c]
call fcn.0041e765
lea ecx, [ebp - 0x30]
call fcn.0041e765
cmp dword [ebx], 4
jne 0x41c196
mov eax, dword [0x4812a8]
and eax, 0xf7fffff3
or al, 2
mov dword [0x4812a8], eax
lea ecx, [ebp - 0x3c]
call fcn.0041e765
lea ecx, [ebp - 0x58]
call fcn.0041e765
lea ecx, [ebp - 0x18]
call fcn.0041e765
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x4816b0]
jl 0x41b939
jmp 0x41c1e7
mov ecx, dword [ebp - 8]
push 1
call fcn.0041c862
lea ecx, [ebp - 0x90]
call fcn.0041e765
lea ecx, [ebp - 0x58]
call fcn.0041e765
lea ecx, [ebp - 0x18]
call fcn.0041e765
pop edi
pop esi
pop ebx
leave
ret