Function at 0x1412ad190
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x14136fbc0]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r9
mov r15, r8
mov r13, rdx
mov r14, rcx
mov qword [rbp - 0x58], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.1412acba0
nop
mov edx, 0x5c
mov rdi, 0xffffffffffffffff
mov r9d, 1
mov r8, rdi
mov rcx, rsi
call fcn.1411c3540
nop
mov ebx, r12d
or ebx, 2
cmp eax, edi
jne 0x1412ad215
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
jmp 0x1412ad227
inc eax
movsxd r8, eax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1411c35d0
mov dword [rsp + 0x30], ebx
mov ebx, dword [r14 + 0x104]
mov qword [rbp - 0x58], r12
or ebx, 0x20019
lea rcx, [rsp + 0x50]
call fcn.1411c8780
mov rdx, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1412adb4f
mov rsi, qword [rbp - 0x58]
test rsi, rsi
je 0x1412adb4f
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x48], 1
lea rcx, [rsp + 0x68]
call fcn.1411c8780
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1412ad2ff
mov byte [r13 + 0x20], 0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1412ad2e8
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad2e8
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1412adba7
lock xadd dword [rax], edi
jmp 0x1412adb8d
mov ecx, dword [rbp - 0x80]
lea eax, [rcx - 1]
cmp eax, 1
mov eax, dword [rsp + 0x34]
jbe 0x1412ad318
cmp ecx, 7
jne 0x1412ad31f
add eax, 4
jmp 0x1412ad31b
add eax, 2
mov dword [rsp + 0x34], eax
mov edx, eax
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.1411df4d0
nop
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1412ad340
mov eax, dword [rax]
cmp eax, 1
jle 0x1412ad355
mov r8d, 1
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.1411e0fd0
mov rbx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1411c8780
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1412ad405
mov byte [r13 + 0x20], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1412ad3b9
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad3b9
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1411dba10
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1412ad3ee
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad3ee
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1412adba7
lock xadd dword [rax], edi
jmp 0x1412adb8d
mov r8d, dword [rbp - 0x80]
cmp r8d, 0xb
ja case.0x1412ad425.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + r8*4 + 0x12adbcc]
add rcx, rdx
jmp rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
cmp dword [rsp + 0x34], 0
je 0x1412ad4b2
lea rdx, [0x14004798c]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rdx, rax
mov r8, rdi
lea rcx, [rbp - 0x20]
call fcn.1411af5d0
mov rdx, rax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov qword [rdx], rcx
mov rcx, qword [rbp - 0x38]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x38], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbp - 0x30]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x30], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1412ad4b2
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad4b2
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.1411dba10
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.141265a10
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], 2
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax + 0x10], xmm0
mov byte [r13 + 0x20], 1
lea rcx, [rbp - 0x20]
call fcn.14124ee60
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1412ad528
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad528
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x40]
call fcn.1411dba10
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1412ad553
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad553
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1411dba10
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1412ad588
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad588
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1412adba7
lock xadd dword [rax], edi
jmp 0x1412adb8d
mov qword [rbp - 0x20], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
cmp dword [rsp + 0x34], 0
je 0x1412ad724
mov r15d, r12d
lea r14, [0x14004798c]
mov rbx, qword [rbp - 0x58]
nop dword [rax]
nop dword [rax + rax]
mov rcx, r14
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rcx, rax
movsxd rax, r15d
lea rdx, [rcx + rax*2]
mov r8, rdi
lea rcx, [rbp - 0x78]
call fcn.1411c24e0
mov rcx, rax
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x30], rax
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov eax, dword [rsp + 0x30]
or eax, 0x14
mov dword [rsp + 0x30], eax
test al, 8
je 0x1412ad64f
and dword [rsp + 0x30], 0xfffffff7
test rbx, rbx
je 0x1412ad64f
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1412ad64f
mov edx, 2
mov r8d, 8
mov rcx, rbx
call fcn.1411dba10
nop
mov eax, dword [rsp + 0x30]
test al, 4
je 0x1412ad685
and dword [rsp + 0x30], 0xfffffffb
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1412ad685
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad685
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x78]
call fcn.1411dba10
nop
mov rax, qword [rbp - 0x30]
inc r15d
add r15d, eax
test rax, rax
je 0x1412ad6fc
lea r8, [rbp - 0x40]
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x20]
call fcn.1411b54a0
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x1412ad6b5
mov eax, dword [rax]
cmp eax, 1
jle 0x1412ad6c7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.1411b4d30
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1412ad5d0
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad5d0
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x40]
call fcn.1411dba10
jmp 0x1412ad5d0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1412ad724
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad724
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x40]
call fcn.1411dba10
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.141265820
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], 2
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax + 0x10], xmm0
mov byte [r13 + 0x20], 1
lea rcx, [rbp - 0x40]
call fcn.14124ee60
nop
lea rcx, [rbp - 0x20]
call fcn.1411abad0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1412ad7a6
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad7a6
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1411dba10
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1412ad7db
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad7db
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1412adba7
lock xadd dword [rax], edi
jmp 0x1412adb8d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
cmp dword [rsp + 0x34], 0
je 0x1412ad88e
mov rax, qword [rsp + 0x48]
cqo
sub rax, rdx
sar rax, 1
mov r8, rax
lea rdx, [0x14004798c]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1411af5d0
mov rdx, rax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov qword [rdx], rcx
mov rcx, qword [rbp - 0x38]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x38], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbp - 0x30]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x30], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1412ad88e
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad88e
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x78]
call fcn.1411dba10
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.141265a10
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], 2
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax + 0x10], xmm0
mov byte [r13 + 0x20], 1
lea rcx, [rbp - 0x20]
call fcn.14124ee60
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1412ad904
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad904
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x40]
call fcn.1411dba10
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1412ad92f
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad92f
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1411dba10
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1412ad964
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad964
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1412adba7
lock xadd dword [rax], edi
jmp 0x1412adb8d
lea r14, [0x14004798c]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne r14, rax
mov edx, dword [r14]
mov rcx, r13
call fcn.14124eb70
mov byte [r13 + 0x20], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1412ad9c9
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad9c9
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1411dba10
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1412ad9fe
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ad9fe
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1412adba7
lock xadd dword [rax], edi
jmp 0x1412adb8d
lea r14, [0x14004798c]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne r14, rax
mov rdx, qword [r14]
mov rcx, r13
call fcn.14124edd0
mov byte [r13 + 0x20], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1412ada63
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ada63
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1411dba10
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1412ada98
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ada98
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1412adba7
lock xadd dword [rax], edi
jmp 0x1412adb8d
mov qword [rbp - 0x78], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rax, [0x1400f0658]
mov qword [rbp - 0x60], rax
lea rdx, [0x1400c0298]
lea rcx, [rbp - 0x78]
call fcn.1411cd5c0
mov byte [r13 + 0x20], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1412adb0a
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412adb0a
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1411dba10
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1412adb3f
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412adb3f
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1412adba7
lock xadd dword [rax], edi
jmp 0x1412adb8d
mov byte [r13 + 0x20], 0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1412adb7f
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412adb7f
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1411dba10
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1412adba7
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1412adba7
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x68]
call fcn.1411dba10
mov rax, r13
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1413164a0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret