Function at 0x14003cec0
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.14003d8d0
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 0x14003d2a6
cmp eax, 0xea
jne 0x14003cf84
mov eax, dword [rbp - 0x79]
test eax, eax
je 0x14003d2a6
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.14003e120
jmp 0x14003cf20
test eax, eax
jne 0x14003cf20
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 0x14003d28a
mov eax, r13d
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14003cfdb
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 0x14003d28a
mov dword [rbp - 0x75], r13d
lea rdx, [rbp - 0x75]
lea rcx, [rbp - 0x69]
call fcn.14003cce0
test al, al
je 0x14003d27a
cmp dword [rbp - 0x75], 0
jbe 0x14003d27a
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 0x14003d13c
mov eax, dword [rbp - 0x51]
dec eax
cmp eax, 1
ja 0x14003d13c
mov edi, dword [rbp - 0x71]
shr edi, 1
je 0x14003d13c
lea edx, [rdi + 1]
lea rcx, [rbp - 0x31]
call fcn.14003d8d0
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 0x14003d0f0
mov eax, dword [rbp - 0x4d]
dec eax
cmp eax, 1
ja 0x14003d0f0
mov ecx, dword [rsp + 0x48]
test rbx, rbx
je 0x14003d1ac
test ecx, ecx
je 0x14003d1a8
test cl, 1
jne 0x14003d0f0
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], di
je 0x14003d1ac
test rbx, rbx
je 0x14003d13c
mov rax, qword [rbp - 0x21]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003d128
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d321
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 0x14003d271
cmp dword [rbp - 0x6d], 4
jne 0x14003d271
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14003d271
mov rdx, qword [r14 + 8]
cmp qword [r14 + 0x10], rdx
je 0x14003d263
mov dword [rdx], eax
add qword [r14 + 8], 4
jmp 0x14003d271
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 0x14003d1c0
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.140009e14
nop
test rbx, rbx
je 0x14003d224
mov rax, qword [rbp - 0x21]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003d210
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d31b
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 0x14003d13c
mov rax, qword [rsi + 8]
cmp qword [rsi + 0x10], rax
je 0x14003d24f
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.14001b9f0
add qword [rsi + 8], 0x20
jmp 0x14003d13c
lea r8, [rbp - 9]
mov rdx, rax
mov rcx, rsi
call fcn.14003de60
jmp 0x14003d13c
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.14003dca0
nop
lea rcx, [rbp - 9]
call fcn.140009bb8
mov r8, r14
mov rdx, rsi
lea rcx, [rbp - 0x69]
call fcn.14003cec0
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14003d29d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], r13
mov dword [rbp - 0x61], r13d
jmp 0x14003cf20
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14003d2ee
mov rdx, qword [rbp - 0x39]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d2dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d315
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.14022b120
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.140232534
nop
call fcn.140232534
nop
call fcn.140232534
int3