Function at 0x14001c380
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1490]
mov eax, 0x1590
call fcn.1400d3380
sub rsp, rax
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x15e0], rbx
mov rax, qword [0x1401bce90]
xor rax, rsp
mov qword [rbp + 0x1480], rax
mov r14, rdx
mov qword [rbp - 0x58], rdx
mov rsi, rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x28], rcx
movzx eax, byte [0x1401c4d64]
neg al
sbb rbx, rbx
add rbx, 0xffffffff80000002
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [0x140150020]
test rdx, 0xffffffffffff0000
jne 0x14001c45d
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001c468
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400025a0
jmp 0x14001c468
lea rcx, [rsp + 0x70]
call fcn.140003350
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.14000f690
nop
lea r8, [0x1401c5128]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14000f690
nop
lea r8, [0x14014ffb0]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14001a720
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000f690
nop
mov qword [rbp - 0x68], r15
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x14001c4ec
mov dword [rsp + 0x60], r15d
mov ecx, r15d
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x58], rax
test ecx, ecx
setne bl
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
or r13, 0xffffffffffffffff
lock add dword [rdx + 0x10], r13d
jg 0x14001c50e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c527
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c540
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c559
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c572
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x14001c60f
mov ecx, dword [0x1401c4d60]
imul ecx, ecx
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 0x11
jne 0x14001c5b9
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001c5ce
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001c5f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001c608
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14001ce0b
mov dword [rsp + 0x4c], 0x400
mov word [rbp + 0x6e0], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x6e2]
call fcn.1400d3710
mov r10d, dword [0x1401c4d60]
lea ecx, [r10 + 2]
lea eax, [r10 + 1]
imul ecx, eax
imul ecx, r10d
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub ecx, edx
cmp ecx, 8
jne 0x14001c78e
mov rbx, r15
mov edi, 0xe0
nop
call fcn.1400cebc4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rbp + rbx*8 - 0x20], xmm0
inc rbx
cmp rbx, rdi
jb 0x14001c670
mov r9, r15
mov r10d, 0xdf
nop word [rax + rax]
mov edx, 0xdf
cmp r9, rdx
jge 0x14001c778
cmp r10, 4
jl 0x14001c74d
lea rcx, [rbp + 0x6c8]
mov r8d, 0xdb
sub r8, r9
shr r8, 2
inc r8
lea rax, [r8*4]
sub rdx, rax
nop word [rax + rax]
movsd xmm0, qword [rcx + 0x10]
movsd xmm1, qword [rcx + 8]
comisd xmm0, xmm1
jbe 0x14001c6fa
movsd qword [rcx + 0x10], xmm1
movsd qword [rcx + 8], xmm0
movsd xmm0, qword [rcx + 8]
movsd xmm1, qword [rcx]
comisd xmm0, xmm1
jbe 0x14001c712
movsd qword [rcx + 8], xmm1
movsd qword [rcx], xmm0
movsd xmm0, qword [rcx]
movsd xmm1, qword [rcx - 8]
comisd xmm0, xmm1
jbe 0x14001c72a
movsd qword [rcx], xmm1
movsd qword [rcx - 8], xmm0
movsd xmm0, qword [rcx - 8]
movsd xmm1, qword [rcx - 0x10]
comisd xmm0, xmm1
jbe 0x14001c744
movsd qword [rcx - 8], xmm1
movsd qword [rcx - 0x10], xmm0
sub rcx, 0x20
dec r8
jne 0x14001c6e0
cmp rdx, r9
jle 0x14001c778
movsd xmm0, qword [rbp + rdx*8 - 0x20]
movsd xmm1, qword [rbp + rdx*8 - 0x28]
comisd xmm0, xmm1
jbe 0x14001c770
movsd qword [rbp + rdx*8 - 0x20], xmm1
movsd qword [rbp + rdx*8 - 0x28], xmm0
dec rdx
cmp rdx, r9
jg 0x14001c752
inc r9
dec r10
dec rdi
jne 0x14001c6a0
mov r10d, dword [0x1401c4d60]
mov edi, r15d
mov dword [rsp + 0x48], r15d
nop word [rax + rax]
lea ecx, [r10 + 2]
lea eax, [r10 + 1]
imul ecx, eax
imul ecx, r10d
and ecx, 0x80000007
jge 0x14001c7be
dec ecx
or ecx, 0xfffffff8
inc ecx
cmp ecx, 3
jne 0x14001c946
mov r11d, r15d
mov dword [rsp + 0x50], r15d
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x70], eax
mov eax, 0x55555556
imul r10d
mov r12d, edx
shr r12d, 0x1f
add r12d, edx
mov eax, r10d
cdq
and edx, ecx
add eax, edx
sar eax, 2
mov dword [rbp - 0x78], eax
mov eax, 0x66666667
imul r10d
mov r15d, edx
sar r15d, 1
mov ecx, r15d
shr ecx, 0x1f
add r15d, ecx
mov eax, 0x2aaaaaab
imul r10d
mov r13d, edx
shr r13d, 0x1f
add r13d, edx
mov eax, 0x92492493
imul r10d
lea esi, [r10 + rdx]
sar esi, 2
mov eax, esi
shr eax, 0x1f
add esi, eax
mov eax, r10d
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rsp + 0x78], eax
lea r9, [rbp + 0xee1]
mov r14d, dword [rbp - 0x70]
nop word [rax + rax]
movzx r8d, r10b
sub r8b, r11b
mov ebx, 1
lea edi, [rbx + 0xb]
mov r11d, dword [rbp - 0x78]
mov eax, r10d
cdq
idiv ebx
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, r10b
imul cl
mov byte [r9 - 1], al
movzx eax, dl
imul r14b
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9], al
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, r12b
imul cl
mov byte [r9 + 1], al
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, r11b
imul cl
mov byte [r9 + 2], al
movzx eax, dl
imul r15b
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9 + 3], al
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, r13b
imul cl
mov byte [r9 + 4], al
movzx eax, dl
imul sil
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9 + 5], al
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, byte [rsp + 0x78]
imul cl
mov byte [r9 + 6], al
inc ebx
add r9, 8
dec rdi
jne 0x14001c873
mov r11d, dword [rsp + 0x50]
inc r11d
mov dword [rsp + 0x50], r11d
cmp r11d, 0xf
jl 0x14001c860
mov r14, qword [rbp - 0x58]
or r13, 0xffffffffffffffff
mov edi, dword [rsp + 0x48]
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x6e0]
mov edx, edi
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r12d, eax
inc edi
mov dword [rsp + 0x48], edi
test eax, eax
je 0x14001c98e
cmp eax, 0x103
jne 0x14001cd3f
lea rcx, [0x1401bc9a8]
mov rdx, qword [0x1401bc9a8]
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp + 0x6e0]
lea rax, [rbp + 0x6e0]
test rax, 0xffffffffffff0000
jne 0x14001c9eb
movzx edi, cx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14001cade
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400025a0
mov rbx, qword [rsp + 0x40]
jmp 0x14001cade
lea rax, [rbp + 0x6e0]
mov rdi, r13
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14001c9f5
test edi, edi
jne 0x14001ca5d
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14001cade
cmp dword [rdx + 0x10], 0
jge 0x14001ca31
cmp dword [rbx - 0xc], 0
jl 0x14001cd50
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14001cade
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001ca46
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
jmp 0x14001cade
mov r15d, dword [rbx - 0x10]
lea rsi, [rbp + 0x6e0]
sub rsi, rbx
sar rsi, 1
test edi, edi
js 0x14001ce00
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14001ca98
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.1400023a0
mov rbx, qword [rsp + 0x40]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rsi, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x14001cabc
lea r8, [rbx + rsi*2]
call fcn.1400ceaf4
jmp 0x14001cac8
lea r8, [rbp + 0x6e0]
call fcn.1400cebf0
cmp edi, dword [rbx - 0xc]
jg 0x14001cdf5
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r15 + rbx], ax
xor r15d, r15d
cmp dword [rbx - 0x10], 0
je 0x14001ccfd
mov rcx, qword [r14 + 8]
lea rax, [rsp + 0x40]
cmp rax, rcx
jae 0x14001cc0c
mov r8, qword [r14]
lea rax, [rsp + 0x40]
cmp r8, rax
ja 0x14001cc0c
lea rdi, [rsp + 0x40]
sub rdi, r8
sar rdi, 3
mov rdx, qword [r14 + 0x10]
cmp rcx, rdx
jne 0x14001cb84
mov rax, rdx
sub rax, rcx
sar rax, 3
cmp rax, 1
jae 0x14001cb84
sub rcx, r8
sar rcx, 3
movabs r10, 0x1fffffffffffffff
mov rax, r10
sub rax, rcx
cmp rax, 1
jb 0x14001cd5b
lea r9, [rcx + 1]
sub rdx, r8
sar rdx, 3
mov rcx, rdx
shr rcx, 1
mov rax, r10
sub rax, rcx
cmp rax, rdx
jae 0x14001cb72
mov rdx, r15
jmp 0x14001cb75
add rdx, rcx
cmp rdx, r9
cmovb rdx, r9
mov rcx, r14
call fcn.14001d640
mov rax, qword [r14]
mov r15, qword [r14 + 8]
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x78], r15
test r15, r15
je 0x14001cc07
mov rdi, qword [rax + rdi*8]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14001cbc5
cmp rax, qword [rdi - 0x18]
jne 0x14001cbc5
lea rsi, [rdi - 0x18]
lock inc dword [rdi - 8]
mov rbx, qword [rsp + 0x40]
jmp 0x14001cc00
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x14001cd68
mov ecx, dword [rdi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rdi - 0x10]
inc ecx
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.1400cebf0
lea rax, [rsi + 0x18]
mov qword [r15], rax
jmp 0x14001ccf8
mov rdx, qword [r14 + 0x10]
cmp rcx, rdx
jne 0x14001cc7c
mov rax, rdx
sub rax, rcx
sar rax, 3
cmp rax, 1
jae 0x14001cc7c
mov r8, qword [r14]
sub rcx, r8
sar rcx, 3
movabs r10, 0x1fffffffffffffff
mov rax, r10
sub rax, rcx
cmp rax, 1
jb 0x14001cd6e
lea r9, [rcx + 1]
sub rdx, r8
sar rdx, 3
mov rcx, rdx
shr rcx, 1
mov rax, r10
sub rax, rcx
cmp rax, rdx
jae 0x14001cc6a
mov rdx, r15
jmp 0x14001cc6d
add rdx, rcx
cmp rdx, r9
cmovb rdx, r9
mov rcx, r14
call fcn.14001d640
mov r15, qword [r14 + 8]
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x78], r15
test r15, r15
je 0x14001ccf8
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x14001ccb6
cmp rax, qword [rbx - 0x18]
jne 0x14001ccb6
lea rsi, [rbx - 0x18]
lock inc dword [rbx - 8]
mov rbx, qword [rsp + 0x40]
jmp 0x14001ccf1
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x14001cd7b
mov ecx, dword [rbx - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rbx - 0x10]
inc ecx
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rbx
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.1400cebf0
lea rax, [rsi + 0x18]
mov qword [r15], rax
add qword [r14 + 8], 8
mov dword [rsp + 0x4c], 0x400
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x6e0]
call fcn.1400d3710
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001cd33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r15d, r15d
mov edi, dword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
test r12d, r12d
jne 0x14001cd81
mov r10d, dword [0x1401c4d60]
jmp 0x14001c7a0
mov ecx, 0x80070057
call fcn.140001920
nop
lea rcx, str.vector_T__too_long
call fcn.1400cd8a8
nop
call fcn.140002490
nop
lea rcx, str.vector_T__too_long
call fcn.1400cd8a8
nop
call fcn.140002490
nop
test rbx, rbx
je 0x14001cd97
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r15
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x60], r15d
test rbx, rbx
je 0x14001cdaf
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001cdd2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x48]
mov rdx, qword [rdx]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r13d
dec r13d
jg 0x14001cdf1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
jmp 0x14001ce0b
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
nop
mov rcx, qword [rbp + 0x1480]
xor rcx, rsp
call fcn.1400ce2d0
mov rbx, qword [rsp + 0x15e0]
add rsp, 0x1590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret