Function at 0x14003be10
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 [0x14035c8c0]
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.14003c8a0
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 0x14003c1f6
cmp eax, 0xea
jne 0x14003bed4
mov eax, dword [rbp - 0x79]
test eax, eax
je 0x14003c1f6
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.14003d0f0
jmp 0x14003be70
test eax, eax
jne 0x14003be70
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 0x14003c1da
mov eax, r13d
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14003bf2b
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 0x14003c1da
mov dword [rbp - 0x75], r13d
lea rdx, [rbp - 0x75]
lea rcx, [rbp - 0x69]
call fcn.14003bc30
test al, al
je 0x14003c1ca
cmp dword [rbp - 0x75], 0
jbe 0x14003c1ca
lea rcx, [rbp - 9]
call fcn.140009e28
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 0x14003c08c
mov eax, dword [rbp - 0x51]
dec eax
cmp eax, 1
ja 0x14003c08c
mov edi, dword [rbp - 0x71]
shr edi, 1
je 0x14003c08c
lea edx, [rdi + 1]
lea rcx, [rbp - 0x31]
call fcn.14003c8a0
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 0x14003c040
mov eax, dword [rbp - 0x4d]
dec eax
cmp eax, 1
ja 0x14003c040
mov ecx, dword [rsp + 0x48]
test rbx, rbx
je 0x14003c0fc
test ecx, ecx
je 0x14003c0f8
test cl, 1
jne 0x14003c040
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], di
je 0x14003c0fc
test rbx, rbx
je 0x14003c08c
mov rax, qword [rbp - 0x21]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003c078
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c271
mov rcx, rbx
call fcn.140004518
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 0x14003c1c1
cmp dword [rbp - 0x6d], 4
jne 0x14003c1c1
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14003c1c1
mov rdx, qword [r14 + 8]
cmp qword [r14 + 0x10], rdx
je 0x14003c1b3
mov dword [rdx], eax
add qword [r14 + 8], 4
jmp 0x14003c1c1
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 0x14003c110
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.140009a80
nop
test rbx, rbx
je 0x14003c174
mov rax, qword [rbp - 0x21]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003c160
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c26b
mov rcx, rbx
call fcn.140004518
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
cmp qword [rbp + 7], 0
je 0x14003c08c
mov rax, qword [rsi + 8]
cmp qword [rsi + 0x10], rax
je 0x14003c19f
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.14001b660
add qword [rsi + 8], 0x20
jmp 0x14003c08c
lea r8, [rbp - 9]
mov rdx, rax
mov rcx, rsi
call fcn.14003ce30
jmp 0x14003c08c
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.14003cc70
nop
lea rcx, [rbp - 9]
call fcn.140009824
mov r8, r14
mov rdx, rsi
lea rcx, [rbp - 0x69]
call fcn.14003be10
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14003c1ed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], r13
mov dword [rbp - 0x61], r13d
jmp 0x14003be70
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14003c23e
mov rdx, qword [rbp - 0x39]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c22d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c265
call fcn.140004518
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r13
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140229da0
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.1402311b4
nop
call fcn.1402311b4
nop
call fcn.1402311b4
int3