Function at 0x458390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db566
mov eax, dword fs:[0]
push eax
sub esp, 0xba4
mov eax, dword [0x52ad60]
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, ecx
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysReAllocString
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.004274f0
test eax, eax
je 0x45846c
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x828]
call fcn.004274f0
test eax, eax
je 0x45846c
push 1
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x828]
call fcn.004274f0
test eax, eax
je 0x45846c
push ecx
mov ecx, esp
call fcn.00457a10
mov ecx, ebx
call fcn.00457d40
mov eax, dword [ebp - 0x828]
add esp, 4
test eax, eax
je 0x458689
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x458689
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004b84f0
add esp, 0xc
lea ecx, [ebp - 0x81c]
push 0x519050
mov dword [ebp - 0x81c], 0
call fcn.00403720
mov byte [ebp - 4], 1
mov esi, dword [0x52f408]
mov ecx, 0x14
lea eax, [esi + 1]
imul eax, esi
cdq
idiv ecx
cmp edx, 4
jne 0x458502
xor ecx, ecx
jmp 0x4584d0
mov eax, dword [ebp + ecx*4 - 0xba4]
add eax, dword [ebp + ecx*4 - 0xba8]
add ecx, 4
add eax, dword [ebp + ecx*4 - 0xbbc]
add eax, dword [ebp + ecx*4 - 0xbc0]
imul eax, eax, 0x58
add esi, eax
cmp ecx, 0x37c
jb 0x4584d0
mov dword [0x52f408], esi
mov edi, dword [ebp - 0x828]
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0x5150bc
push edi
mov dword [ebp - 0x818], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4585a2
mov eax, dword [ebp - 0x814]
cmp eax, 1
je 0x458549
cmp eax, 2
jne 0x4585a2
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x458566
test al, 1
jne 0x4585a2
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x45856f
jmp 0x4585a2
xor eax, eax
mov word [ebp - 0x810], ax
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
jmp 0x458580
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458580
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x81c]
call fcn.004046f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4585b7
push edi
call esi
xor edi, edi
mov dword [ebp - 0x828], edi
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x824], 0
cmp dword [eax - 0xc], 0
je 0x45864c
mov edx, 0x519050
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x4585fa
test si, si
je 0x4585f6
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4585fa
add ecx, 4
add edx, 4
test si, si
jne 0x4585d4
xor ecx, ecx
jmp 0x4585ff
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
jne 0x458646
lea ecx, [eax - 0x10]
call fcn.004047b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x81c]
add eax, 0x10
add edx, 0xfffffff0
mov dword [ebx], eax
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x458639
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x458689
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x458689
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov ecx, esp
call fcn.00457a10
mov ecx, ebx
call fcn.00457d40
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x81c]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x458682
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x458689
push edi
call esi
mov eax, ebx
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.004b3a11
mov esp, ebp
pop ebp
ret