Function at 0x140069f50
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 [0x14035c8c0]
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 0x14006a828
mov r13, r14
mov qword [rsp + 0xa0], r14
test rsi, rsi
je 0x14006a03b
cmp word [rsi], r15w
je 0x14006a03b
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.14003d370
test eax, eax
jne 0x14006a021
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 0x14006a026
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14006a036
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.14008ae18
mov r14, rax
xor edx, edx
mov r8d, 0x3e8
mov rcx, rax
call fcn.14022ebc0
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 0x14006a0e8
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14006a0e8
test r14, r14
je 0x14006a151
mov ecx, dword [rsp + 0x3c]
test ecx, ecx
je 0x14006a14d
test cl, 1
jne 0x14006a0e8
mov eax, ecx
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x14006a155
test r14, r14
jne 0x14006a196
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 0x14006a196
cmp dword [rsp + 0x38], 7
jne 0x14006a196
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 0x14006a7ef
mov word [r14], r15w
mov ecx, dword [rsp + 0x3c]
shr ecx, 1
mov dword [rsp + 0x40], ecx
test r14, r14
jne 0x14006a165
mov eax, r15d
jmp 0x14006a17b
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x14006a170
mov r8d, eax
mov rdx, r14
mov rcx, rbx
call fcn.140002a7c
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006a7ef
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 0x14006a1f2
cmp dword [rsp + 0x38], 4
jne 0x14006a1f2
mov r8d, dword [rsp + 0x4c]
lea rdx, [0x1402f61a4]
mov rcx, rbx
call fcn.14004c870
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006a7ef
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 0x14006a254
cmp dword [rsp + 0x44], 0xb
jne 0x14006a254
mov r8, qword [rsp + 0x80]
lea rdx, str._I64
mov rcx, rbx
call fcn.14004c870
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006a7ef
call fcn.1400224d0
cmp dword [rax + 8], 1
jl 0x14006a7ef
call fcn.1400224d0
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x120]
call fcn.14001b770
nop
lea rcx, [rsp + 0x2a0]
call fcn.140009e28
nop
mov r8d, 3
lea rdx, [0x1402f1390]
lea rcx, [rsp + 0x2a0]
call fcn.140009a80
lea rcx, [rsp + 0x240]
call fcn.140009e28
nop
mov esi, r15d
mov dword [rsp + 0x58], r15d
mov r15d, 2
cmp esi, dword [rbx + 0x10]
jge 0x14006a35a
cmp esi, 0xa
jge 0x14006a35a
mov rcx, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x258]
mov rax, rdx
sub rax, rcx
cmp rax, r15
jb 0x14006a333
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, [0x1402f1358]
call fcn.14022e750
xor eax, eax
mov word [rbx + rdi*2], ax
mov rbx, qword [rsp + 0x50]
jmp 0x14006a34f
mov qword [rsp + 0x20], r15
lea r9, [0x1402f1358]
mov rdx, r15
lea rcx, [rsp + 0x240]
call fcn.140023320
inc esi
mov dword [rsp + 0x58], esi
jmp 0x14006a2c2
lea rcx, [rsp + 0x280]
call fcn.140009e28
nop
lea rcx, [rsp + 0x260]
call fcn.140009e28
nop
lea r8, [rsp + 0x260]
lea rdx, [rsp + 0x280]
mov rcx, rbx
call fcn.140022600
lea rsi, [rsp + 0x240]
cmp qword [rsp + 0x258], 8
cmovae rsi, qword [rsp + 0x240]
mov edx, 0x2040
lea rcx, [rsp + 0xc0]
call fcn.14022c844
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.140018ee0
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0xd0]
call fcn.14022c844
mov rdi, rax
lea rdx, [0x1402f0eb0]
mov rcx, rbx
call fcn.140018b00
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.14022c86c
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.14022c858
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.140018ee0
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x100]
call fcn.14022c86c
mov rdi, rax
lea rdx, [0x1402f0eb0]
mov rcx, rbx
call fcn.140018b00
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.14022c844
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.140018ee0
lea rdx, [0x1402f13a8]
mov rcx, rax
call fcn.140018b00
mov rcx, rax
mov rdx, rsi
call fcn.140018b00
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036bfc0], eax
jg 0x14006a857
lea rbx, [0x14036bfc8]
lea rcx, [rsp + 0x220]
call fcn.140009a0c
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 0x14006a624
mov rax, qword [rsp + 0x178]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006a624
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.140009a80
jmp 0x14006a668
test dl, 4
jne 0x14006a668
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006a668
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.140009a80
and r15d, 0xfffffffd
mov dword [rsp + 0x34], r15d
mov edi, 1
mov dword [rsp + 0x34], edi
mov rdx, qword [0x14036bfe0]
cmp rdx, 8
jb 0x14006a6d0
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2c0], rdx
mov rcx, qword [0x14036bfc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a6cb
add rdx, 0x27
mov qword [rsp + 0x2c0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006a89c
call fcn.140004518
xor r15d, r15d
mov qword [0x14036bfd8], r15
mov qword [0x14036bfe0], 7
mov word [0x14036bfc8], r15w
movups xmm0, xmmword [rsp + 0x220]
movups xmmword [0x14036bfc8], xmm0
movups xmm1, xmmword [rsp + 0x230]
movups xmmword [0x14036bfd8], 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.140009824
nop
lea rcx, [rsp + 0x260]
call fcn.140009824
nop
lea rcx, [rsp + 0x280]
call fcn.140009824
nop
lea rcx, [rsp + 0x240]
call fcn.140009824
nop
lea rcx, [rsp + 0x2a0]
call fcn.140009824
nop
lea rcx, [rsp + 0x120]
call fcn.14001b430
call fcn.1400224d0
cmp qword [0x14036bfe0], 8
cmovae rbx, qword [0x14036bfc8]
mov r8, qword [0x14036bfd8]
mov rdx, rbx
mov rcx, rax
call fcn.140018ee0
lea rdx, str.Cant_handle_Registry_value_for:
mov rcx, rax
call fcn.140018b00
mov rcx, rax
mov rdx, qword [rsp + 0xb0]
call fcn.140018b00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.1400193d0
movzx edx, ax
mov rcx, rbx
call fcn.140019210
mov rcx, rbx
call fcn.140019e90
mov qword [rsp + 0x88], r15
mov dword [rsp + 0x90], r15d
mov qword [rsp + 0x98], r15
mov rcx, r14
call fcn.14008ae10
cmp r13, qword [rsp + 0x60]
je 0x14006a820
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [rsp + 0x90], r15d
jmp 0x14006a830
movzx eax, r12b
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.140229da0
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, [0x14036bfc0]
call fcn.14022a558
cmp dword [0x14036bfc0], 0xffffffff
jne 0x14006a589
lea rbx, [0x14036bfc8]
mov rcx, rbx
call fcn.140009e28
lea rcx, [0x14027d390]
call fcn.14022a060
lea rcx, [0x14036bfc0]
call fcn.14022a4f8
jmp 0x14006a590
call fcn.1402311b4
int3