Function at 0x140112ac0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x50], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140112b2b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov rcx, qword [rdx + 0x18]
and rcx, 0xfffffffffffffffe
or rcx, 2
and ecx, 3
mov qword [rdx + 0x18], rcx
jmp 0x140112fcb
cmp qword [r8], r15
mov rsi, r15
je 0x140112b37
mov rsi, qword [r8 + 8]
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140112b89
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rdi + 0x18], rax
jmp 0x140112fcb
mov ecx, dword [rsp + 0x50]
lea eax, [rcx - 1]
cmp eax, 1
mov eax, dword [rsp + 0x30]
jbe 0x140112ba3
cmp ecx, 7
jne 0x140112baa
add eax, 4
jmp 0x140112ba6
add eax, 2
mov dword [rsp + 0x30], eax
mov ebx, eax
movdqa xmm0, xmmword [0x1401e4310]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x60], rcx
cmp rbx, 0x100
jbe 0x140112be9
mov ecx, ebx
call fcn.1401759d8
mov rcx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140112ff4
mov qword [rbp - 0x70], rbx
mov eax, dword [rsp + 0x30]
mov qword [rbp - 0x68], rbx
mov r8d, eax
xor edx, edx
call fcn.1401925b0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x140112c42.6
mov eax, dword [rsp + 0x50]
cmp eax, 0xb
ja case.0x140112c42.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x112ffc]
add rcx, rdx
jmp rcx
cmp dword [rsp + 0x30], 0
jbe 0x140112ca3
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, qword [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.140002ce0
mov rdx, rax
mov rcx, rdi
call fcn.1400a3810
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140112fb9
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x140112fb9
mov rcx, qword [rsp + 0x38]
mov edx, 2
mov r8d, 8
call fcn.140030bb0
jmp 0x140112fb9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1400a3810
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140112fb9
mov rbx, 0xffffffffffffffff
jmp 0x140112c7c
xorps xmm0, xmm0
cmp dword [rsp + 0x30], 0
jbe 0x140112ee9
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x58], r15
movdqu xmmword [rsp + 0x60], xmm0
mov r14d, r15d
mov rbx, 0xffffffffffffffff
mov rsi, qword [rsp + 0x50]
movsxd rcx, r14d
mov rax, qword [rbp - 0x60]
lea rdx, [rax + rcx*2]
mov r8, rbx
lea rcx, [rsp + 0x70]
call fcn.140017720
nop
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x48], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov eax, dword [rsp + 0x34]
or eax, 0xa
mov dword [rsp + 0x34], eax
test al, 4
je 0x140112d78
and dword [rsp + 0x34], 0xfffffffb
test rsi, rsi
je 0x140112d78
mov eax, ebx
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x140112d78
mov edx, 2
mov r8d, 8
mov rcx, rsi
call fcn.140030bb0
nop
mov eax, dword [rsp + 0x34]
test al, 2
je 0x140112db0
and dword [rsp + 0x34], 0xfffffffd
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140112db0
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140112db0
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x70]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x48]
inc r14d
add r14d, eax
test rax, rax
je 0x140112e2f
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x58]
call fcn.14000af10
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140112de5
mov eax, dword [rax]
cmp eax, 1
jle 0x140112df8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14000a560
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140112d02
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140112d02
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140030bb0
jmp 0x140112d02
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140112e59
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140112e59
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140030bb0
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400a36a0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140112fb9
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140112fb9
mov rax, qword [rsp + 0x68]
lea rcx, [rax + rax*2]
mov rsi, qword [rsp + 0x60]
lea r14, [rsi + rcx*8]
cmp rsi, r14
je 0x140112ecf
nop dword [rax + rax]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140112ec6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140112ec6
mov edx, 2
mov r8d, 8
mov rcx, qword [rsi]
call fcn.140030bb0
add rsi, 0x18
cmp rsi, r14
jne 0x140112ea0
mov edx, 0x18
mov rcx, qword [rsp + 0x58]
mov r8d, 8
call fcn.140030bb0
jmp 0x140112fb9
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1400a36a0
lea rcx, [rsp + 0x38]
call fcn.1400026c0
jmp 0x140112fb9
cmp dword [rsp + 0x30], 0
jbe 0x140112ca3
mov rax, qword [rbp - 0x68]
cqo
sub rax, rdx
sar rax, 1
mov r8, rax
mov rdx, qword [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.140002ce0
mov rdx, rax
mov rcx, rdi
call fcn.1400a3810
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140112fb9
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x140112fb9
mov rcx, qword [rsp + 0x70]
jmp 0x140112c8e
mov rdx, qword [rbp - 0x60]
mov edx, dword [rdx]
mov rcx, rdi
call fcn.1400a38c0
jmp 0x140112fb9
mov rax, qword [rbp - 0x60]
mov edx, dword [rax]
bswap edx
mov rcx, rdi
call fcn.1400a38c0
jmp 0x140112fb9
mov rdx, qword [rbp - 0x60]
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.1400a3b10
jmp 0x140112fb9
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor eax, eax
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rdi + 0x18], rax
lea rax, [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
cmp rcx, rax
je 0x140112fcb
call fcn.140174a74
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14016c210
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14003dc40
nop
nop
adc byte [rdi], ch
adc dword [rax], eax
sub al, 0x11
add byte [rsp + rbp + 17], al
add byte [rax], dl
invalid