Function at 0x140069f00
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 [0x14035b8c0]
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 eax, eax
mov r15d, eax
mov dword [rsp + 0x34], eax
xor r12b, r12b
mov byte [rsp + 0x30], r12b
mov rcx, rbx
call fcn.140002834
nop
test r14, r14
je 0x14006a7dc
mov r13, r14
mov qword [rsp + 0xa0], r14
test rsi, rsi
je 0x140069fee
cmp word [rsi], 0
je 0x140069fee
xor eax, eax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x78], rax
mov r9d, 0x20019
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.14003cf00
xor esi, esi
test eax, eax
jne 0x140069fd3
mov r13, qword [rsp + 0x68]
mov ecx, esi
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0xa0], r13
jmp 0x140069fd8
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140069fe8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
jmp 0x140069ff0
xor esi, esi
mov qword [rsp + 0x88], r13
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0x40], 0x3e8
mov ecx, 0x3e8
call fcn.14008a740
mov r14, rax
xor edx, edx
mov r8d, 0x3e8
mov rcx, rax
call fcn.14022e570
mov dword [rsp + 0x4c], esi
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x3c], 0x7d0
mov dword [rsp + 0x40], esi
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 0x14006a09a
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14006a09a
test r14, r14
je 0x14006a101
mov ecx, dword [rsp + 0x3c]
test ecx, ecx
je 0x14006a0fd
test cl, 1
jne 0x14006a09a
mov eax, ecx
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x14006a105
test r14, r14
jne 0x14006a146
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006a146
cmp dword [rsp + 0x38], 7
jne 0x14006a146
mov eax, dword [rsp + 0x48]
shr eax, 1
mov dword [rsp + 0x40], eax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400029fc
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006a7a5
mov word [r14], si
mov ecx, dword [rsp + 0x3c]
shr ecx, 1
mov dword [rsp + 0x40], ecx
test r14, r14
jne 0x14006a114
mov eax, esi
jmp 0x14006a12b
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x14006a120
mov r8d, eax
mov rdx, r14
mov rcx, rbx
call fcn.1400029fc
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006a7a5
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 0x14006a1a2
cmp dword [rsp + 0x38], 4
jne 0x14006a1a2
mov r8d, dword [rsp + 0x4c]
lea rdx, [0x1402f5094]
mov rcx, rbx
call fcn.14004c820
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006a7a5
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 0x14006a204
cmp dword [rsp + 0x44], 0xb
jne 0x14006a204
mov r8, qword [rsp + 0x80]
lea rdx, str._I64
mov rcx, rbx
call fcn.14004c820
mov r12b, 1
mov byte [rsp + 0x30], r12b
jmp 0x14006a7a5
call fcn.140022280
cmp dword [rax + 8], 1
jl 0x14006a7a5
call fcn.140022280
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x120]
call fcn.14001b520
nop
lea rcx, [rsp + 0x2a0]
call fcn.140009d24
nop
mov r8d, 3
lea rdx, [0x1402f02c8]
lea rcx, [rsp + 0x2a0]
call fcn.14000997c
lea rcx, [rsp + 0x240]
call fcn.140009d24
nop
mov dword [rsp + 0x58], esi
nop dword [rax + rax]
cmp esi, dword [rbx + 0x10]
jge 0x14006a30f
cmp esi, 0xa
jge 0x14006a30f
mov rcx, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x258]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x14006a2e2
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, [0x1402f0290]
call fcn.14022e100
xor eax, eax
mov word [rbx + rdi*2], ax
mov rbx, qword [rsp + 0x50]
jmp 0x14006a304
mov qword [rsp + 0x20], 2
lea r9, [0x1402f0290]
mov edx, 2
lea rcx, [rsp + 0x240]
call fcn.1400230d0
inc esi
mov dword [rsp + 0x58], esi
jmp 0x14006a270
lea rcx, [rsp + 0x280]
call fcn.140009d24
nop
lea rcx, [rsp + 0x260]
call fcn.140009d24
nop
lea r8, [rsp + 0x260]
lea rdx, [rsp + 0x280]
mov rcx, rbx
call fcn.1400223b0
lea rsi, [rsp + 0x240]
cmp qword [rsp + 0x258], 8
cmovae rsi, qword [rsp + 0x240]
mov edx, 0x2040
lea rcx, [rsp + 0xc0]
call fcn.14022c1f4
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.140018d10
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0xd0]
call fcn.14022c1f4
mov rdi, rax
lea rdx, [0x1402eff50]
mov rcx, rbx
call fcn.140018930
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.14022c21c
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.14022c208
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.140018d10
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x100]
call fcn.14022c21c
mov rdi, rax
lea rdx, [0x1402eff50]
mov rcx, rbx
call fcn.140018930
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.14022c1f4
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.140018d10
lea rdx, [0x1402f02e0]
mov rcx, rax
call fcn.140018930
mov rcx, rax
mov rdx, rsi
call fcn.140018930
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036af98], eax
jg 0x14006a80b
lea rbx, [0x14036afa0]
lea rcx, [rsp + 0x220]
call fcn.140006790
xor esi, esi
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x238], 7
mov word [rsp + 0x220], si
or r15d, 2
mov dword [rsp + 0x34], r15d
mov rdx, qword [rsp + 0x1a8]
test dl, 2
jne 0x14006a5dd
mov rax, qword [rsp + 0x178]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006a5dd
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.14000997c
jmp 0x14006a621
test dl, 4
jne 0x14006a621
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006a621
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.14000997c
and r15d, 0xfffffffd
mov dword [rsp + 0x34], r15d
or r15d, 1
mov dword [rsp + 0x34], r15d
mov rdx, qword [0x14036afb8]
cmp rdx, 8
jb 0x14006a689
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x2c0], rdx
mov rcx, qword [0x14036afa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a684
add rdx, 0x27
mov qword [rsp + 0x2c0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006a850
call fcn.140004154
mov qword [0x14036afb0], rsi
mov qword [0x14036afb8], 7
mov word [0x14036afa0], si
movups xmm0, xmmword [rsp + 0x220]
movups xmmword [0x14036afa0], xmm0
movups xmm1, xmmword [rsp + 0x230]
movups xmmword [0x14036afb0], xmm1
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x238], 7
mov word [rsp + 0x220], si
and r15d, 0xfffffffe
mov dword [rsp + 0x34], r15d
lea rcx, [rsp + 0x220]
call fcn.140009568
nop
lea rcx, [rsp + 0x260]
call fcn.140009568
nop
lea rcx, [rsp + 0x280]
call fcn.140009568
nop
lea rcx, [rsp + 0x240]
call fcn.140009568
nop
lea rcx, [rsp + 0x2a0]
call fcn.140009568
nop
lea rcx, [rsp + 0x120]
call fcn.14001b1e0
call fcn.140022280
cmp qword [0x14036afb8], 8
cmovae rbx, qword [0x14036afa0]
mov r8, qword [0x14036afb0]
mov rdx, rbx
mov rcx, rax
call fcn.140018d10
lea rdx, str.Cant_handle_Registry_value_for:
mov rcx, rax
call fcn.140018930
mov rcx, rax
mov rdx, qword [rsp + 0xb0]
call fcn.140018930
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140019200
movzx edx, ax
mov rcx, rbx
call fcn.140019040
mov rcx, rbx
call fcn.140019c40
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x98], rsi
mov rcx, r14
call fcn.14008a738
cmp r13, qword [rsp + 0x60]
je 0x14006a7d5
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [rsp + 0x90], esi
jmp 0x14006a7e4
movzx eax, r12b
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.140229750
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, [0x14036af98]
call fcn.140229c6c
cmp dword [0x14036af98], 0xffffffff
jne 0x14006a53e
lea rbx, [0x14036afa0]
mov rcx, rbx
call fcn.140009d24
lea rcx, [0x14027cd90]
call fcn.140229a10
lea rcx, [0x14036af98]
call fcn.140229c0c
jmp 0x14006a545
call fcn.140230b64
int3