Function at 0x1400d0580
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x330
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r14, qword [rbp + 0x270]
mov qword [rbp + 0x1c8], r14
mov r15, qword [rbp + 0x278]
xor r13d, r13d
lea rdi, [r15 + 0xa0]
mov rsi, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400d05e9
mov rsi, qword [rdi]
mov qword [rsp + 0x30], rsi
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], r13w
jne 0x1400d0600
mov qword [rsp + 0x38], rax
mov rax, qword [r15]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], r13b
mov byte [rbp + 0x1c0], r13b
mov dword [rbp + 0x1c8], r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f8], xmm0
mov r8d, 1
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp - 0x80]
call fcn.14005e010
nop
lea rax, str.Cannot_query_registry_value_type
mov qword [rbp + 0x1d8], rax
lea rax, [rbp - 0x80]
cmp byte [rbp + 0x1c0], 1
cmovne rax, r13
mov qword [rbp + 0x1e0], rax
movups xmm6, xmmword [rsp + 0x30]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x1c8]
xor r8d, r8d
mov rdx, rsi
mov r12, qword [rbp + 0x1f8]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movups xmm0, xmmword [rbp + 0x1d8]
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.140059ec0
mov esi, dword [rbp + 0x1c8]
cmp byte [rbp + 0x200], 0
cmove r12, r13
test r12, r12
je 0x1400d06e2
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400d06e2
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rcx, [rbp - 0x80]
call fcn.14003da50
sub esi, 1
je 0x1400d0903
sub esi, 2
je 0x1400d07cc
sub esi, 1
je 0x1400d075c
sub esi, 3
je 0x1400d0733
cmp esi, 4
jne 0x1400d0a1e
mov rcx, r15
call fcn.1400d0dd0
mov qword [rbp + 0x1c8], rax
lea rdx, [rbp + 0x1c8]
mov rcx, r14
call fcn.1400ab3f0
jmp 0x1400d09b5
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400d0c20
nop
mov rdx, rax
mov rcx, r14
call fcn.1400ae450
nop
lea rcx, [rsp + 0x30]
call fcn.140036c00
jmp 0x1400d09b5
cmp qword [rdi + 0x18], 7
jbe 0x1400d0766
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rdi
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400d0770
mov qword [rsp + 0x38], rbx
mov rax, qword [r15]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 0
mov byte [rbp + 0x1c0], 0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.14005a270
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14003da50
mov dword [r14], ebx
mov byte [r14 + 0x20], 4
mov byte [r14 + 0x28], 0
mov byte [r14 + 0x30], 1
jmp 0x1400d09b5
lea rax, [r15 + 0xa0]
cmp qword [rax + 0x18], 7
jbe 0x1400d07dd
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400d07e2
mov qword [rsp + 0x38], rbx
mov rax, qword [r15]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 0
mov byte [rbp + 0x1c0], 0
mov r8d, 1
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp - 0x80]
call fcn.14005e010
nop
movaps xmm6, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm6
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x1d8]
call fcn.14005c2e0
nop
cmp byte [rbp + 0x1d0], 0
jne 0x1400d084f
mov rcx, r13
mov qword [rbp + 0x1c8], rcx
jmp 0x1400d0856
mov rcx, qword [rbp + 0x1c8]
test rcx, rcx
je 0x1400d086d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400d086d
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rbp + 0x1c8], r13
mov ecx, dword [rbp + 0x1f0]
cmp ecx, 3
jne 0x1400d09ea
mov rsi, qword [rbp + 0x1e8]
mov qword [rbp + 0x1e8], r13
mov rdi, qword [rbp + 0x1e0]
mov qword [rbp + 0x1e0], r13
mov rbx, qword [rbp + 0x1d8]
mov qword [rbp + 0x1d8], r13
lea rcx, [rbp + 0x1d8]
call fcn.14002a0d0
nop
lea rcx, [rbp - 0x80]
call fcn.14003da50
mov qword [rbp + 0x208], r13
mov qword [rbp + 0x200], r13
mov qword [rbp + 0x1f8], r13
mov qword [r14], rbx
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rsi
mov byte [r14 + 0x20], 9
mov byte [r14 + 0x28], 0
mov byte [r14 + 0x30], 1
lea rcx, [rbp + 0x1f8]
call fcn.14002a0d0
jmp 0x1400d09b5
lea rax, [r15 + 0xa0]
cmp qword [rax + 0x18], 7
jbe 0x1400d0914
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400d0920
mov qword [rsp + 0x38], rbx
mov rax, qword [r15]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 0
mov byte [rbp + 0x1c0], 0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x1d8]
call fcn.14005a520
nop
lea rcx, [rbp - 0x80]
call fcn.14003da50
movups xmm0, xmmword [rbp + 0x1d8]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x1e8]
movups xmmword [r14 + 0x10], xmm1
movdqa xmm0, xmmword [0x140269150]
movdqu xmmword [rbp + 0x1e8], xmm0
mov word [rbp + 0x1d8], r13w
mov byte [r14 + 0x20], 7
mov byte [r14 + 0x28], 0
mov byte [r14 + 0x30], 1
lea rcx, [rbp + 0x1d8]
call fcn.14002adf0
mov rax, r14
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14019acb0
mov rbx, qword [rsp + 0x380]
movaps xmm6, xmmword [rsp + 0x320]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movdqa xmmword [rsp + 0x30], xmm6
call fcn.14005db40
mov r8d, eax
lea r9, [rsp + 0x30]
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.14005db50
lea rdx, [0x1402babe8]
lea rcx, [rsp + 0x58]
call fcn.14019cd80
nop
mov edx, 0x32
lea rcx, [rbp + 0x1d8]
call fcn.14004bd90
lea rdx, [0x1402b9f88]
lea rcx, [rbp + 0x1d8]
call fcn.14019cd80
int3