Function at 0x140037b90
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 0x140037bcd
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 0x140037dfb
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.140052400
mov dword [rbp - 0x49], 1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140037c30
mov rax, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x140037c3a
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 0x140037d06
mov ecx, dword [rbp + 0x67]
shr rcx, 1
dec rcx
mov r8, qword [rbx + 0x10]
mov rdi, qword [rbx + 0x18]
cmp rcx, r8
ja 0x140037c96
mov rax, rbx
cmp rdi, 8
jb 0x140037c8b
mov rax, qword [rbx]
mov qword [rbx + 0x10], rcx
mov word [rax + rcx*2], r14w
jmp 0x140037ceb
mov rdx, rcx
sub rdx, r8
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140037cd5
mov qword [rbx + 0x10], rcx
mov r9, rbx
cmp rdi, 8
jb 0x140037cb7
mov r9, qword [rbx]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140037cca
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x140037ceb
mov word [rsp + 0x20], r14w
mov r9, rdx
movzx r8d, byte [rbp + 0x67]
mov rcx, rbx
call fcn.140056f20
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, 0x397a9e19b9d82f9d
mov qword [rbp + 7], rcx
movabs rcx, 0x35fae148278a2caa
mov qword [rbp + 0xf], rcx
movabs rcx, 0x2c48a75b027dda7f
mov qword [rbp + 0x17], rcx
movabs rcx, 0x49f01a2af1b445cc
mov qword [rbp + 0x1f], rcx
movabs rcx, 0xf30b90adf19be8b1
mov qword [rbp + 0x27], rcx
movabs rcx, 0xd68b6f2c511cafee
mov qword [rbp + 0x2f], rcx
movabs rcx, 0x5e5aea76d7b64ede
mov qword [rbp - 0x39], rcx
movabs rcx, 0x5b93933c54aa58cf
mov qword [rbp - 0x31], rcx
movabs rcx, 0x162dd237630bfa18
mov qword [rbp - 0x29], rcx
movabs rcx, 0x1f847f6d96d117ec
mov qword [rbp - 0x21], rcx
movabs rcx, 0x926db0fa94ee84d0
mov qword [rbp - 0x19], rcx
movabs rcx, 0xd68b6f023579c387
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.140038830
lea rdx, [0x1400ce788]
lea rcx, [rbp + 7]
call fcn.14007be98
int3
movabs rcx, 0x397a9e19b9d82f9d
mov qword [rbp + 7], rcx
movabs rcx, 0x35fae148278a2caa
mov qword [rbp + 0xf], rcx
movabs rcx, 0x2c48a75b027dda7f
mov qword [rbp + 0x17], rcx
movabs rcx, 0x49f01a2af1b445cc
mov qword [rbp + 0x1f], rcx
movabs rcx, 0xf30b90adf19be8b1
mov qword [rbp + 0x27], rcx
movabs rcx, 0xd68b6f2c511cafee
mov qword [rbp + 0x2f], rcx
movabs rcx, 0x5344c64fa13d3e53
mov qword [rbp + 0x37], rcx
movabs rdx, 0xe7bbf6ce0eb4f800
mov qword [rbp + 0x3f], rdx
movabs rcx, 0x5e5aea76d7b64ede
mov qword [rbp - 0x39], rcx
movabs rcx, 0x159f9b2154aa58cf
mov qword [rbp - 0x31], rcx
movabs rcx, 0x4221d52f715dbc10
mov qword [rbp - 0x29], rcx
movabs rcx, 0x73956f4690c265ab
mov qword [rbp - 0x21], rcx
movabs rcx, 0xa57ff5ea96feba91
mov qword [rbp - 0x19], rcx
movabs rcx, 0xb7ed4f7b3469c38f
mov qword [rbp - 0x11], rcx
movabs rcx, 0x5344c661c558523a
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.140038830
lea rdx, [0x1400ce788]
lea rcx, [rbp + 7]
call fcn.14007be98
int3