Function at 0x140037b80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [rbp - 0x49], r14d
mov dword [rbp + 0x67], r14d
cmp qword [r8 + 0x18], 8
jb 0x140037bbd
mov r8, qword [r8]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140037deb
mov edx, dword [rbp + 0x67]
shr rdx, 1
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea r8d, [rax + 0x20]
mov rcx, rbx
call fcn.140051b90
mov dword [rbp - 0x49], 1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140037c20
mov rax, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x140037c2a
mov rdi, qword [rdi]
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
mov r8, rdi
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140037cf6
mov ecx, dword [rbp + 0x67]
shr rcx, 1
dec rcx
mov r8, qword [rbx + 0x10]
mov rdi, qword [rbx + 0x18]
cmp rcx, r8
ja 0x140037c86
mov rax, rbx
cmp rdi, 8
jb 0x140037c7b
mov rax, qword [rbx]
mov qword [rbx + 0x10], rcx
mov word [rax + rcx*2], r14w
jmp 0x140037cdb
mov rdx, rcx
sub rdx, r8
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140037cc5
mov qword [rbx + 0x10], rcx
mov r9, rbx
cmp rdi, 8
jb 0x140037ca7
mov r9, qword [rbx]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140037cba
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x140037cdb
mov word [rsp + 0x20], r14w
mov r9, rdx
movzx r8d, byte [rbp + 0x67]
mov rcx, rbx
call fcn.1400561e0
mov rax, rbx
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
movabs rcx, 0xba38d454249fea6b
mov qword [rbp + 7], rcx
movabs rcx, 0xcfc1cc55b526d184
mov qword [rbp + 0xf], rcx
movabs rcx, 0x654acb962268d245
mov qword [rbp + 0x17], rcx
movabs rcx, 0xde2a68bf263a2b4e
mov qword [rbp + 0x1f], rcx
movabs rcx, 0x5c9074a8bcc6315f
mov qword [rbp + 0x27], rcx
movabs rcx, 0x31a40429c3cb57c8
mov qword [rbp + 0x2f], rcx
movabs rcx, 0xdd18a03b4af18b28
mov qword [rbp - 0x39], rcx
movabs rcx, 0xa1a8be21c606a5e1
mov qword [rbp - 0x31], rcx
movabs rcx, 0x5f2fbefa431ef222
mov qword [rbp - 0x29], rcx
movabs rcx, 0x885e0df8415f796e
mov qword [rbp - 0x21], rcx
movabs rcx, 0x3df654ffd9b35d3e
mov qword [rbp - 0x19], rcx
movabs rcx, 0x31a40407a7ae3ba1
mov qword [rbp - 0x11], rcx
movdqa xmm0, xmmword [rbp - 0x39]
pxor xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [rbp - 0x29]
pxor xmm1, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm0, xmmword [rbp - 0x19]
pxor xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x19], xmm0
lea r8, [rbp - 0x39]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.140038820
lea rdx, [0x1400cd668]
lea rcx, [rbp + 7]
call fcn.14007b178
int3
movabs rcx, 0xba38d454249fea6b
mov qword [rbp + 7], rcx
movabs rcx, 0xcfc1cc55b526d184
mov qword [rbp + 0xf], rcx
movabs rcx, 0x654acb962268d245
mov qword [rbp + 0x17], rcx
movabs rcx, 0xde2a68bf263a2b4e
mov qword [rbp + 0x1f], rcx
movabs rcx, 0x5c9074a8bcc6315f
mov qword [rbp + 0x27], rcx
movabs rcx, 0x31a40429c3cb57c8
mov qword [rbp + 0x2f], rcx
movabs rcx, 0xeaf3089a8fc78d19
mov qword [rbp + 0x37], rcx
movabs rdx, 0x563b4203409874b2
mov qword [rbp + 0x3f], rdx
movabs rcx, 0xdd18a03b4af18b28
mov qword [rbp - 0x39], rcx
movabs rcx, 0xefa4b63cc606a5e1
mov qword [rbp - 0x31], rcx
movabs rcx, 0xb23b9e25148b42a
mov qword [rbp - 0x29], rcx
movabs rcx, 0xe44f1dd3474c0b29
mov qword [rbp - 0x21], rcx
movabs rcx, 0xae411efdba3637f
mov qword [rbp - 0x19], rcx
movabs rcx, 0x50c2247ea6be3ba9
mov qword [rbp - 0x11], rcx
movabs rcx, 0xeaf308b4eba2e170
mov qword [rbp - 9], rcx
mov qword [rbp - 1], rdx
movdqa xmm0, xmmword [rbp - 0x39]
pxor xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [rbp - 0x29]
pxor xmm1, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm0, xmmword [rbp - 0x19]
pxor xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [rbp - 9]
pxor xmm1, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 9], xmm1
lea r8, [rbp - 0x39]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.140038820
lea rdx, [0x1400cd668]
lea rcx, [rbp + 7]
call fcn.14007b178
int3