Function at 0x140007330
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x70], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp + 0x6c], 0
mov dword [rbp + 0x68], 0
xor ecx, ecx
call fcn.140032810
test rax, rax
je 0x140007602
movdqu xmm0, xmmword [rax]
movq rcx, xmm0
add rcx, 1
mov qword [rax], rcx
xorps xmm1, xmm1
movups xmmword [rsi + 0x20], xmm1
movdqu xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
lea rax, [0x14004c0b0]
mov qword [rbp + 0x48], rsi
mov qword [rsi + 0x18], rax
lea rsi, [rbp + 0x6c]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0
lea rdx, str.Counter_009
lea r9, [rbp + 0x68]
mov rcx, 0xffffffff80000004
xor r8d, r8d
call sub.ADVAPI32.dll_RegQueryValueExA
movsxd rdi, dword [rbp + 0x6c]
test rdi, rdi
je 0x140007402
mov edx, 1
mov rcx, rdi
call fcn.1400035f0
mov rbx, rax
test rax, rax
jne 0x140007407
mov edx, 1
mov rcx, rdi
call fcn.140049940
jmp 0x140007600
mov ebx, 1
mov qword [rbp], rbx
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
lea rdx, str.Counter_009
lea r9, [rbp + 0x68]
mov rcx, 0xffffffff80000004
xor r8d, r8d
call sub.ADVAPI32.dll_RegQueryValueExA
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rdi
mov byte [rbp + 0x60], 0
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 0x50]
call fcn.1400166a0
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x30], rdi
mov rsi, qword [rbp + 0x18]
mov r15, qword [rbp + 0x28]
lea r13, [rbp - 0x18]
lea rdi, [rbp + 0x50]
mov qword [rbp + 0x40], rsi
jmp 0x140007493
lea rcx, [rbp + 0x58]
movdqu xmm0, xmmword [rcx]
movdqa xmmword [rbp - 0x40], xmm0
test rbx, rbx
jne 0x14000756d
nop word cs:[rax + rax]
nop
mov rsi, r12
test r15, r15
je 0x14000759e
mov rax, r15
cmp r15, 2
mov r12d, 2
cmovb r12, r15
sub r15, r12
shl r12, 4
add r12, rsi
cmp rax, 2
jb 0x140007490
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov rcx, r13
call fcn.140041110
mov r14, qword [rsi + 0x10]
mov rsi, qword [rsi + 0x18]
test rsi, rsi
je 0x1400074f3
mov edx, 1
mov rcx, rsi
call fcn.1400035f0
mov rbx, rax
test rax, rax
jne 0x1400074f8
jmp 0x1400075f3
mov ebx, 1
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rsi
mov rcx, rbx
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x20], rsi
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call fcn.140041110
mov rax, qword [rbp - 0x18]
or rax, qword [rbp + 0x50]
jne 0x14000754b
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rsi
call fcn.140042af0
test al, 1
je 0x14000746e
test rsi, rsi
je 0x140007490
mov r8d, 1
mov rcx, rbx
mov rdx, rsi
call fcn.140003600
mov rsi, r12
jmp 0x140007493
shr rax, 0x20
movdqa xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp + 0x50], rbx
lea rcx, [rbp + 0x58]
movdqu xmmword [rcx], xmm0
mov rcx, qword [rbp + 0x48]
mov rdx, rdi
mov r8d, eax
call fcn.1400183c0
mov rsi, r12
jmp 0x140007493
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x1400075c1
mov ecx, 0x10
mul rcx
mov r8d, 8
mov rcx, qword [rbp + 0x40]
mov rdx, rax
call fcn.140003600
mov rdx, qword [rbp + 0x30]
test edx, edx
mov rsi, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x38]
je 0x1400075dc
mov r8d, 1
call fcn.140003600
mov rax, rsi
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov edx, 1
mov rcx, rsi
call fcn.140049940
ud2
lea rax, [0x14004aee8]
mov qword [rsp + 0x20], rax
lea rcx, [0x14004ae50]
lea r9, fcn.140001800
lea r8, [rbp + 0x50]
mov edx, 0x46
call fcn.140049b10
ud2