Function at 0x419840
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b691
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x486850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x15
xor eax, eax
push str.SoftwareTuneUpSetup
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 0x3a4], 7
mov dword [ebp - 0x3a8], 0
mov word [ebp - 0x3b8], ax
call fcn.00402900
lea edx, [ebp - 0x3b8]
lea ecx, [ebp - 0x400]
mov dword [ebp - 4], 0
call fcn.0042beb0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x3a4], 8
jb 0x4198d0
push dword [ebp - 0x3b8]
call fcn.0043d3af
add esp, 4
xor eax, eax
push eax
push 0x468378
lea ecx, [ebp - 0x3e8]
mov dword [ebp - 0x3a4], 7
mov dword [ebp - 0x3a8], 0
mov word [ebp - 0x3b8], ax
mov dword [ebp - 0x3d4], 7
mov dword [ebp - 0x3d8], eax
mov word [ebp - 0x3e8], ax
call fcn.00402900
mov byte [ebp - 4], 3
cmp dword [ebp - 0x3ec], 8
mov eax, dword [ebp - 0x400]
jae 0x41992e
lea eax, [ebp - 0x400]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x404]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x419a74
lea eax, [ebp - 0x3b0]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x419e33
cmp dword [ebp - 0x3ec], 8
mov eax, dword [ebp - 0x400]
jae 0x41997c
lea eax, [ebp - 0x400]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x4199df
cmp dword [ebp - 0x3ec], 8
mov eax, dword [ebp - 0x400]
jae 0x4199b9
lea eax, [ebp - 0x400]
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push SysReAllocString
call esi
test eax, eax
jne 0x419e33
lea edx, [ebp - 0x3b0]
lea ecx, [ebp - 0x3d0]
call fcn.0042bd10
mov esi, dword [ebp - 0x3bc]
mov edx, dword [ebp - 0x3d0]
mov ecx, edx
cmp esi, 8
jae 0x419a09
lea ecx, [ebp - 0x3d0]
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419a10
sub ecx, edi
sar ecx, 1
cmp esi, 8
jae 0x419a2a
lea edx, [ebp - 0x3d0]
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x468378
push dword [ebp - 0x404]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x404]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x3bc], 8
jb 0x419e33
push dword [ebp - 0x3d0]
call fcn.0043d3af
add esp, 4
jmp 0x419e33
cmp dword [ebp - 0x3ec], 8
mov eax, dword [ebp - 0x400]
jae 0x419a89
lea eax, [ebp - 0x400]
lea ecx, [ebp - 0x404]
push ecx
push 0x2001b
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x419e33
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x468378
push dword [ebp - 0x404]
mov dword [ebp - 0x418], 0x80
call edi
test eax, eax
jne 0x419b2a
cmp dword [ebp - 0x41c], 1
jne 0x419b2a
mov eax, dword [ebp - 0x418]
shr eax, 1
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x98]
push 0x41
push eax
call fcn.0043ef71
add esp, 0x10
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
setns al
test al, al
jne 0x419e25
lea eax, [ebp - 0x408]
push eax
push 0x20019
push 0
push str.TUU2011
push dword [ebp - 0x404]
call esi
test eax, eax
jne 0x419c46
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x3a0]
push eax
push 0
push 0
push 0x468378
push dword [ebp - 0x408]
mov dword [ebp - 0x414], 0x208
call edi
test eax, eax
jne 0x419c33
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x3d0]
call fcn.00402a00
cmp dword [eax + 0x10], 0
lea ecx, [ebp - 0x3d0]
setne bl
call fcn.004023c0
test bl, bl
je 0x419c33
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
lea eax, [ebp - 0x3a0]
push eax
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], 0x80
call edi
test eax, eax
jne 0x419c33
cmp dword [ebp - 0x410], 1
jne 0x419c33
mov eax, dword [ebp - 0x40c]
shr eax, 1
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x98]
push 0x41
push eax
call fcn.0043ef71
add esp, 0x10
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x98]
push eax
mov eax, dword [sym.imp.ole32.dll_IIDFromString]
call eax
test eax, eax
js 0x419c33
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x3e8]
call fcn.004019b0
push dword [ebp - 0x408]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
jmp 0x419d0c
lea eax, [ebp - 0x408]
push eax
push 0x20019
push 0
push str.TUU2010
push dword [ebp - 0x404]
call esi
test eax, eax
jne 0x419d06
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x3a0]
push eax
push 0
push 0
push 0x468378
push dword [ebp - 0x408]
mov dword [ebp - 0x410], 0x208
call edi
test eax, eax
jne 0x419c33
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x3d0]
call fcn.00402a00
cmp dword [eax + 0x10], 0
lea ecx, [ebp - 0x3d0]
setne bl
call fcn.004023c0
test bl, bl
je 0x419c33
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
lea eax, [ebp - 0x3a0]
push eax
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], 0x80
call edi
test eax, eax
jne 0x419c33
cmp dword [ebp - 0x414], 1
jmp 0x419be5
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x3d8], 0
je 0x419d9a
mov esi, dword [ebp - 0x3d4]
mov edx, dword [ebp - 0x3e8]
mov ecx, edx
cmp esi, 8
jae 0x419d32
lea ecx, [ebp - 0x3e8]
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419d35
sub ecx, ebx
sar ecx, 1
cmp esi, 8
jae 0x419d4f
lea edx, [ebp - 0x3e8]
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x468378
push dword [ebp - 0x404]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x419e2b
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.TUU2011
push dword [ebp - 0x404]
call esi
push str.TUU2010
push dword [ebp - 0x404]
call esi
jmp 0x419e2b
lea eax, [ebp - 0x3b0]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x419e2b
lea edx, [ebp - 0x3b0]
lea ecx, [ebp - 0x3d0]
call fcn.0042bd10
mov esi, dword [ebp - 0x3bc]
mov edx, dword [ebp - 0x3d0]
mov ecx, edx
cmp esi, 8
jae 0x419dd9
lea ecx, [ebp - 0x3d0]
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419de0
sub ecx, ebx
sar ecx, 1
cmp esi, 8
jae 0x419dfa
lea edx, [ebp - 0x3d0]
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x468378
push dword [ebp - 0x404]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x3d0]
call fcn.004023c0
jmp 0x419e2b
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x404]
call edi
cmp dword [ebp - 0x3d4], 8
jb 0x419e4a
push dword [ebp - 0x3e8]
call fcn.0043d3af
add esp, 4
xor eax, eax
cmp dword [ebp - 0x3ec], 8
mov dword [ebp - 0x3d4], 7
mov dword [ebp - 0x3d8], 0
mov word [ebp - 0x3e8], ax
jb 0x419e7e
push dword [ebp - 0x400]
call fcn.0043d3af
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043d3b4
mov esp, ebp
pop ebp
ret