Function at 0x41938d
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 [0x47e568], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], edi
jle 0x419bde
push dword [ebp - 0x1c]
mov ecx, 0x47e55c
call fcn.0041e860
mov ebx, eax
mov dword [ebp - 0xc], ebx
push dword [ebx + 0x2c]
call fcn.00412ba7
test al, al
pop ecx
je 0x419ba5
lea ecx, [ebp - 0x18]
call fcn.0041bdc5
mov eax, dword [ebx]
mov byte [ebp - 1], 1
cmp eax, 1
jne 0x419414
call fcn.0041fb81
push 1
push 0x42cfb4
lea ecx, [ebx + 8]
mov edi, eax
xor esi, esi
call fcn.0041c1fa
test al, al
je 0x419402
push 1
pop esi
cmp edi, esi
jge 0x41940a
and byte [ebp - 1], 0
push 0x42cfa4
jmp 0x419887
cmp eax, 2
jne 0x41947a
lea ecx, [ebp - 0x9c]
call fcn.0041bdc5
lea eax, [ebp - 0x9c]
push eax
call fcn.00420aa9
cmp dword [ebp - 0x9c], edi
pop ecx
je 0x419459
lea ecx, [ebp - 0x9c]
call fcn.0041cd1e
push eax
lea ecx, [ebx + 8]
call fcn.0041cd1e
push eax
call fcn.00424a30
pop ecx
test eax, eax
pop ecx
jle 0x41945d
and byte [ebp - 1], 0
push str.Java
lea ecx, [ebp - 0x18]
call fcn.0041bf12
lea ecx, [ebp - 0x9c]
call fcn.0041befb
jmp 0x419891
cmp eax, 3
jne 0x41969f
push 0x47e0a0
lea ecx, [ebp - 0xa8]
call fcn.0041be99
xor edi, edi
lea ecx, [ebp - 0xa8]
push edi
push str.hhctrl.ocx
call fcn.0041c047
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x40], edi
call fcn.0041cd1e
push eax
call fcn.0040d883
mov eax, dword [ebp - 0xc]
add esp, 0xc
xor ebx, ebx
lea esi, [eax + 8]
push 1
push 0x42cf8c
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x4194f1
mov edi, 0x40048
mov ebx, 0x1c7a0000
jmp 0x41964b
push 1
push 0x42cfb4
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419512
mov edi, 0x40048
mov ebx, 0x1c9b0000
jmp 0x41964b
push 1
push str.1.1a
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419533
mov edi, 0x40048
mov ebx, 0x1c9d0000
jmp 0x41964b
push 1
push str.1.1b
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419554
mov edi, 0x40048
mov ebx, 0x1fe40000
jmp 0x41964b
push 1
push 0x42cf78
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419575
mov edi, 0x40049
mov ebx, 0x203c0000
jmp 0x41964b
push 1
push str.1.21
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419596
mov edi, 0x40049
mov ebx, 0x20dc0000
jmp 0x41964b
push 1
push str.1.21a
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x4195b7
mov edi, 0x40049
mov ebx, 0x211a0000
jmp 0x41964b
push 1
push str.1.22
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x4195d5
mov edi, 0x40049
mov ebx, 0x21710000
jmp 0x41964b
push 1
push 0x42cf5c
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x4195f3
mov edi, 0x4004a
mov ebx, 0x21fe0000
jmp 0x41964b
push 1
push str.1.31
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419611
mov edi, 0x4004a
mov ebx, 0x22590000
jmp 0x41964b
push 1
push str.1.32
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x41962f
mov edi, 0x4004a
mov ebx, 0x22ab0000
jmp 0x41964b
push 1
push str.1.33
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x41964b
mov edi, 0x4004a
mov ebx, 0x24390000
mov ecx, dword [ebp - 0x20]
mov eax, edi
shr eax, 0x10
shr ecx, 0x10
cmp cx, ax
jb 0x41967b
jne 0x419663
cmp word [ebp - 0x20], di
jb 0x41967b
cmp cx, ax
jne 0x41967f
cmp word [ebp - 0x20], di
jne 0x41967f
mov eax, dword [ebp - 0x40]
shr ebx, 0x10
shr eax, 0x10
cmp eax, ebx
jae 0x41967f
and byte [ebp - 1], 0
push str.HTML_Help_Viewer
lea ecx, [ebp - 0x18]
call fcn.0041bf12
lea ecx, [ebp - 0xa8]
call fcn.0041befb
mov ebx, dword [ebp - 0xc]
jmp 0x41988f
cmp eax, 4
jne 0x4197de
push 0x42e0c8
lea ecx, [ebp - 0x58]
call fcn.0041be35
lea esi, [ebx + 8]
push 1
push 0x42cf2c
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x4196d1
push str.2.50.4403.12
jmp 0x41971a
push 1
push 0x42cf18
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x4196ea
push str.2.60.6526.3
jmp 0x41971a
push 1
push 0x42cf08
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419703
push str.2.70.9001.0
jmp 0x41971a
push 1
push 0x42cef8
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419722
push str.2.80.1022.3
lea ecx, [ebp - 0x58]
call fcn.0041bf12
lea ecx, [ebp - 0x78]
call fcn.0041bdc5
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 0x41979b
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.0041bf12
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp dword [ebp - 0x78], edi
je 0x4197bd
lea ecx, [ebp - 0x78]
call fcn.0041cd1e
push eax
lea ecx, [ebp - 0x58]
call fcn.0041cd1e
push eax
call fcn.00424a30
pop ecx
test eax, eax
pop ecx
jle 0x4197c1
and byte [ebp - 1], 0
push str.Microsoft_Data_Access_Components
lea ecx, [ebp - 0x18]
call fcn.0041bf12
lea ecx, [ebp - 0x78]
call fcn.0041befb
lea ecx, [ebp - 0x58]
jmp 0x419470
cmp eax, 5
jne 0x419b9d
mov eax, dword [0x47e6f4]
cmp eax, 0xffffffff
jne 0x4197fb
call fcn.0041fef9
mov dword [0x47e6f4], eax
mov dword [ebp - 0x68], eax
lea esi, [ebx + 8]
shr eax, 0x10
xor edi, edi
push 1
push 0x42ce94
mov ecx, esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xc], edi
call fcn.0041c1fa
test al, al
je 0x419822
push 7
jmp 0x41986a
push 1
push 0x42ce90
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419838
push 8
jmp 0x41986a
push 1
push 0x42ce8c
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x419856
push 8
mov dword [ebp - 0xc], 1
pop edi
jmp 0x41986b
push 1
push 0x42ce88
mov ecx, esi
call fcn.0041c1fa
test al, al
je 0x41986b
push 9
pop edi
movzx eax, word [ebp - 0x68]
cmp eax, edi
jl 0x41987e
jne 0x419882
movzx eax, word [ebp - 0x6c]
cmp eax, dword [ebp - 0xc]
jge 0x419882
and byte [ebp - 1], 0
push str.DirectX
lea ecx, [ebp - 0x18]
call fcn.0041bf12
xor edi, edi
cmp byte [ebp - 1], 0
jne 0x419b9d
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0041be99
lea eax, [ebx + 0x14]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0041c0c5
lea eax, [ebx + 8]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041c0c5
cmp dword [0x47e19c], edi
je 0x41993f
call fcn.0041e3ef
test al, al
jne 0x41993f
lea ecx, [ebp - 0x90]
call fcn.0041bdc5
lea ecx, [ebp - 0x18]
call fcn.0041cd1e
push eax
mov ecx, 0x47f104
call fcn.0041cd1e
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0041c467
add esp, 0xc
lea ecx, [ebp - 0x90]
push 3
push edi
call fcn.0041cd1e
mov ecx, dword [ebp - 8]
push eax
push edi
call fcn.0041b2cc
cmp eax, 7
jne 0x419926
lea ecx, [ebp - 0x90]
jmp 0x419b90
cmp eax, 2
jne 0x419937
push 1
mov ecx, 0x47dfb8
call fcn.0041a1b5
lea ecx, [ebp - 0x90]
jmp 0x419994
lea ecx, [ebp - 0x84]
call fcn.0041bdc5
lea ecx, [ebp - 0x18]
call fcn.0041cd1e
push eax
mov ecx, 0x47f0f8
call fcn.0041cd1e
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041c467
add esp, 0xc
lea ecx, [ebp - 0x84]
push 4
push edi
call fcn.0041cd1e
mov ecx, dword [ebp - 8]
push eax
push edi
call fcn.0041b2cc
cmp eax, 7
je 0x419bb9
lea ecx, [ebp - 0x84]
call fcn.0041befb
mov ecx, dword [ebp - 8]
lea esi, [ebx + 0x20]
push esi
call fcn.004164b1
mov ecx, dword [ebp - 8]
push esi
call fcn.0041a81a
mov ecx, dword [ebp - 8]
push 0x7fffffff
push esi
call fcn.0041b3b9
lea ecx, [ebp - 0x64]
call fcn.0041bdc5
mov eax, dword [ebx]
cmp eax, 3
jne 0x4199d2
push str.__r:n__q:a
jmp 0x4199dc
cmp eax, 4
jne 0x4199e4
push str.__q:a__c:_dasetup.exe__q__n_
lea ecx, [ebp - 0x64]
call fcn.0041bf12
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x419a3d
lea ecx, [ebp - 0xb4]
call fcn.0041bdc5
lea ecx, [ebp - 0x64]
call fcn.0041cd1e
push eax
mov ecx, esi
call fcn.0041cd1e
push eax
lea eax, [ebp - 0xb4]
push 0x42ce4c
push eax
call fcn.0041c467
add esp, 0x10
lea ecx, [ebp - 0xb4]
push edi
call fcn.0041cd1e
push eax
mov ecx, 0x47e880
call fcn.004114e1
lea ecx, [ebp - 0xb4]
jmp 0x419b75
cmp eax, 1
jne 0x419b7a
lea ecx, [ebp - 0x3c]
call fcn.0041bdc5
lea ecx, [ebp - 0x30]
call fcn.0041bdc5
lea ecx, [ebp - 0x18]
call fcn.0041cd1e
push eax
lea eax, [ebp - 0x30]
push str._ResourceDir_3rd_party_s.exe
push eax
call fcn.0041c467
mov ecx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
call fcn.0041a81a
lea ecx, [ebp - 0x4c]
call fcn.0041cd1e
push eax
mov ecx, esi
call fcn.0041cd1e
push eax
lea ecx, [ebp - 0x30]
call fcn.0041cd1e
push eax
lea eax, [ebp - 0x3c]
push str.__ResourceDir_3rd_partyDownloader.exe___download__local___s___url___s___program___s_
push eax
call fcn.0041c467
mov ecx, dword [ebp - 8]
add esp, 0x14
lea eax, [ebp - 0x3c]
push eax
call fcn.0041a81a
push edi
lea ecx, [ebp - 0x3c]
call fcn.0041cd1e
push eax
mov ecx, 0x47e880
call fcn.004114e1
lea ecx, [ebp - 0x30]
call fcn.0041cd1e
push eax
call fcn.0040df52
test al, al
pop ecx
jne 0x419b17
push 4
push edi
mov ecx, 0x47f110
call fcn.0041cd1e
mov ecx, dword [ebp - 8]
push eax
push edi
call fcn.0041b2cc
cmp eax, 6
jne 0x419b0b
lea ecx, [ebp - 0x30]
call fcn.0041befb
lea ecx, [ebp - 0x3c]
call fcn.0041befb
jmp 0x419b8d
push 1
mov ecx, 0x47dfb8
call fcn.0041a1b5
push 0x42e0c8
lea ecx, [ebp - 0x3c]
call fcn.0041bf12
lea ecx, [ebp - 0x64]
call fcn.0041cd1e
push eax
lea ecx, [ebp - 0x30]
call fcn.0041cd1e
push eax
lea eax, [ebp - 0x3c]
push 0x42ce4c
push eax
call fcn.0041c467
add esp, 0x10
lea ecx, [ebp - 0x3c]
push edi
call fcn.0041cd1e
push eax
mov ecx, 0x47e880
call fcn.004114e1
lea ecx, [ebp - 0x30]
call fcn.0041cd1e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x30]
call fcn.0041befb
lea ecx, [ebp - 0x3c]
call fcn.0041befb
cmp dword [ebx], 4
jne 0x419b8d
mov eax, dword [0x47e190]
and al, 0xf3
or al, 2
mov dword [0x47e190], eax
lea ecx, [ebp - 0x64]
call fcn.0041befb
lea ecx, [ebp - 0x4c]
call fcn.0041befb
lea ecx, [ebp - 0x18]
call fcn.0041befb
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x47e568]
jl 0x4193ad
jmp 0x419bde
mov ecx, dword [ebp - 8]
push 1
call fcn.0041a1b5
lea ecx, [ebp - 0x84]
call fcn.0041befb
lea ecx, [ebp - 0x4c]
call fcn.0041befb
lea ecx, [ebp - 0x18]
call fcn.0041befb
pop edi
pop esi
pop ebx
leave
ret