Function at 0x4214a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b216
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x48c], eax
push 0x34
xorps xmm0, xmm0
mov dword [ebp - 4], eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], eax
call fcn.0040b6c0
mov eax, dword [esi + 0x90]
sub esi, 0xffffff80
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 7
jbe 0x421525
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00410b40
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x484], 0
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, eax
test edx, edx
jne 0x421584
mov ecx, dword [ebp - 0x484]
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x490], eax
jmp 0x421586
xor ecx, ecx
xor eax, eax
mov byte [ebp - 4], 1
test edx, edx
cmovne eax, edx
test eax, eax
jne 0x421697
lea eax, [ebp - 0x484]
mov dword [ebp - 0x484], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x488]
push eax
push 0
push str.InstallLocation
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421697
mov eax, dword [ebp - 0x488]
cmp eax, 1
je 0x4215e2
cmp eax, 2
jne 0x421697
mov eax, dword [ebp - 0x484]
test eax, eax
je 0x421606
test al, 1
jne 0x421697
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x42160f
jmp 0x421697
xor eax, eax
mov word [ebp - 0x218], ax
mov eax, dword [0x5f0130]
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x484]
call fcn.0040c0e0
mov esi, dword [ebp - 0x484]
lea eax, [ebp - 0x480]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x421650
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x480]
and eax, 0x10
mov ecx, 0
mov byte [ebp - 4], 4
setne cl
add esi, 0xfffffff4
mov eax, ecx
mov dword [ebp - 0x484], ecx
cmp esi, dword [0x5f012c]
je 0x421691
mov edi, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x421697
push esi
call fcn.00408c50
add esp, 4
jmp 0x421697
mov edi, dword [ebp - 0x484]
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x4216d3
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4216c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42171e
push ecx
push edx
call fcn.0055241f
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x21c], 7
test eax, eax
je 0x421701
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00551e44
mov esp, ebp
pop ebp
ret
call fcn.0055bf8b
int3