Function at 0x14003b9a0
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 [0x14035b8c0]
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.14003c430
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 0x14003bd86
cmp eax, 0xea
jne 0x14003ba64
mov eax, dword [rbp - 0x79]
test eax, eax
je 0x14003bd86
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.14003cc80
jmp 0x14003ba00
test eax, eax
jne 0x14003ba00
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 0x14003bd6a
mov eax, r13d
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14003babb
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 0x14003bd6a
mov dword [rbp - 0x75], r13d
lea rdx, [rbp - 0x75]
lea rcx, [rbp - 0x69]
call fcn.14003b7c0
test al, al
je 0x14003bd5a
cmp dword [rbp - 0x75], 0
jbe 0x14003bd5a
lea rcx, [rbp - 9]
call fcn.140009d24
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 0x14003bc1c
mov eax, dword [rbp - 0x51]
dec eax
cmp eax, 1
ja 0x14003bc1c
mov edi, dword [rbp - 0x71]
shr edi, 1
je 0x14003bc1c
lea edx, [rdi + 1]
lea rcx, [rbp - 0x31]
call fcn.14003c430
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 0x14003bbd0
mov eax, dword [rbp - 0x4d]
dec eax
cmp eax, 1
ja 0x14003bbd0
mov ecx, dword [rsp + 0x48]
test rbx, rbx
je 0x14003bc8c
test ecx, ecx
je 0x14003bc88
test cl, 1
jne 0x14003bbd0
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], di
je 0x14003bc8c
test rbx, rbx
je 0x14003bc1c
mov rax, qword [rbp - 0x21]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003bc08
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003be01
mov rcx, rbx
call fcn.140004154
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 0x14003bd51
cmp dword [rbp - 0x6d], 4
jne 0x14003bd51
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14003bd51
mov rdx, qword [r14 + 8]
cmp qword [r14 + 0x10], rdx
je 0x14003bd43
mov dword [rdx], eax
add qword [r14 + 8], 4
jmp 0x14003bd51
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 0x14003bca0
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.14000997c
nop
test rbx, rbx
je 0x14003bd04
mov rax, qword [rbp - 0x21]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003bcf0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bdfb
mov rcx, rbx
call fcn.140004154
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
cmp qword [rbp + 7], 0
je 0x14003bc1c
mov rax, qword [rsi + 8]
cmp qword [rsi + 0x10], rax
je 0x14003bd2f
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.14001b410
add qword [rsi + 8], 0x20
jmp 0x14003bc1c
lea r8, [rbp - 9]
mov rdx, rax
mov rcx, rsi
call fcn.14003c9c0
jmp 0x14003bc1c
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.14003c800
nop
lea rcx, [rbp - 9]
call fcn.140009568
mov r8, r14
mov rdx, rsi
lea rcx, [rbp - 0x69]
call fcn.14003b9a0
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14003bd7d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], r13
mov dword [rbp - 0x61], r13d
jmp 0x14003ba00
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14003bdce
mov rdx, qword [rbp - 0x39]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bdbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bdf5
call fcn.140004154
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r13
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140229750
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.140230b64
nop
call fcn.140230b64
nop
call fcn.140230b64
int3