Function at 0x4b1690
Capabilities:
Delete registry value
Get installed programs
Link many functions at runtime
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3a08
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x63434c]
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
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x440]
mov dword [ebp - 0x440], esi
push eax
push 0x2001f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b1724
mov esi, dword [ebp - 0x440]
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], eax
jmp 0x4b172a
mov esi, dword [ebp - 0x430]
mov byte [ebp - 4], 0
test eax, eax
jne 0x4b1777
push ebx
lea ecx, [ebp - 0x430]
call fcn.0043a160
push 0x5b72c4
lea ecx, [ebp - 0x430]
call fcn.0043a160
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x4b1767
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x430], eax
mov esi, dword [ebp - 0x430]
mov dword [ebp - 0x42c], 0
cmp dword [ebp + 8], 0
je 0x4b1e6a
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b200b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 2
test edi, edi
je 0x4b17d5
test edi, 0xffff0000
jne 0x4b17bf
movzx eax, di
lea ecx, [ebp - 0x438]
push eax
call fcn.00429d30
jmp 0x4b17e4
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b17c4
sub ecx, edx
sar ecx, 1
jmp 0x4b17d7
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x438]
call fcn.0042a000
push 1
push 0x5b4804
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.00429970
test ebx, ebx
jne 0x4b1802
xor ecx, ecx
jmp 0x4b1816
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b1807
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x438]
call fcn.00429970
mov ebx, dword [ebp - 0x428]
mov edi, dword [ebp - 0x438]
mov byte [ebp - 4], 4
mov dword [ebp - 0x434], 0
test ebx, ebx
je 0x4b1893
cmp dword [ebx], 0
je 0x4b1886
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b1ddd
push str.RegOpenKeyTransactedW
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
test eax, eax
je 0x4b188c
push 0
push dword [ebx]
lea ecx, [ebp - 0x434]
push ecx
push 0x2001f
push 0
push edi
push 0x80000001
call eax
jmp 0x4b18ae
cmp dword [ebx + 4], 0
jne 0x4b1893
mov eax, 1
jmp 0x4b18ae
lea eax, [ebp - 0x434]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x2001f
push 0
push edi
push 0x80000001
call eax
test eax, eax
jne 0x4b1ddd
test esi, esi
je 0x4b18c1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x434]
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0
test eax, eax
jne 0x4b1ddd
push eax
push eax
push eax
push eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x440]
push eax
push 0
push 0
lea eax, [ebp - 0x460]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
xor ebx, ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x43c], ebx
cmp dword [ebp - 0x460], ebx
jbe 0x4b1ac8
jmp 0x4b1950
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
add esp, 0xc
mov dword [ebp - 0x450], 0x104
lea eax, [ebp - 0x468]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4b1ab5
lea eax, [ebp - 0x218]
push str.usercenter
push eax
call fcn.00566ed2
add esp, 8
test eax, eax
je 0x4b1ab5
lea eax, [ebp - 0x218]
push 0x5c62f4
push eax
call fcn.00566ed2
add esp, 8
test eax, eax
je 0x4b1ab5
call fcn.004291f0
test eax, eax
je 0x4b200b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x4b1a12
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00429d30
jmp 0x4b1a42
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4b1a20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b1a20
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.0042a000
mov ebx, dword [ebp - 0x458]
mov byte [ebp - 4], 7
cmp ebx, dword [ebp - 0x454]
je 0x4b1a74
mov esi, dword [ebp - 0x424]
lea eax, [esi - 0x10]
push eax
call fcn.00429b20
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ebp - 0x458], 4
jmp 0x4b1a8d
lea eax, [ebp - 0x424]
push eax
push ebx
lea ecx, [ebp - 0x45c]
call fcn.00429340
mov esi, dword [ebp - 0x424]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b1aa9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x434]
mov ebx, dword [ebp - 0x43c]
inc ebx
mov dword [ebp - 0x43c], ebx
cmp ebx, dword [ebp - 0x460]
jb 0x4b1950
xor ebx, ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
xor esi, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x43c], esi
cmp dword [ebp - 0x440], esi
jbe 0x4b1c3b
jmp 0x4b1b00
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0055c530
add esp, 0xc
mov dword [ebp - 0x450], 0x104
lea eax, [ebp - 0x450]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x420]
push eax
push esi
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4b1c22
call fcn.004291f0
test eax, eax
je 0x4b200b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x4b1b8a
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00429d30
jmp 0x4b1bb5
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b1b93
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.0042a000
mov ebx, dword [ebp - 0x448]
mov byte [ebp - 4], 0xa
cmp ebx, dword [ebp - 0x444]
je 0x4b1be7
mov esi, dword [ebp - 0x424]
lea eax, [esi - 0x10]
push eax
call fcn.00429b20
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ebp - 0x448], 4
jmp 0x4b1c00
lea eax, [ebp - 0x424]
push eax
push ebx
lea ecx, [ebp - 0x44c]
call fcn.00429340
mov esi, dword [ebp - 0x424]
mov byte [ebp - 4], 8
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b1c1c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x43c]
inc esi
mov dword [ebp - 0x43c], esi
cmp esi, dword [ebp - 0x440]
jb 0x4b1b00
mov ebx, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x45c]
cmp esi, dword [ebp - 0x458]
je 0x4b1c6e
lea esp, [esp]
push dword [esi]
lea ecx, [ebp - 0x430]
call fcn.0043a160
add esi, 4
cmp esi, dword [ebp - 0x458]
jne 0x4b1c50
mov ebx, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x430]
cmp ebx, dword [ebp - 0x448]
je 0x4b1c9a
lea esp, [esp]
push dword [ebx]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add ebx, 4
cmp ebx, dword [ebp - 0x448]
jne 0x4b1c80
mov ebx, dword [ebp - 0x44c]
test esi, esi
je 0x4b1cb5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x44c]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov byte [ebp - 4], 5
test ebx, ebx
je 0x4b1d5c
mov esi, dword [ebp - 0x448]
cmp ebx, esi
je 0x4b1d04
or edi, 0xffffffff
mov edx, dword [ebx]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b1cf1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, esi
jne 0x4b1cd8
mov ebx, dword [ebp - 0x44c]
mov edi, dword [ebp - 0x438]
mov eax, dword [ebp - 0x444]
sub eax, ebx
sar eax, 2
lea ecx, [eax*4]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4b1d34
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2015
push ecx
push ebx
call fcn.00558004
add esp, 8
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov esi, dword [ebp - 0x45c]
mov byte [ebp - 4], 3
test esi, esi
je 0x4b1ddd
mov ebx, dword [ebp - 0x458]
cmp esi, ebx
je 0x4b1d9d
or edi, 0xffffffff
mov edx, dword [esi]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b1d90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, ebx
jne 0x4b1d77
mov edi, dword [ebp - 0x438]
mov eax, dword [ebp - 0x454]
mov esi, dword [ebp - 0x45c]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x4b1dd3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2015
push ecx
push esi
call fcn.00558004
add esp, 8
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4b1df5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x430]
mov esi, dword [ebp - 0x428]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x424], 0
test esi, esi
je 0x4b1f6c
cmp dword [esi], 0
je 0x4b1f5f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b1fe4
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b1f65
push 0
push dword [esi]
lea ecx, [ebp - 0x424]
push ecx
push 0x2001f
push 0
push str.SOFTWAREClasses
push 0x80000001
call eax
jmp 0x4b1f8a
mov ebx, dword [ebp - 0x428]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x424], 0
test ebx, ebx
je 0x4b1ed4
cmp dword [ebx], 0
je 0x4b1ec7
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b1df5
push str.RegOpenKeyTransactedW
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
test eax, eax
je 0x4b1ecd
push 0
push dword [ebx]
lea ecx, [ebp - 0x424]
push ecx
push 0x2001f
push 0
push edi
push 0x80000001
call eax
jmp 0x4b1eef
cmp dword [ebx + 4], 0
jne 0x4b1ed4
mov eax, 1
jmp 0x4b1eef
lea eax, [ebp - 0x424]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x2001f
push 0
push edi
push 0x80000001
call eax
test eax, eax
jne 0x4b1df5
test esi, esi
je 0x4b1f06
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x4b1f0c
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x424]
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], 0
test eax, eax
jne 0x4b1dfb
push dword [ebp - 0x450]
lea ecx, [ebp - 0x430]
call fcn.0043a160
mov ebx, dword [ebp - 0x430]
test ebx, ebx
je 0x4b1f50
push ebx
call esi
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], 0
jmp 0x4b1dfb
cmp dword [esi + 4], 0
jne 0x4b1f6c
mov eax, 1
jmp 0x4b1f8a
lea eax, [ebp - 0x424]
push eax
push 0x2001f
push 0
push str.SOFTWAREClasses
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b1fe4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x4b1f9b
push ebx
call esi
mov ebx, dword [ebp - 0x424]
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], 0
test eax, eax
jne 0x4b1fe4
push str.ksoqing
lea ecx, [ebp - 0x430]
call fcn.0043a160
push str.ksourl
lea ecx, [ebp - 0x430]
call fcn.0043a160
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x4b1fef
push eax
call esi
jmp 0x4b1fef
test ebx, ebx
je 0x4b1fef
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00557e89
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
call fcn.00566a14
int3