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

Disassembly:
push rbp
lea rbp, [rsp - 0x690]
sub rsp, 0x790
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rbp + 0x670], rax
call fcn.14001fa80
lea rdx, str.MONITOR
lea rcx, [0x14008b354]
call fcn.14003b9f0
test rax, rax
jne 0x14001c4a2
cmp word [0x14008b354], ax
je 0x14001c4a2
mov eax, 1
jmp 0x14001c8a2
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.14003fab0
lea rax, str.ServicesmonitorEnum
mov edx, 0x100
lea r9, [0x14008a8b4]
mov qword [rsp + 0x20], rax
lea r8, [0x1400573a0]
lea rcx, [rsp + 0x70]
call fcn.14000e2d0
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 0x14001c5e9
xor edx, edx
mov dword [rsp + 0x68], 0x200
mov r8d, 0x200
lea rcx, [rsp + 0x70]
call fcn.14003fab0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [0x140060cb0]
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 0x14001c5d6
lea rax, [rsp + 0x70]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], si
jne 0x14001c593
lea rcx, [rsp + 0x70]
call fcn.1400147c0
lea rdx, str.MONITOR
lea rcx, [rsp + 0x70]
call fcn.14003b9f0
test rax, rax
jne 0x14001c5d6
lea r8, [rax - 1]
lea rdx, [rsp + 0x70]
lea rcx, [0x14008b354]
call fcn.1400166c0
mov esi, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x14001c878
xor edx, edx
lea rcx, [rbp + 0x270]
mov r8d, 0x200
call fcn.14003fab0
xor edx, edx
lea rcx, [rbp + 0x470]
mov r8d, 0x200
call fcn.14003fab0
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x100
call fcn.14003fab0
lea rax, str.EnumDISPLAY
mov edx, 0x100
lea r9, [0x14008a8b4]
mov qword [rsp + 0x20], rax
lea r8, [0x1400573a0]
lea rcx, [rsp + 0x70]
call fcn.14000e2d0
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 0x14001c878
mov edi, r14d
lea r15, [0x1400770bc]
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 0x14001c86d
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.14000e2d0
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 0x14001c862
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 0x14001c857
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.14000e2d0
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 0x14001c84c
lea rax, [rbp + 0x270]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x14001c7e6
lea rcx, [rbp + 0x270]
call fcn.1400147c0
lea rdx, str.MONITOR
lea rcx, [rbp + 0x270]
call fcn.14003b9f0
test rax, rax
jne 0x14001c84c
lea edx, [rax + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140012320
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x40]
call fcn.140010b80
xor r8d, r8d
lea rdx, str.DISPLAY
lea rcx, [rsp + 0x40]
call fcn.1400123b0
cmp rax, 0xffffffffffffffff
jne 0x14001c8ba
inc ebx
cmp ebx, 0x64
jb 0x14001c740
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, 0x64
jb 0x14001c690
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.14003e040
add rsp, 0x790
pop rbp
ret
lea rdx, [rbp + 0x272]
mov r8, 0xffffffffffffffff
lea rdx, [rdx + rax*2]
lea rcx, [0x14008b354]
call fcn.1400166c0
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 0x14001c87a