Function at 0x46a090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514721
mov eax, dword fs:[0]
push eax
sub esp, 0x968
mov eax, dword [0x577680]
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 + 8]
mov dword [ebp - 0x960], ebx
mov dword [ebp - 0x974], 0
mov dword [ebp - 0x96c], 0
mov dword [ebp - 0x968], 0
mov dword [ebp - 0x964], 0
mov ecx, dword [0x578ad4]
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
lea eax, [ecx + 1]
imul eax, edx
imul eax, ecx
cdq
mov ecx, 9
idiv ecx
cmp edx, 1
jne 0x46a12b
call fcn.004f1791
mov ecx, dword [0x578ad4]
cmp ecx, eax
jne 0x46a12b
dec ecx
mov dword [0x578ad4], ecx
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysReAllocStringLen
lea ecx, [ebp - 0x96c]
call fcn.0040faa0
test eax, eax
je 0x46a22f
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x96c]
call fcn.0040faa0
mov edi, eax
mov eax, dword [0x578ad4]
lea ecx, [eax + 1]
imul eax, ecx
cdq
mov ecx, 0x13
idiv ecx
cmp edx, 9
jne 0x46a1e5
xor esi, esi
lea ecx, [ecx]
call fcn.004f1791
movd xmm0, eax
cvtdq2pd xmm0, xmm0
inc esi
movsd qword [ebp + esi*8 - 0x958], xmm0
cmp esi, 0x28
jb 0x46a180
xor ecx, ecx
mov edi, edi
mov eax, 0x27
cmp ecx, eax
jge 0x46a1df
lea esp, [esp]
movsd xmm0, qword [ebp + eax*8 - 0x950]
movsd xmm1, qword [ebp + eax*8 - 0x958]
comisd xmm0, xmm1
jbe 0x46a1da
movsd qword [ebp + eax*8 - 0x950], xmm1
movsd qword [ebp + eax*8 - 0x958], xmm0
dec eax
cmp eax, ecx
jg 0x46a1b0
inc ecx
cmp ecx, 0x28
jl 0x46a1a0
test edi, edi
je 0x46a22f
push 1
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x96c]
call fcn.0040faa0
test eax, eax
je 0x46a22f
push ecx
push esp
call fcn.00468db0
add esp, 4
push ebx
call fcn.00469560
mov ecx, dword [ebp - 0x96c]
add esp, 8
test ecx, ecx
je 0x46a228
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x46a50c
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004f2250
mov eax, dword [0x5771f0]
add esp, 0xc
mov ecx, 0x5771f0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x954], esi
mov eax, 0x532ad4
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x46a294
movzx edi, ax
push 0
push edi
call fcn.00403070
add esp, 8
test eax, eax
je 0x46a2ac
push edi
push eax
lea ecx, [ebp - 0x954]
call fcn.00408b00
jmp 0x46a2a6
push 3
push 0x532ad4
lea ecx, [ebp - 0x954]
call fcn.0040c730
mov esi, dword [ebp - 0x954]
mov ebx, dword [ebp - 0x96c]
lea eax, [ebp - 0x970]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x95c]
push eax
push 0
push 0x52a498
push ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x970], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [ebp - 0x958], edi
test edi, edi
jne 0x46a345
mov eax, dword [ebp - 0x95c]
cmp eax, 1
je 0x46a30b
cmp eax, 2
je 0x46a30b
mov dword [ebp - 0x958], 0xd
jmp 0x46a345
mov eax, dword [ebp - 0x970]
test eax, eax
je 0x46a332
test al, 1
jne 0x46a326
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x46a33b
mov dword [ebp - 0x958], 0xd
jmp 0x46a345
xor eax, eax
mov word [ebp - 0x810], ax
mov dword [ebp - 0x958], 0
call fcn.0046c980
test al, al
jne 0x46a38c
push 0x28
call fcn.004ef820
add esp, 4
mov ebx, eax
xor edi, edi
lea esp, [esp]
call fcn.004f1791
add eax, dword [0x578ad4]
inc edi
mov dword [ebx + edi*4 - 4], eax
cmp edi, 0xa
jl 0x46a360
mov eax, dword [ebx + 0x24]
push ebx
mov dword [0x578ad4], eax
call fcn.004f0683
mov ebx, dword [ebp - 0x96c]
add esp, 4
cmp dword [ebp - 0x958], 0
jne 0x46a3c8
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a3a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x954]
call fcn.0040c730
mov esi, dword [ebp - 0x954]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x46a3dd
push ebx
call edi
xor ebx, ebx
mov dword [ebp - 0x96c], ebx
cmp dword [esi - 0xc], 0
mov dword [ebp - 0x968], 0
je 0x46a4c9
mov ecx, 0x532ad4
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46a41e
test dx, dx
je 0x46a41a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46a41e
add eax, 4
add ecx, 4
test dx, dx
jne 0x46a3f8
xor eax, eax
jmp 0x46a423
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x46a4c9
mov ecx, dword [esi - 0x10]
add esi, 0xfffffff0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x46a457
cmp ecx, dword [esi]
jne 0x46a457
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x46a494
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x46a46b
call fcn.0040cb60
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004f18c0
add esp, 0x10
lea eax, [edi + 0x10]
mov edi, dword [ebp - 0x960]
mov byte [ebp - 4], 0
mov dword [edi], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46a4ba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x46a4c5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x46a50c
push ecx
push esp
call fcn.00468db0
add esp, 4
push dword [ebp - 0x960]
call fcn.00469560
add esi, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46a4ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x46a506
push ebx
call edi
mov eax, dword [ebp - 0x960]
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.004f0cd4
mov esp, ebp
pop ebp
ret