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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0x148], rbx
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r8
mov rsi, rdx
mov r12, rcx
mov edx, 0x64
lea rcx, [rbp - 0x49]
call fcn.14003d760
nop
xor r13d, r13d
mov r15d, r13d
mov edi, dword [rbp - 0x6d]
nop word [rax + rax]
mov rax, qword [rbp - 0x41]
mov r8, qword [rbp - 0x49]
sub rax, r8
sar rax, 1
mov dword [rbp - 0x79], eax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x79]
mov edx, r15d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14003d0b6
cmp eax, 0xea
jne 0x14003cd94
mov eax, dword [rbp - 0x79]
test eax, eax
je 0x14003d0b6
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.14003dfb0
jmp 0x14003cd30
test eax, eax
jne 0x14003cd30
inc r15d
mov qword [rbp - 0x69], r13
mov dword [rbp - 0x61], r13d
mov qword [rbp - 0x59], r13
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x49]
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003d09a
mov eax, r13d
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14003cdeb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], r13
mov dword [rbp - 0x61], r13d
mov rcx, qword [rsp + 0x48]
mov qword [rbp - 0x69], rcx
mov dword [rbp - 0x61], r13d
test eax, eax
jne 0x14003d09a
mov dword [rbp - 0x75], r13d
lea rdx, [rbp - 0x75]
lea rcx, [rbp - 0x69]
call fcn.14003caf0
test al, al
je 0x14003d08a
cmp dword [rbp - 0x75], 0
jbe 0x14003d08a
lea rcx, [rbp - 9]
call fcn.14000a1bc
nop
mov dword [rsp + 0x40], r13d
lea eax, [rdi + rdi]
mov dword [rbp - 0x71], eax
mov edi, r13d
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x51]
xor r8d, r8d
lea rdx, str.version
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003cf4c
mov eax, dword [rbp - 0x51]
dec eax
cmp eax, 1
ja 0x14003cf4c
mov edi, dword [rbp - 0x71]
shr edi, 1
je 0x14003cf4c
lea edx, [rdi + 1]
lea rcx, [rbp - 0x31]
call fcn.14003d760
nop
lea eax, [rdi + rdi]
mov dword [rsp + 0x48], eax
mov edi, r13d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 0x31]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x4d]
xor r8d, r8d
lea rdx, str.version
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003cf00
mov eax, dword [rbp - 0x4d]
dec eax
cmp eax, 1
ja 0x14003cf00
mov ecx, dword [rsp + 0x48]
test rbx, rbx
je 0x14003cfbc
test ecx, ecx
je 0x14003cfb8
test cl, 1
jne 0x14003cf00
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], di
je 0x14003cfbc
test rbx, rbx
je 0x14003cf4c
mov rax, qword [rbp - 0x21]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003cf38
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d131
mov rcx, rbx
call fcn.1400045a8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x6d]
xor r8d, r8d
lea rdx, str.release
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003d081
cmp dword [rbp - 0x6d], 4
jne 0x14003d081
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14003d081
mov rdx, qword [r14 + 8]
cmp qword [r14 + 0x10], rdx
je 0x14003d073
mov dword [rdx], eax
add qword [r14 + 8], 4
jmp 0x14003d081
mov word [rbx], r13w
mov edi, ecx
shr edi, 1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14003cfd0
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.140009e14
nop
test rbx, rbx
je 0x14003d034
mov rax, qword [rbp - 0x21]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003d020
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d12b
mov rcx, rbx
call fcn.1400045a8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
cmp qword [rbp + 7], 0
je 0x14003cf4c
mov rax, qword [rsi + 8]
cmp qword [rsi + 0x10], rax
je 0x14003d05f
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.14001b9f0
add qword [rsi + 8], 0x20
jmp 0x14003cf4c
lea r8, [rbp - 9]
mov rdx, rax
mov rcx, rsi
call fcn.14003dcf0
jmp 0x14003cf4c
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.14003db30
nop
lea rcx, [rbp - 9]
call fcn.140009bb8
mov r8, r14
mov rdx, rsi
lea rcx, [rbp - 0x69]
call fcn.14003ccd0
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14003d0ad
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], r13
mov dword [rbp - 0x61], r13d
jmp 0x14003cd30
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14003d0fe
mov rdx, qword [rbp - 0x39]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d0ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d125
call fcn.1400045a8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r13
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14022aa20
mov rbx, qword [rsp + 0x148]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140231e34
nop
call fcn.140231e34
nop
call fcn.140231e34
int3