Function at 0x1400023f7
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rbx, rdx
mov qword [rsp + 0x58], rcx
lea r14, [rsp + 0x38]
mov rcx, r14
mov rdx, r8
mov r8, r9
call fcn.14000217e
lea rsi, [rsp + 0x54]
mov dword [rsi], 0x800
lea r15, [rsp + 0x64]
and dword [r15], 0
mov ecx, 0x800
call fcn.14003102b
mov rdi, rax
lea r12, [rsp + 0x68]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov r14, qword [r14]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x140002496
mov edx, dword [rsp + 0x54]
mov rcx, r12
call fcn.14009bc3a
mov rdi, qword [rsp + 0x68]
jmp 0x140002464
mov r13d, eax
test eax, eax
jne 0x1400024c0
mov esi, dword [rsp + 0x54]
mov qword [rsp + 0x78], rsi
mov ebp, dword [rsp + 0x64]
mov rbx, qword [rsp + 0x70]
cmp ebp, 0xb
jbe 0x140002506
movabs r13, 0xde00000002
jmp 0x1400024cd
shl r13, 0x20
or r13, 2
mov rbx, qword [rsp + 0x70]
mov rcx, rdi
mov rdx, rbx
call fcn.14002f699
mov rdx, qword [rsp + 0x40]
mov rcx, r14
call fcn.140001e8e
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], r13
and qword [rax], 0
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x40]
mov rcx, r14
call fcn.140001e8e
cmp bpl, 7
ja 0x140002889
movzx eax, bpl
mov ecx, 0x86
bt ecx, eax
jae 0x140002889
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x98], rbx
mov edx, esi
shr edx, 1
lea r15, [rdi + rdx*2]
lea r14, [rsp + 0x68]
mov qword [r14], 1
xorps xmm0, xmm0
movups xmmword [r14 + 8], xmm0
shr esi, 2
and edx, 1
add rdx, rsi
mov rcx, r14
call fcn.14009bc3a
xor ebx, ebx
movabs r13, 0x100000000
mov r12, rdi
test bx, bx
je 0x140002580
mov ecx, ebp
jmp 0x140002592
cmp r12, r15
je 0x14000270c
movzx ecx, word [r12]
add r12, 2
mov eax, ecx
and eax, 0xf800
cmp ax, 0xd800
jne 0x1400025ed
cmp cx, 0xdbff
ja 0x140002661
cmp r12, r15
je 0x140002665
movzx eax, word [r12]
add r12, 2
mov edx, eax
add edx, 0x2000
cmp dx, 0xfc00
jb 0x140002678
movzx eax, ax
and ecx, 0x3ff
and eax, 0x3ff
shl rcx, 0x1a
shl rax, 0x10
or rax, rcx
add rax, r13
jmp 0x1400025f4
movzx eax, cx
shl rax, 0x10
mov rsi, rax
shr rsi, 0x10
cmp esi, 0x80
jae 0x140002634
mov rdx, qword [rsp + 0x78]
cmp rdx, qword [rsp + 0x70]
jne 0x14000261c
mov rcx, r14
call fcn.14009b909
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x68]
mov byte [rax + rdx], sil
inc rdx
mov qword [rsp + 0x78], rdx
xor ebx, ebx
jmp 0x140002577
and dword [rsp + 0x38], 0
cmp esi, 0x800
jae 0x14000266c
shr eax, 0x16
or al, 0xc0
mov byte [rsp + 0x38], al
and sil, 0x3f
or sil, 0x80
mov byte [rsp + 0x39], sil
mov eax, 2
jmp 0x1400026f0
xor ebx, ebx
jmp 0x14000267e
xor ebx, ebx
mov r12, r15
jmp 0x14000267e
cmp esi, 0x10000
jae 0x1400026b4
xor ebx, ebx
jmp 0x140002688
mov bx, 1
mov ebp, eax
and dword [rsp + 0x38], 0
mov esi, 0xfffd
mov eax, esi
shr eax, 0xc
or al, 0xe0
mov byte [rsp + 0x38], al
mov eax, esi
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x39], al
and sil, 0x3f
or sil, 0x80
mov byte [rsp + 0x3a], sil
mov eax, 3
jmp 0x1400026f2
mov rcx, rax
shr rcx, 0x22
or cl, 0xf0
mov byte [rsp + 0x38], cl
mov rcx, rax
shr rcx, 0x1c
and cl, 0x3f
or cl, 0x80
mov byte [rsp + 0x39], cl
shr eax, 0x16
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x3a], al
and sil, 0x3f
or sil, 0x80
mov byte [rsp + 0x3b], sil
mov eax, 4
xor ebx, ebx
lea r8, [rsp + rax]
add r8, 0x38
mov rcx, r14
lea rdx, [rsp + 0x38]
call fcn.14009bbf7
jmp 0x140002577
mov r15, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
inc rax
mov ebp, dword [rsp + 0x60]
cmp rax, 1
je 0x140002739
lea r12, [rax - 1]
cmp byte [r15 + rax - 2], 0
mov rax, r12
je 0x140002722
jmp 0x14000273c
xor r12d, r12d
cmp bpl, 7
jne 0x140002825
mov qword [rsp + 0xa0], rcx
mov eax, 1
lea r13, [rsp + 0x38]
mov qword [r13], rax
xorps xmm0, xmm0
movups xmmword [r13 + 8], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], rax
and dword [rsp + 0x90], 0
xor r14d, r14d
xor ebx, ebx
lea rdx, [r15 + rbx]
mov r8, r12
mov eax, 0
sub r8, rbx
cmovae rax, rdx
cmovae rsi, r8
jb 0x140002837
cmp r8, 0xf
ja 0x1400027c2
xor r8d, r8d
cmp rsi, r8
je 0x1400027ce
cmp byte [rax + r8], 0
je 0x1400027d5
inc r8
jmp 0x1400027b1
xor ecx, ecx
call fcn.14000f680
mov r8, rdx
jmp 0x1400027da
mov r8, rsi
xor eax, eax
jmp 0x1400027da
mov eax, 1
cmp rax, 1
jne 0x140002837
add r8, rbx
mov rbx, r8
inc rbx
je 0x14000278b
cmp rbx, r12
ja 0x14000278b
add r8, r15
cmp byte [r8], 0
jne 0x14000278b
add r14, r15
mov rcx, r13
mov rdx, r14
call fcn.14009bbf7
mov rcx, r13
lea rdx, [0x140101a68]
lea r8, [0x140101a69]
call fcn.14009bbf7
mov r14, rbx
jmp 0x14000278b
mov rax, qword [rsp + 0x58]
mov qword [rax], r15
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r12
jmp 0x140002875
add r14, r15
add r12, r15
lea r13, [rsp + 0x38]
mov rcx, r13
mov rdx, r14
mov r8, r12
call fcn.14009bbf7
mov rax, qword [r13 + 0x10]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r13]
movups xmmword [rcx], xmm0
mov rcx, r15
mov rdx, qword [rsp + 0xa0]
call fcn.14002f699
mov rbx, qword [rsp + 0x98]
cmp bpl, 0xc
je 0x1400024f2
jmp 0x1400028a0
movabs rax, 0xde00000002
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 8], rax
and qword [rcx], 0
mov rcx, rdi
mov rdx, rbx
call fcn.14002f699
jmp 0x1400024f2