Function at 0x180034640
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x18008d060]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov rsi, qword [rsp + 0xf0]
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
lea r8, str.data
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea r15, [0x180092e18]
lea r14, [0x18008dc70]
test eax, eax
je 0x1800346d9
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov edx, edi
mov rcx, qword [rsi + 8]
jmp 0x1800346e6
mov dword [rsi], edi
mov qword [rsi + 8], r14
mov edx, dword [rsp + 0x60]
mov rcx, r14
mov rax, qword [0x18008dc78]
cmp qword [rcx + 8], rax
jne 0x180034964
cmp dword [rsi], edi
jne 0x180034964
test rdx, rdx
je 0x180034964
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], di
shr rdx, 1
jne 0x180034734
mov qword [rsp + 0x78], rdx
mov word [rsp + rdx*2 + 0x68], di
jmp 0x180034768
cmp rdx, 7
ja 0x180034756
mov qword [rsp + 0x78], rdx
movzx eax, di
lea rdi, [rsp + 0x68]
mov rcx, rdx
rep stosw word [rdi], ax
xor edi, edi
mov word [rsp + rdx*2 + 0x68], di
jmp 0x180034768
mov word [rsp + 0x20], di
mov r9, rdx
lea rcx, [rsp + 0x68]
call fcn.18000d6e0
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
add rax, rax
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdi
mov r9d, 2
lea r8, str.data
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1800347d4
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rcx, rdi
mov r14, qword [rsi + 8]
jmp 0x1800347de
mov dword [rsi], edi
mov qword [rsi + 8], r14
mov ecx, dword [rsp + 0x60]
mov rax, qword [0x18008dc78]
cmp qword [r14 + 8], rax
jne 0x1800348aa
cmp dword [rsi], 0
jne 0x1800348aa
shr rcx, 1
dec rcx
mov r8, qword [rsp + 0x78]
cmp rcx, r8
ja 0x180034827
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rcx
mov word [rax + rcx*2], di
jmp 0x180034889
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rsp + 0x80]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x180034875
mov qword [rsp + 0x78], rcx
lea r9, [rsp + 0x68]
cmp rdi, 8
cmovae r9, qword [rsp + 0x68]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x180034868
xor eax, eax
movzx eax, ax
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
xor edi, edi
mov word [r9 + rax*2], di
jmp 0x180034889
xor edi, edi
mov word [rsp + 0x20], di
mov r9, rdx
lea rcx, [rsp + 0x68]
call fcn.18000d6e0
lea rcx, [rsp + 0x68]
call fcn.180006e80
nop
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbx + 0x10], xmm1
jmp 0x180034976
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x180034901
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800348fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003499c
call fcn.18003eec0
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], di
mov rax, rbx
jmp 0x180034979
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rax, rbx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18003eea0
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.180045944
int3