Function at 0x140091270
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rsi, qword [rbp + 0xe0]
mov qword [rbp - 0x78], rsi
mov r15, qword [rbp + 0xe8]
mov rax, qword [rbp + 0xf0]
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
mov dword [rbp - 0x78], r13d
mov dword [rsp + 0x60], 0x100
mov r12, qword [rax]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140091372
mov r9d, dword [rsp + 0x60]
shr r9, 1
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
cmova rcx, qword [rsp + 0x68]
sub rdx, rcx
sar rdx, 1
lea r8, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140022bd0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x10], xmm1
mov ecx, dword [rbp - 0x78]
mov dword [rsi + 0x20], ecx
jmp 0x140091499
cmp eax, 0xea
je 0x140091387
lea rdx, str.Cannot_query_registry_value_size
mov ecx, eax
call fcn.140090480
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140091482
mov r14d, r13d
movzx ebx, byte [rsp + 0x30]
nop dword [rax + rax]
mov ecx, eax
shr rcx, 1
mov r8, qword [rsp + 0x78]
cmp rcx, r8
ja 0x1400913cb
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rcx
mov word [rax + rcx*2], r13w
jmp 0x140091429
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x80]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140091412
mov qword [rsp + 0x78], rcx
lea r9, [rsp + 0x68]
cmp rdi, 7
cmova r9, qword [rsp + 0x68]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140091407
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r13w
jmp 0x140091429
mov word [rsp + 0x20], r13w
mov r9, rdx
movzx r8d, bl
lea rcx, [rsp + 0x68]
call fcn.140028d50
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rax, qword [rsp + 0x68]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x140091474
inc r14d
cmp r14d, 5
jge 0x1400914e3
mov eax, dword [rsp + 0x60]
jmp 0x1400913a0
lea rdx, str.Cannot_query_registry_value_data
mov ecx, eax
call fcn.140090480
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x10], xmm1
mov eax, dword [rbp - 0x78]
mov dword [rsi + 0x20], eax
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
lea rcx, [rsp + 0x68]
call fcn.140025e80
mov rax, rsi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140133600
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Cannot_query_registry_data_due_to_value_changed_too_often
lea rcx, [rsp + 0x38]
call fcn.140090440
lea rdx, [0x14020ee60]
lea rcx, [rsp + 0x38]
call fcn.140135f84
int3