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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58051d
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5fb61c]
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
xor ebx, ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000001
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call fcn.00438000
test eax, eax
jne 0x491fa0
push esi
lea ecx, [ebp - 0x224]
call fcn.00438290
push 0x594f58
lea ecx, [ebp - 0x224]
call fcn.00438290
mov eax, dword [ebp - 0x224]
cmp eax, ebx
je 0x491f9a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
cmp dword [ebp + 8], ebx
je 0x4923d7
push edi
lea ecx, [ebp - 0x230]
call fcn.00422540
push 1
push 0x592324
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00422060
cmp esi, ebx
jne 0x491fd3
xor eax, eax
jmp 0x491fef
mov eax, esi
lea edx, [eax + 2]
jmp 0x491fe0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x491fe0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00422060
mov eax, dword [ebp - 0x230]
push 0x2001f
push eax
push 0x80000001
lea ecx, [ebp - 0x224]
call fcn.00438000
test eax, eax
jne 0x4923af
mov edi, dword [ebp - 0x224]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x238]
push ecx
push ebx
push ebx
lea edx, [ebp - 0x234]
push edx
push ebx
push ebx
push ebx
push edi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x238], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x234], ebx
jbe 0x492157
jmp 0x492080
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.005336c0
add esp, 0xc
lea edx, [ebp - 0x260]
push edx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x218]
push ecx
push esi
push edi
mov dword [ebp - 0x22c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x49214a
lea edx, [ebp - 0x218]
push str.usercenter
push edx
call fcn.005347c1
add esp, 8
test eax, eax
je 0x49214a
lea eax, [ebp - 0x218]
push 0x5a628c
push eax
call fcn.005347c1
add esp, 8
test eax, eax
je 0x49214a
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00422540
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.00444060
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49214a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, dword [ebp - 0x234]
jb 0x492080
xor edi, edi
xor esi, esi
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x22c], esi
cmp dword [ebp - 0x238], esi
jbe 0x4922b2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov bl, 6
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.005336c0
mov edx, dword [ebp - 0x224]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x218]
push ecx
push esi
push edx
mov dword [ebp - 0x25c], 0x104
call edi
test eax, eax
jne 0x49228d
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
test eax, 0xffff0000
jne 0x492227
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.004219f0
add esp, 8
test eax, eax
je 0x492252
push esi
push eax
lea ecx, [ebp - 0x228]
call fcn.00421f40
jmp 0x492252
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x492230
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x228]
call fcn.00422120
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], bl
call fcn.00444060
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49228d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x22c]
inc esi
mov dword [ebp - 0x22c], esi
cmp esi, dword [ebp - 0x238]
jb 0x49218b
mov ebx, dword [ebp - 0x254]
mov edi, dword [ebp - 0x258]
mov esi, dword [ebp - 0x248]
cmp esi, dword [ebp - 0x244]
je 0x4922d9
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x224]
call fcn.00438290
add esi, 4
cmp esi, dword [ebp - 0x244]
jne 0x4922c0
mov esi, edi
cmp edi, ebx
je 0x4922fe
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x224]
push eax
push ecx
call edi
add esi, 4
cmp esi, ebx
jne 0x4922e5
mov edi, dword [ebp - 0x258]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x492319
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov byte [ebp - 4], 2
test edi, edi
je 0x49235f
mov esi, edi
cmp edi, ebx
je 0x492356
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49234f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, ebx
jne 0x492331
push edi
call int.0042bfd0
add esp, 4
mov esi, dword [ebp - 0x248]
mov byte [ebp - 4], 1
test esi, esi
je 0x4923ad
cmp esi, dword [ebp - 0x244]
je 0x4923a4
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492393
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, dword [ebp - 0x244]
jne 0x492375
mov esi, dword [ebp - 0x248]
push esi
call int.0042bfd0
add esp, 4
xor ebx, ebx
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49241a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49241a
push 0x2001f
push edi
push 0x80000001
lea ecx, [ebp - 0x224]
call fcn.00438000
test eax, eax
jne 0x49241a
push esi
lea ecx, [ebp - 0x224]
call fcn.00438290
mov eax, dword [ebp - 0x224]
cmp eax, ebx
je 0x492414
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
push 0x2001f
push str.SOFTWAREClasses
push 0x80000001
lea ecx, [ebp - 0x224]
call fcn.00438000
test eax, eax
jne 0x492448
push str.ksoqing
lea ecx, [ebp - 0x224]
call fcn.00438290
mov eax, dword [ebp - 0x224]
cmp eax, ebx
je 0x492459
push eax
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.005332ca
mov esp, ebp
pop ebp
ret