Function at 0x180006b40
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x1d0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801563c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rdx, str.SoftwareGoogleUpdateClients
lea rcx, [rsp + 0x48]
call fcn.1800041c0
nop
lea r8, [rsp + 0x68]
mov rdi, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor r14d, r14d
cmp eax, r14d
je 0x180006bde
lea rcx, [rdi - 0xc]
lea r12, [0x18015f758]
cmp rcx, r12
je 0x180006bd7
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [rcx], eax
add eax, ebp
cmp eax, r14d
jg 0x180006bd7
call fcn.1800d1434
xor eax, eax
jmp 0x180006f85
mov ecx, 8
call fcn.1800d1934
cmp rax, r14
je 0x180006bf7
lea rcx, [rsp + 0x78]
mov qword [rax], rcx
jmp 0x180006bfa
mov rax, r14
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r14
mov ebx, 0x80
mov dword [rsp + 0x40], ebx
mov esi, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xc0]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea r12, [0x18015f758]
or ebp, 0xffffffff
mov r13d, 0x103
cmp eax, r13d
je 0x180006ceb
inc esi
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x70]
call fcn.1800041c0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.180001910
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x180006caf
mov eax, ebp
lock xadd dword [rcx], eax
add eax, ebp
cmp eax, r14d
jg 0x180006caf
call fcn.1800d1434
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xc0]
mov edx, esi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r13d
jne 0x180006c6a
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x98]
sub rdx, qword [rsp + 0x90]
test rdx, 0xfffffffffffffff8
jne 0x180006d3c
lea rcx, [rsp + 0x78]
call fcn.1800016ac
nop
lea rcx, [rdi - 0xc]
cmp rcx, r12
je 0x180006d35
mov eax, ebp
lock xadd dword [rcx], eax
add eax, ebp
cmp eax, r14d
jg 0x180006d35
call fcn.1800d1434
xor eax, eax
jmp 0x180006f85
lea rcx, [0x18010d37c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [0x18010d37c]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180008324
mov r13d, r14d
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
sub rax, rcx
sar rax, 3
cmp rax, r14
jbe 0x180006f58
mov rdi, r14
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0xb8], rdx
cmp rdi, rax
jb 0x180006da4
call fcn.1800d15f4
mov rcx, qword [rsp + 0x90]
lea r8, [rcx + rdi*8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1800083ec
nop
mov rax, qword [0x18015f768]
mov qword [rsp + 0x58], rax
lea rdx, [0x18010d4e0]
lea rcx, [rsp + 0xa8]
call fcn.1800041c0
mov rsi, rax
mov rdi, qword [rsp + 0x50]
cmp dword [rdi - 0xc], r14d
jl 0x180006df2
mov qword [rsp + 0x60], rdi
lock add dword [rdi - 0xc], 1
jmp 0x180006e17
mov rax, qword [0x18015f768]
mov qword [rsp + 0x60], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.180003e28
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [rsp + 0x60]
mov rdx, 0xffffffff80000001
lea rcx, [0x18015f720]
call fcn.180008080
cmp eax, r14d
je 0x180006e6f
lea rcx, [rsp + 0x58]
call fcn.180003f8c
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharLowerW]
lea rdi, str.google_update
mov rsi, rbx
mov ecx, ntohs
repe cmpsw word [rsi], word [rdi]
je 0x180006ee0
jmp 0x180006e74
mov rbx, qword [rsp + 0x58]
lea rcx, [rbx - 0xc]
cmp rcx, r12
je 0x180006e90
mov eax, ebp
lock xadd dword [rcx], eax
add eax, ebp
cmp eax, r14d
jg 0x180006e90
call fcn.1800d1434
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x180006eb9
mov eax, ebp
lock xadd dword [rcx], eax
add eax, ebp
cmp eax, r14d
jg 0x180006eb9
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
call fcn.1800d1434
inc r13d
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
sub rax, rcx
sar rax, 3
mov edi, r13d
cmp rdi, rax
jae 0x180006f58
jmp 0x180006d92
lea rcx, [rbx - 0xc]
cmp rcx, r12
je 0x180006efc
mov eax, ebp
lock xadd dword [rcx], eax
add eax, ebp
cmp eax, r14d
jg 0x180006efc
call fcn.1800d1434
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x180006f26
mov eax, ebp
lock xadd dword [rcx], eax
add eax, ebp
cmp eax, r14d
jg 0x180006f26
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
call fcn.1800d1434
nop
lea rcx, [rsp + 0x78]
call fcn.1800016ac
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x180006f51
mov edx, ebp
lock xadd dword [rcx], edx
add edx, ebp
cmp edx, r14d
jg 0x180006f51
call fcn.1800d1434
mov eax, 1
jmp 0x180006f85
lea rcx, [rsp + 0x78]
call fcn.1800016ac
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, r12
je 0x180006f83
mov eax, ebp
lock xadd dword [rcx], eax
add eax, ebp
cmp eax, r14d
jg 0x180006f83
call fcn.1800d1434
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800d12b0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret