Function at 0x14001f000
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x998]
sub rsp, 0xa80
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rbp + 0x970], rax
mov r15, rcx
cmp qword [rcx + 0xf0], 0
jne 0x14001f051
or eax, 0xffffffff
jmp 0x14001f377
lea rbx, [rcx + 0x58]
cmp qword [rbx + 0x10], 0
jne 0x14001f08e
lea rcx, [rsp + 0x30]
call fcn.14001eed0
mov rdx, rax
mov rcx, rbx
call fcn.14000d860
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14001f08e
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140008270
xor r14d, r14d
cmp qword [r15 + 0x20], r14
jne 0x14001f19a
lea rdi, [r15 + 0x10]
lea r8d, [r14 + 3]
lea rdx, [0x140297868]
mov rcx, rdi
call fcn.140007be0
cmp qword [r15 + 0x68], r14
je 0x14001f0f3
cmp qword [rbx + 0x18], 8
jb 0x14001f0c2
mov rbx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rbx
call fcn.140221fac
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14001dae0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.14000f510
nop
jmp 0x14001f145
xor ecx, ecx
call fcn.140224720
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, qword [0x14029f958]
call fcn.1402420c8
cvttsd2si ecx, xmm0
movsxd rdx, ecx
sub rbx, rdx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001dae0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.14000f510
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14001f162
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140008270
cmp qword [r15 + 0x20], 0xa
jbe 0x14001f19a
mov rax, qword [rdi + 0x10]
mov edx, 0xa
cmp rax, rdx
jb 0x14001f18c
mov qword [rdi + 0x10], rdx
cmp qword [rdi + 0x18], 8
jb 0x14001f185
mov rdi, qword [rdi]
mov word [rdi + 0x14], r14w
jmp 0x14001f19a
xor r8d, r8d
sub rdx, rax
mov rcx, rdi
call fcn.1400160f0
cmp qword [r15 + 0x20], 0
je 0x14001f049
cmp qword [r15 + 0x88], 0
jne 0x14001f239
call fcn.1400dc820
mov esi, dword [rax + 0x11c]
movzx ebx, word [rax + 0x120]
mov edi, dword [rax + 0x118]
movzx eax, word [0x140295dc0]
mov word [rsp + 0x70], ax
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x72]
call fcn.140218bd0
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
mov r9d, edi
lea r8, str._d._d._d
mov edx, 0xff
lea rcx, [rsp + 0x70]
call fcn.14001da80
cmp word [rsp + 0x70], 0
jne 0x14001f217
mov r8, r14
jmp 0x14001f22b
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14001f220
lea rcx, [r15 + 0x78]
lea rdx, [rsp + 0x70]
call fcn.140007be0
mov rax, qword [r15 + 0x150]
test rax, rax
je 0x14001f29c
lea rcx, [r15 + 0x140]
cmp qword [rcx + 0x18], 8
jb 0x14001f258
mov rdx, qword [rcx]
jmp 0x14001f25b
mov rdx, rcx
movzx r8d, word [rdx + rax*2 - 2]
cmp r8w, 0x5c
je 0x14001f26f
cmp r8w, 0x2f
jne 0x14001f29c
mov rax, qword [rcx + 0x10]
lea rdx, [rax - 1]
cmp rax, rdx
jae 0x14001f289
lea rcx, str.invalid_string_position
call fcn.14021655c
int3
mov qword [rcx + 0x10], rdx
cmp qword [rcx + 0x18], 8
jb 0x14001f297
mov rcx, qword [rcx]
mov word [rcx + rdx*2], r14w
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x170]
call fcn.140218bd0
mov dword [rsp + 0x60], 0x3ff
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001f35c
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001f351
cmp word [rbp + 0x170], ax
je 0x14001f33b
lea rax, [rbp + 0x170]
or r14, 0xffffffffffffffff
nop dword [rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x14001f330
lea rcx, [r15 + 0xa0]
mov r8, r14
lea rdx, [rbp + 0x170]
call fcn.140007be0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.140032a20
mov dword [r15 + 0x98], 1
xor eax, eax
mov rcx, qword [rbp + 0x970]
xor rcx, rsp
call fcn.140215090
lea r11, [rsp + 0xa80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret