Function at 0x140010690
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x558]
sub rsp, 0x630
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14006b3d0]
xor rax, rsp
mov qword [rbp + 0x520], rax
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
lea r8, str.CHandleEventCollection::Create
mov qword [rbp - 0x48], r8
lea rbx, str.EventObserver.cpp
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x38], 0x1eb
lea rsi, str.__CHandleEventCollection::Create_
mov qword [rbp - 0x30], rsi
lea r12, [0x14004b4ac]
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x20], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x40]
call fcn.1400028a0
nop
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x7c], r15d
mov dword [rbp - 0x50], r15d
mov dword [rbp - 0x80], 0x208
mov word [rbp + 0x100], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x102]
call fcn.140032580
mov dword [rbp - 0x7c], 0x208
mov byte [rbp - 0x10], r15b
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0xf]
call fcn.140032580
mov dword [rsp + 0x78], 0x104
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareDynabookFlashCardsHandleEvent
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete al
test al, al
jne 0x1400107ef
mov dword [rbp - 0x70], 0x1fa
mov qword [rbp - 0x78], rbx
mov edi, 0x80004005
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x58], r15d
mov r8d, edi
lea rdx, str.Error_Code:_0x_X
lea rcx, [rbp - 0x78]
call fcn.1400028a0
jmp 0x140010ab8
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
sete al
test al, al
jne 0x140010848
mov dword [rbp - 0x70], 0x1fb
jmp 0x1400107c2
mov esi, r15d
cmp dword [rsp + 0x7c], r15d
jbe 0x140010ab5
lea r12, vtable.CHandleEvent.0
nop dword [rax]
mov dword [rbp - 0x80], 0x208
lea rdi, [rbp + 0x310]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x310]
mov edx, esi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140010aa2
mov dword [rbp - 0x7c], 0x208
lea rdi, [rbp + 0x100]
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0x104
lea rdi, [rbp - 0x10]
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 2
lea r8, str.Name
lea rdx, [rbp + 0x310]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140010aa2
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, str.Event
lea rdx, [rbp + 0x310]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140010aa2
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov edx, dword [rsp + 0x78]
lea rcx, [rbp - 0x78]
call fcn.140011250
mov edx, dword [rsp + 0x78]
mov r9d, edx
lea r8, [rbp - 0x10]
mov rbx, qword [rbp - 0x78]
mov rcx, rbx
call fcn.14003116c
mov ecx, 0xa0
call fcn.1400311f4
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140010a79
xor edx, edx
mov r8d, 0xa0
mov rcx, rax
call fcn.140032580
nop
mov qword [rdi], r12
mov qword [rdi + 8], r15
lea rcx, [rdi + 0x28]
lea rdx, [rbp - 0x78]
call fcn.1400111a0
nop
lea rcx, [rdi + 0x40]
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r15
mov word [rcx], r15w
cmp word [rbp + 0x100], 0
jne 0x1400109f5
mov r8, r15
jmp 0x140010a0b
lea rax, [rbp + 0x100]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140010a00
lea rdx, [rbp + 0x100]
call fcn.140011b40
nop
mov qword [rdi + 0x60], r15
lea rbx, [rdi + 0x78]
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
mov ecx, 0x10
call fcn.1400311f4
test rax, rax
je 0x140010aaf
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
mov rcx, rdi
call fcn.14000d860
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140010a6a
cmp dword [rdi + 0x64], 0
je 0x140010a6a
call rax
mov rcx, rdi
call fcn.14000d670
nop
mov rbx, qword [rbp - 0x78]
jmp 0x140010a7c
mov rdi, r15
test rdi, rdi
je 0x140010a95
mov qword [rsp + 0x60], rdi
lea rcx, [r14 + 8]
lea rdx, [rsp + 0x60]
call fcn.140011430
nop
test rbx, rbx
je 0x140010aa2
mov rcx, rbx
call fcn.14002f3e8
inc esi
cmp esi, dword [rsp + 0x7c]
jae 0x140010ab5
jmp 0x140010860
call fcn.14002f184
nop
mov edi, r15d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140010acd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r15
mov r8, qword [rbp - 0x48]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x40]
call fcn.1400028a0
mov eax, edi
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.14002f400
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret