Function at 0x446602
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0xa0]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.00465706
lea r9, [rsp + 0x34]
and dword [r9], 0
lea r13, [rsp + 0x30]
and dword [r13], 0
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x28], r13
and qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004d6cef
test eax, eax
je 0x4466a5
and qword [rsi + 8], 0
mov dword [rsi + 0x10], eax
mov dword [rsi], 6
mov rcx, qword [rsp + 0xa0]
mov rdx, rdi
call fcn.00499145
nop
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 0xa
ja case.0x4466c2.5
lea rcx, [0x00446ae8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edx, dword [rsp + 0x30]
shr rdx, 1
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.004d6c4b
mov r14, qword [r14 + 8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004d6cef
test eax, eax
je 0x446876
and qword [rsi + 8], 0
mov dword [rsi + 0x10], eax
mov dword [rsi], 6
jmp 0x4468d8
mov r14d, dword [rsp + 0x30]
mov rcx, r14
mov dl, 1
call fcn.00498df0
mov r12, rax
mov r15, rdx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004d6cef
test eax, eax
je 0x4468e2
and qword [rsi + 8], 0
mov dword [rsi + 0x10], eax
mov dword [rsi], 6
mov rcx, r12
mov rdx, r15
call fcn.00440205
jmp 0x446680
cmp dword [rsp + 0x30], 4
jne case.0x4466c2.5
lea rax, [rsp + 0x38]
and dword [rax], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004d6cef
test eax, eax
jne 0x446672
mov eax, dword [rsp + 0x38]
and dword [rsi], 0
mov dword [rsi + 4], eax
jmp 0x446680
mov edx, dword [rsp + 0x30]
shr rdx, 1
lea r14, [rsp + 0x70]
mov rcx, r14
call fcn.004d6c4b
mov r14, qword [r14 + 8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004d6cef
test eax, eax
je 0x4468f9
and qword [rsi + 8], 0
mov dword [rsi + 0x10], eax
mov dword [rsi], 6
jmp 0x446ab8
cmp dword [rsp + 0x30], 8
jne case.0x4466c2.5
lea rax, [rsp + 0x38]
and qword [rax], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004d6cef
test eax, eax
jne 0x446672
mov rax, qword [rsp + 0x38]
mov dword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x446680
and qword [rsi + 8], 0
mov dword [rsi + 0x10], 0x8007000d
jmp 0x44667a
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.004d6ccc
lea rcx, [rax + rdx*2]
lea rbx, [rsp + 0x38]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
and word [rbx + 0x10], 0
lea r15, [rsp + 0x88]
mov rcx, r15
mov rdx, rbx
call fcn.004d6e93
movups xmm0, xmmword [r15]
movups xmmword [rbx + 4], xmm0
mov rax, qword [r15 + 0x10]
mov qword [rbx + 0x14], rax
mov dword [rsi], 2
movups xmm0, xmmword [rbx]
mov rax, qword [rbx + 0xc]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x14]
mov qword [rsi + 0x18], rax
movups xmmword [rsi + 4], xmm0
mov rcx, qword [rsp + 0x58]
jmp 0x446abd
mov dword [rsi], 3
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r14
jmp 0x446680
mov rdx, qword [rsp + 0x80]
mov rcx, r14
call fcn.004d6ccc
lea r8, [rsp + 0xb8]
mov qword [r8], rax
mov qword [r8 + 8], rdx
mov byte [r8 + 0x10], 0
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r8
call fcn.0044b5f7
cmp qword [rbx + 8], 0
je 0x446a9b
mov ecx, 0x60
mov edx, 8
call fcn.0040ad20
test rax, rax
je 0x446ad6
mov rbx, rax
lea rcx, [rsp + 0x38]
mov rax, qword [rcx + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rcx]
movups xmmword [rbx], xmm0
mov rax, qword [rsp + 0xc8]
lea r14, [rsp + 0xd0]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [r14], xmm0
mov r13d, 1
mov r12d, 4
mov edi, 0x18
lea r15, [rsp + 0x58]
mov rcx, r15
mov rdx, r14
call fcn.0044b5f7
cmp qword [rsp + 0x60], 0
je 0x446a8c
cmp r13, r12
jne 0x446a6d
cmp byte [rsp + 0xe0], 1
mov ebp, 0
adc rbp, 1
add rbp, r12
jb 0x446acf
lea rax, [r12 + r12]
cmp rax, rbp
cmova rbp, rax
cmp rbp, 5
jae 0x4469ec
mov ebp, 4
xor r8d, r8d
movabs rax, 0x555555555555556
cmp rbp, rax
setb r8b
imul rdx, rbp, 0x18
shl r8, 3
test r12, r12
je 0x446a22
imul rax, r12, 0x18
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rax
mov eax, 8
jmp 0x446a24
xor eax, eax
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x88]
lea r9, [rsp + 0x38]
call fcn.004d6d2d
cmp qword [rsp + 0x88], 0
mov rcx, qword [rsp + 0x90]
je 0x446a67
mov rdx, qword [rsp + 0x98]
movabs rax, 0x8000000000000001
cmp rdx, rax
je 0x446a6d
jmp 0x446aca
mov r12, rbp
mov rbx, rcx
mov rax, qword [rsp + 0x68]
mov qword [rbx + rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx + rdi], xmm0
inc r13
add rdi, 0x18
jmp 0x44699c
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0xa8]
jmp 0x446aa6
mov ebx, 8
xor r13d, r13d
xor r12d, r12d
mov dword [rsi], 4
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], r13
mov rcx, qword [rsp + 0x70]
mov rdx, r14
call fcn.00499145
jmp 0x446680
test rdx, rdx
jne 0x446ae0
call fcn.0040b3c0
ud2
mov ecx, 0x60
mov edx, 8
call fcn.0040bce0
ud2