Function at 0x14001b9d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x85e0]
mov eax, 0x86e0
call fcn.140093df0
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x8730], rbx
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rbp + 0x85d0], rax
mov r13, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3c0]
call fcn.1400916b0
mov dword [rbp - 0x80], 0x104
xor ebx, ebx
mov dword [rsp + 0x7c], ebx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x3c0]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x14001bda6
mov r14d, ebx
nop word [rax + rax]
mov dword [rbp - 0x7c], 0x3fff
mov word [rbp + 0x5d0], bx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x7c]
lea r8, [rbp + 0x5d0]
mov edx, r14d
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
mov dword [rsp + 0x74], ebx
mov dword [rsp + 0x70], ebx
test eax, eax
jne 0x14001bd98
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x74]
xor r8d, r8d
lea rdx, [rbp + 0x5d0]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001bd98
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x14001bddb
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x50], rax
xor r8d, r8d
lea rdx, [0x1400aa028]
lea rcx, [rbp - 0x50]
call fcn.140003400
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call fcn.1400916b0
mov eax, dword [rsp + 0x70]
mov dword [rbp - 0x44], eax
mov eax, dword [rsp + 0x74]
mov dword [rbp - 0x48], eax
lea rcx, [rbp + 0x5d0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001bb90
mov r8d, eax
lea rdx, [rbp + 0x5d0]
lea rcx, [rbp - 0x50]
call fcn.14000d940
mov rax, qword [rbp - 0x50]
movzx ecx, word [rax]
cmp cx, word [0x1400aa028]
je 0x14001bd78
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
xor r8d, r8d
lea rdx, [rbp + 0x5d0]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001bd78
mov r12, qword [rdi + 0xf0]
cmp qword [rdi + 0x108], 0
jne 0x14001bcad
mov ecx, dword [rdi + 0x110]
test rcx, rcx
jne 0x14001bc19
mov rcx, rbx
jmp 0x14001bc38
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x420
jb 0x14001bdd0
imul rcx, rcx, 0x420
mov rax, rcx
not rax
cmp rax, 8
jb 0x14001bdd0
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14001bdd0
mov rcx, qword [rdi + 0x100]
mov qword [rax], rcx
mov qword [rdi + 0x100], rax
mov r8d, dword [rdi + 0x110]
lea edx, [r8 - 1]
imul rcx, rdx, 0x420
add rcx, 8
add rax, rcx
sub r8d, 1
js 0x14001bcad
nop dword [rax + rax]
mov rcx, qword [rdi + 0x108]
mov qword [rax], rcx
mov qword [rdi + 0x108], rax
sub rax, 0x420
sub r8d, 1
jns 0x14001bc90
mov rsi, qword [rdi + 0x108]
mov r15, qword [rsi]
lea rbx, [rsi + 0x10]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rbp - 0x50]
add rcx, 0xffffffffffffffe8
call fcn.1400051f0
add rax, 0x18
mov qword [rbx], rax
mov eax, dword [rbp - 0x48]
mov dword [rbx + 8], eax
mov eax, dword [rbp - 0x44]
mov dword [rbx + 0xc], eax
add rbx, 0x10
lea rax, [rbp - 0x40]
mov ecx, 8
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbx + 0x60], xmm0
lea rbx, [rbx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rbx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x14001bcf0
mov qword [rdi + 0x108], r15
mov qword [rsi + 8], r12
xor ebx, ebx
mov qword [rsi], rbx
inc qword [rdi + 0xf8]
mov rax, qword [rdi + 0xf0]
test rax, rax
je 0x14001bd6a
mov qword [rax], rsi
jmp 0x14001bd71
mov qword [rdi + 0xe8], rsi
mov qword [rdi + 0xf0], rsi
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001bd98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
cmp r14d, dword [rsp + 0x78]
jb 0x14001bab0
mov rcx, qword [rbp + 0x85d0]
xor rcx, rsp
call fcn.14008ade0
mov rbx, qword [rsp + 0x8730]
add rsp, 0x86e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140003700
nop
mov ecx, 0x80004005
call fcn.140003700
int3