Function at 0x14006b4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov rdi, r9
mov qword [rsp + 0xb0], r9
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x60], rdx
mov rbx, qword [rsp + 0x330]
xor r15d, r15d
mov dword [rsp + 0x34], r15d
xor r12b, r12b
mov byte [rsp + 0x30], r12b
mov rcx, rbx
call fcn.1400028b4
nop
test r14, r14
je 0x14006bda8
mov r13, r14
mov qword [rsp + 0xa0], r14
test rsi, rsi
je 0x14006b5bb
cmp word [rsi], r15w
je 0x14006b5bb
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x78], r15
mov r9d, 0x20019
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.14003e420
test eax, eax
jne 0x14006b5a1
mov r13, qword [rsp + 0x68]
mov ecx, r15d
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x78], r15
mov qword [rsp + 0xa0], r13
jmp 0x14006b5a6
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14006b5b6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x88], r13
mov dword [rsp + 0x90], r15d
mov qword [rsp + 0x98], r15
mov dword [rsp + 0x40], 0x3e8
mov ecx, 0x3e8
call fcn.14008c218
mov r14, rax
xor edx, edx
mov r8d, 0x3e8
mov rcx, rax
call fcn.14022ffc0
mov dword [rsp + 0x4c], r15d
mov qword [rsp + 0x80], r15
mov dword [rsp + 0x3c], 0x7d0
mov dword [rsp + 0x40], r15d
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006b668
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14006b668
test r14, r14
je 0x14006b6d1
mov ecx, dword [rsp + 0x3c]
test ecx, ecx
je 0x14006b6cd
test cl, 1
jne 0x14006b668
mov eax, ecx
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x14006b6d5
test r14, r14
jne 0x14006b716
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006b716
cmp dword [rsp + 0x38], 7
jne 0x14006b716
mov eax, dword [rsp + 0x48]
shr eax, 1
mov dword [rsp + 0x40], eax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140002a7c
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006bd6f
mov word [r14], r15w
mov ecx, dword [rsp + 0x3c]
shr ecx, 1
mov dword [rsp + 0x40], ecx
test r14, r14
jne 0x14006b6e5
mov eax, r15d
jmp 0x14006b6fb
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x14006b6f0
mov r8d, eax
mov rdx, r14
mov rcx, rbx
call fcn.140002a7c
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006bd6f
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006b772
cmp dword [rsp + 0x38], 4
jne 0x14006b772
mov r8d, dword [rsp + 0x4c]
lea rdx, [0x1402f71e4]
mov rcx, rbx
call fcn.14004d920
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006bd6f
mov dword [rsp + 0x50], 8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006b7d4
cmp dword [rsp + 0x44], 0xb
jne 0x14006b7d4
mov r8, qword [rsp + 0x80]
lea rdx, str._I64
mov rcx, rbx
call fcn.14004d920
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006bd6f
call fcn.140022850
cmp dword [rax + 8], 1
jl 0x14006bd6f
call fcn.140022850
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x120]
call fcn.14001bb00
nop
lea rcx, [rsp + 0x2a0]
call fcn.14000a1bc
nop
mov r8d, 3
lea rdx, [0x1402f2560]
lea rcx, [rsp + 0x2a0]
call fcn.140009e14
lea rcx, [rsp + 0x240]
call fcn.14000a1bc
nop
mov esi, r15d
mov dword [rsp + 0x58], r15d
mov r15d, 2
cmp esi, dword [rbx + 0x10]
jge 0x14006b8da
cmp esi, 0xa
jge 0x14006b8da
mov rcx, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x258]
mov rax, rdx
sub rax, rcx
cmp rax, r15
jb 0x14006b8b3
lea rdi, [rcx + 2]
mov qword [rsp + 0x250], rdi
lea rbx, [rsp + 0x240]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x240]
lea rcx, [rbx + rcx*2]
mov r8d, 4
lea rdx, [0x1402f2528]
call fcn.14022fb50
xor eax, eax
mov word [rbx + rdi*2], ax
mov rbx, qword [rsp + 0x50]
jmp 0x14006b8cf
mov qword [rsp + 0x20], r15
lea r9, [0x1402f2528]
mov rdx, r15
lea rcx, [rsp + 0x240]
call fcn.1400236a0
inc esi
mov dword [rsp + 0x58], esi
jmp 0x14006b842
lea rcx, [rsp + 0x280]
call fcn.14000a1bc
nop
lea rcx, [rsp + 0x260]
call fcn.14000a1bc
nop
lea r8, [rsp + 0x260]
lea rdx, [rsp + 0x280]
mov rcx, rbx
call fcn.140022980
lea rsi, [rsp + 0x240]
cmp qword [rsp + 0x258], 8
cmovae rsi, qword [rsp + 0x240]
mov edx, 0x2040
lea rcx, [rsp + 0xc0]
call fcn.14022dc44
mov rcx, qword [rsp + 0x130]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x130]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x280]
cmp qword [rsp + 0x298], 8
cmovae rdx, qword [rsp + 0x280]
mov r8, qword [rsp + 0x290]
lea rcx, [rsp + 0x130]
call fcn.140019270
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0xd0]
call fcn.14022dc44
mov rdi, rax
lea rdx, [0x1402f2080]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rdi + 8]
call qword [rdi]
mov edx, 6
lea rcx, [rsp + 0xe0]
call fcn.14022dc6c
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov eax, 0x30
mov word [rcx + rbx + 0x58], ax
lea edx, [rax - 0x2d]
lea rcx, [rsp + 0xf0]
call fcn.14022dc58
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x260]
cmp qword [rsp + 0x278], 8
cmovae rdx, qword [rsp + 0x260]
mov r8, qword [rsp + 0x270]
mov rcx, rbx
call fcn.140019270
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x100]
call fcn.14022dc6c
mov rdi, rax
lea rdx, [0x1402f2080]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov eax, 0x20
mov word [rdx + rbx + 0x58], ax
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x110]
call fcn.14022dc44
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x2a0]
cmp qword [rsp + 0x2b8], 8
cmovae rdx, qword [rsp + 0x2a0]
mov r8, qword [rsp + 0x2b0]
mov rcx, rbx
call fcn.140019270
lea rdx, [0x1402f2578]
mov rcx, rax
call fcn.140018e90
mov rcx, rax
mov rdx, rsi
call fcn.140018e90
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036cfc0], eax
jg 0x14006bdd7
lea rbx, [0x14036cfc8]
lea rcx, [rsp + 0x220]
call fcn.140009da0
xor eax, eax
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x238], 7
mov word [rsp + 0x220], ax
mov dword [rsp + 0x34], r15d
mov rdx, qword [rsp + 0x1a8]
test dl, 2
jne 0x14006bba4
mov rax, qword [rsp + 0x178]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006bba4
mov rax, qword [rsp + 0x158]
mov rdx, qword [rax]
mov qword [rsp + 0xa8], rcx
lea r8, [rsp + 0x1a0]
lea rax, [rsp + 0xa8]
cmp rcx, qword [rsp + 0x1a0]
cmovae r8, rax
mov r8, qword [r8]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x220]
call fcn.140009e14
jmp 0x14006bbe8
test dl, 4
jne 0x14006bbe8
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006bbe8
mov rax, qword [rsp + 0x150]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x188]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x220]
call fcn.140009e14
and r15d, 0xfffffffd
mov dword [rsp + 0x34], r15d
mov edi, 1
mov dword [rsp + 0x34], edi
mov rdx, qword [0x14036cfe0]
cmp rdx, 8
jb 0x14006bc50
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2c0], rdx
mov rcx, qword [0x14036cfc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bc4b
add rdx, 0x27
mov qword [rsp + 0x2c0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006be1c
call fcn.1400045a8
xor r15d, r15d
mov qword [0x14036cfd8], r15
mov qword [0x14036cfe0], 7
mov word [0x14036cfc8], r15w
movups xmm0, xmmword [rsp + 0x220]
movups xmmword [0x14036cfc8], xmm0
movups xmm1, xmmword [rsp + 0x230]
movups xmmword [0x14036cfd8], xmm1
mov qword [rsp + 0x230], r15
mov qword [rsp + 0x238], 7
mov word [rsp + 0x220], r15w
and edi, 0xfffffffe
mov dword [rsp + 0x34], edi
lea rcx, [rsp + 0x220]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x260]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x280]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x240]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x2a0]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x120]
call fcn.14001b7c0
call fcn.140022850
cmp qword [0x14036cfe0], 8
cmovae rbx, qword [0x14036cfc8]
mov r8, qword [0x14036cfd8]
mov rdx, rbx
mov rcx, rax
call fcn.140019270
lea rdx, str.Cant_handle_Registry_value_for:
mov rcx, rax
call fcn.140018e90
mov rcx, rax
mov rdx, qword [rsp + 0xb0]
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140019760
movzx edx, ax
mov rcx, rbx
call fcn.1400195a0
mov rcx, rbx
call fcn.14001a220
mov qword [rsp + 0x88], r15
mov dword [rsp + 0x90], r15d
mov qword [rsp + 0x98], r15
mov rcx, r14
call fcn.14008c210
cmp r13, qword [rsp + 0x60]
je 0x14006bda0
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [rsp + 0x90], r15d
jmp 0x14006bdb0
movzx eax, r12b
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.14022b1a0
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, [0x14036cfc0]
call fcn.14022b958
cmp dword [0x14036cfc0], 0xffffffff
jne 0x14006bb09
lea rbx, [0x14036cfc8]
mov rcx, rbx
call fcn.14000a1bc
lea rcx, [0x14027e7a0]
call fcn.14022b460
lea rcx, [0x14036cfc0]
call fcn.14022b8f8
jmp 0x14006bb10
call fcn.1402325b4
int3