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

Disassembly:
push rbp
lea rbp, [rsp - 0x690]
sub rsp, 0x790
mov rax, qword [0x14007b658]
xor rax, rsp
mov qword [rbp + 0x670], rax
call fcn.14001f7f0
lea rdx, str.MONITOR
lea rcx, [0x14008a344]
call fcn.14003b3c0
test rax, rax
jne 0x14001c212
cmp word [0x14008a344], ax
je 0x14001c212
mov eax, 1
jmp 0x14001c612
mov qword [rsp + 0x7a8], rbx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x7b0], rsi
xor edx, edx
mov qword [rsp + 0x7b8], rdi
mov r8d, 0x200
mov qword [rsp + 0x788], r14
xor r14d, r14d
mov esi, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x780], r15
call fcn.14003f490
lea rax, str.ServicesmonitorEnum
mov edx, 0x100
lea r9, [0x1400898a4]
mov qword [rsp + 0x20], rax
lea r8, [0x1400573a0]
lea rcx, [rsp + 0x70]
call fcn.14000e0c0
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c359
xor edx, edx
mov dword [rsp + 0x68], 0x200
mov r8d, 0x200
lea rcx, [rsp + 0x70]
call fcn.14003f490
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [0x140060cc0]
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001c346
lea rax, [rsp + 0x70]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], si
jne 0x14001c303
lea rcx, [rsp + 0x70]
call fcn.140014530
lea rdx, str.MONITOR
lea rcx, [rsp + 0x70]
call fcn.14003b3c0
test rax, rax
jne 0x14001c346
lea r8, [rax - 1]
lea rdx, [rsp + 0x70]
lea rcx, [0x14008a344]
call fcn.140016430
mov esi, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x14001c5e8
xor edx, edx
lea rcx, [rbp + 0x270]
mov r8d, 0x200
call fcn.14003f490
xor edx, edx
lea rcx, [rbp + 0x470]
mov r8d, 0x200
call fcn.14003f490
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x100
call fcn.14003f490
lea rax, str.EnumDISPLAY
mov edx, 0x100
lea r9, [0x1400898a4]
mov qword [rsp + 0x20], rax
lea r8, [0x1400573a0]
lea rcx, [rsp + 0x70]
call fcn.14000e0c0
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c5e8
mov edi, r14d
lea r15, [0x1400760ac]
nop word [rax + rax]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x38], r14
lea r8, [rbp + 0x170]
mov qword [rsp + 0x30], r14
mov edx, edi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x68], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001c5dd
lea rax, [rbp + 0x170]
mov edx, 0x100
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
lea r8, str._s_s_s
mov qword [rsp + 0x20], r15
lea rcx, [rbp + 0x470]
call fcn.14000e0c0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], r14
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x60], r14
lea rdx, [rbp + 0x470]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c5d2
mov ebx, r14d
nop word [rax + rax]
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x38], r14
lea r8, [rbp + 0x170]
mov qword [rsp + 0x30], r14
mov edx, ebx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x68], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001c5c7
lea rax, [rbp + 0x170]
mov edx, 0x100
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x470]
lea r8, str._s_s_s
mov qword [rsp + 0x20], r15
lea rcx, [rbp + 0x270]
call fcn.14000e0c0
lea rax, [rsp + 0x60]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x270]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c5bc
lea rax, [rbp + 0x270]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x14001c556
lea rcx, [rbp + 0x270]
call fcn.140014530
lea rdx, str.MONITOR
lea rcx, [rbp + 0x270]
call fcn.14003b3c0
test rax, rax
jne 0x14001c5bc
lea edx, [rax + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140013fd0
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x40]
call fcn.1400164f0
xor r8d, r8d
lea rdx, str.DISPLAY
lea rcx, [rsp + 0x40]
call fcn.14003a5a0
cmp rax, 0xffffffffffffffff
jne 0x14001c62a
inc ebx
cmp ebx, 0x64
jb 0x14001c4b0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, 0x64
jb 0x14001c400
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov r14, qword [rsp + 0x788]
mov rdi, qword [rsp + 0x7b8]
mov rsi, qword [rsp + 0x7b0]
mov rbx, qword [rsp + 0x7a8]
mov r15, qword [rsp + 0x780]
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.14003da20
add rsp, 0x790
pop rbp
ret
lea rdx, [rbp + 0x272]
mov r8, 0xffffffffffffffff
lea rdx, [rdx + rax*2]
lea rcx, [0x14008a344]
call fcn.140016430
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14001c5ea