Function at 0x45a9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e9af8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [0x52a1ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x52a1ec
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push str.events
xor edi, edi
push 0x50be54
lea eax, [esp + 0x20]
mov dword [esp + 0x3c], edi
call fcn.0045e200
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp - 0xc]
add esp, 8
cmp eax, 0x801
jb 0x45aa42
mov dword [esp + 0x34], 0xffffffff
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45aa2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xea
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret
xor esi, esi
cmp eax, edi
jbe 0x45aa72
mov edx, ebp
mov ecx, ebx
sub edx, ebx
mov edi, edi
cmp esi, edi
jl 0x45aaf2
cmp esi, eax
jg 0x45aaf2
mov ax, word [edx + ecx]
mov word [ecx], ax
mov eax, dword [ebp - 0xc]
inc esi
add ecx, 2
cmp esi, eax
jb 0x45aa50
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x34], 1
mov edx, dword [0x52a1ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x52a1ec
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x50bebc
push str.Events
push str.SoftwareGoogleCommonRlz
push str._s_s_s
lea eax, [esp + 0x24]
mov byte [esp + 0x44], 2
call fcn.0045e200
mov edx, dword [esp + 0x4c]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x20]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45aafc
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
xor ebp, ebp
jmp 0x45ab64
push 0x80070057
call fcn.004065a0
lea eax, [edi - 0x10]
mov byte [esp + 0x34], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ab1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ab41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
xor edx, edx
test ebp, ebp
setg al
mov word [ebx + esi*2], dx
mov edi, eax
mov eax, 0x801
sub eax, edi
sub eax, esi
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x45ac18
push edx
push edx
push edx
push edx
lea edx, [esp + 0x2c]
push edx
lea eax, [edi + esi]
lea edx, [ebx + eax*2]
push edx
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x45abb9
test edi, edi
je 0x45abb1
mov ecx, 0x2c
mov word [ebx + esi*2], cx
mov edx, dword [esp + 0x1c]
add edx, edi
add esi, edx
inc ebp
test eax, eax
je 0x45ab60
xor ecx, ecx
dec ebp
mov word [ebx + esi*2], cx
cmp eax, 0xea
jne 0x45ac60
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45abf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45ac04
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x45aa11
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or esi, 0xffffffff
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x45ac41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x45ac4c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x45aa11
cmp eax, 0x103
jne 0x45ac6f
test ebp, ebp
jle 0x45ac6f
xor esi, esi
jmp 0x45ac74
mov esi, 2
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ac99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45aca8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45acd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret