Function at 0x4b1ff0
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 0x5a7fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x639354]
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 0x4b2084
mov esi, dword [ebp - 0x440]
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], eax
jmp 0x4b208a
mov esi, dword [ebp - 0x430]
mov byte [ebp - 4], 0
test eax, eax
jne 0x4b20d7
push ebx
lea ecx, [ebp - 0x430]
call fcn.0043a090
push 0x5bc258
lea ecx, [ebp - 0x430]
call fcn.0043a090
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x4b20c7
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 0x4b27ca
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b296b
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 0x4b2135
test edi, 0xffff0000
jne 0x4b211f
movzx eax, di
lea ecx, [ebp - 0x438]
push eax
call fcn.00429d90
jmp 0x4b2144
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b2124
sub ecx, edx
sar ecx, 1
jmp 0x4b2137
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x438]
call fcn.0042a060
push 1
push 0x5b9804
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 3
call fcn.004299d0
test ebx, ebx
jne 0x4b2162
xor ecx, ecx
jmp 0x4b2176
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b2167
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x438]
call fcn.004299d0
mov ebx, dword [ebp - 0x428]
mov edi, dword [ebp - 0x438]
mov byte [ebp - 4], 4
mov dword [ebp - 0x434], 0
test ebx, ebx
je 0x4b21f3
cmp dword [ebx], 0
je 0x4b21e6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b273d
push str.RegOpenKeyTransactedW
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
test eax, eax
je 0x4b21ec
push 0
push dword [ebx]
lea ecx, [ebp - 0x434]
push ecx
push 0x2001f
push 0
push edi
push 0x80000001
call eax
jmp 0x4b220e
cmp dword [ebx + 4], 0
jne 0x4b21f3
mov eax, 1
jmp 0x4b220e
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 0x4b273d
test esi, esi
je 0x4b2221
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 0x4b273d
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 0x4b2428
jmp 0x4b22b0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
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 0x4b2415
lea eax, [ebp - 0x218]
push str.usercenter
push eax
call fcn.0056b422
add esp, 8
test eax, eax
je 0x4b2415
lea eax, [ebp - 0x218]
push 0x5cb32c
push eax
call fcn.0056b422
add esp, 8
test eax, eax
je 0x4b2415
call fcn.00429250
test eax, eax
je 0x4b296b
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 0x4b2372
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00429d90
jmp 0x4b23a2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4b2380
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b2380
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.0042a060
mov ebx, dword [ebp - 0x458]
mov byte [ebp - 4], 7
cmp ebx, dword [ebp - 0x454]
je 0x4b23d4
mov esi, dword [ebp - 0x424]
lea eax, [esi - 0x10]
push eax
call fcn.00429b80
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ebp - 0x458], 4
jmp 0x4b23ed
lea eax, [ebp - 0x424]
push eax
push ebx
lea ecx, [ebp - 0x45c]
call fcn.004293a0
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 0x4b2409
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 0x4b22b0
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 0x4b259b
jmp 0x4b2460
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00560a80
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 0x4b2582
call fcn.00429250
test eax, eax
je 0x4b296b
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 0x4b24ea
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00429d90
jmp 0x4b2515
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b24f3
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.0042a060
mov ebx, dword [ebp - 0x448]
mov byte [ebp - 4], 0xa
cmp ebx, dword [ebp - 0x444]
je 0x4b2547
mov esi, dword [ebp - 0x424]
lea eax, [esi - 0x10]
push eax
call fcn.00429b80
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ebp - 0x448], 4
jmp 0x4b2560
lea eax, [ebp - 0x424]
push eax
push ebx
lea ecx, [ebp - 0x44c]
call fcn.004293a0
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 0x4b257c
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 0x4b2460
mov ebx, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x45c]
cmp esi, dword [ebp - 0x458]
je 0x4b25ce
lea esp, [esp]
push dword [esi]
lea ecx, [ebp - 0x430]
call fcn.0043a090
add esi, 4
cmp esi, dword [ebp - 0x458]
jne 0x4b25b0
mov ebx, dword [ebp - 0x44c]
mov esi, dword [ebp - 0x430]
cmp ebx, dword [ebp - 0x448]
je 0x4b25fa
lea esp, [esp]
push dword [ebx]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add ebx, 4
cmp ebx, dword [ebp - 0x448]
jne 0x4b25e0
mov ebx, dword [ebp - 0x44c]
test esi, esi
je 0x4b2615
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 0x4b26bc
mov esi, dword [ebp - 0x448]
cmp ebx, esi
je 0x4b2664
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 0x4b2651
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, esi
jne 0x4b2638
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 0x4b2694
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2975
push ecx
push ebx
call fcn.0055c524
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 0x4b273d
mov ebx, dword [ebp - 0x458]
cmp esi, ebx
je 0x4b26fd
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 0x4b26f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, ebx
jne 0x4b26d7
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 0x4b2733
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2975
push ecx
push esi
call fcn.0055c524
add esp, 8
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4b2755
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 0x4b28cc
cmp dword [esi], 0
je 0x4b28bf
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b2944
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b28c5
push 0
push dword [esi]
lea ecx, [ebp - 0x424]
push ecx
push 0x2001f
push 0
push str.SOFTWAREClasses
push 0x80000001
call eax
jmp 0x4b28ea
mov ebx, dword [ebp - 0x428]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x424], 0
test ebx, ebx
je 0x4b2834
cmp dword [ebx], 0
je 0x4b2827
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b2755
push str.RegOpenKeyTransactedW
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
test eax, eax
je 0x4b282d
push 0
push dword [ebx]
lea ecx, [ebp - 0x424]
push ecx
push 0x2001f
push 0
push edi
push 0x80000001
call eax
jmp 0x4b284f
cmp dword [ebx + 4], 0
jne 0x4b2834
mov eax, 1
jmp 0x4b284f
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 0x4b2755
test esi, esi
je 0x4b2866
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x4b286c
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 0x4b275b
push dword [ebp - 0x450]
lea ecx, [ebp - 0x430]
call fcn.0043a090
mov ebx, dword [ebp - 0x430]
test ebx, ebx
je 0x4b28b0
push ebx
call esi
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], 0
jmp 0x4b275b
cmp dword [esi + 4], 0
jne 0x4b28cc
mov eax, 1
jmp 0x4b28ea
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 0x4b2944
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x4b28fb
push ebx
call esi
mov ebx, dword [ebp - 0x424]
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], 0
test eax, eax
jne 0x4b2944
push str.ksoqing
lea ecx, [ebp - 0x430]
call fcn.0043a090
push str.ksourl
lea ecx, [ebp - 0x430]
call fcn.0043a090
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x4b294f
push eax
call esi
jmp 0x4b294f
test ebx, ebx
je 0x4b294f
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
call fcn.0056af64
int3