Function at 0x421540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b276
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x474454]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], ebx
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysReAllocStringLen
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], ebx
call fcn.00404a30
cmp eax, ebx
je 0x421606
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x424]
call fcn.00404a30
cmp eax, ebx
je 0x421606
push 1
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x424]
call fcn.00404a30
cmp eax, ebx
je 0x421606
push esi
call fcn.004213d0
mov eax, dword [ebp - 0x424]
add esp, 4
cmp eax, ebx
je 0x4215ff
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x421772
push 0x3ff
lea eax, [ebp - 0x40f]
push ebx
push eax
mov byte [ebp - 0x410], bl
call fcn.0043ffa0
add esp, 0xc
push 0x46146c
lea ecx, [ebp - 0x414]
call fcn.00402280
mov esi, dword [ebp - 0x424]
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x42c]
push eax
push ebx
push str.Version
push esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x428], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x4216bc
mov eax, dword [ebp - 0x42c]
cmp eax, 1
je 0x42167b
cmp eax, 2
jne 0x4216bc
mov eax, dword [ebp - 0x428]
cmp eax, ebx
je 0x421690
cmp byte [ebp + eax - 0x411], bl
je 0x421696
jmp 0x4216bc
mov byte [ebp - 0x410], bl
lea eax, [ebp - 0x410]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4216a0
sub eax, edx
push eax
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x414]
call fcn.00401be0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x4216d1
push esi
call edi
xor esi, esi
mov dword [ebp - 0x424], esi
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x420], ebx
cmp dword [eax - 0xc], ebx
je 0x421731
push 0x46146c
push eax
call fcn.0043f751
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
jne 0x421731
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
push eax
call fcn.004011e0
mov edx, dword [ebp - 0x418]
add eax, 0x10
mov dword [edx], eax
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x421759
mov ecx, dword [ebp - 0x418]
push ecx
call fcn.004213d0
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421765
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x42176c
push esi
call edi
mov eax, dword [ebp - 0x418]
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.0043fdbf
mov esp, ebp
pop ebp
ret