Function at 0x140070a30
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rcx, [rsp + 0xa0]
mov r8d, 0xb
mov rdx, rax
call fcn.140070710
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x38], 0
mov rbx, qword [rsp + 0xa8]
lea r13, [rsp + 0x38]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x5c]
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
call sub.advapi32.dll_RegQueryValueExW
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x140070ae3
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
cmp qword [rsp + 0xa0], 0
je 0x140070c94
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, rbx
jmp 0x140070c8f
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 0xa
ja case.0x140070b00.5
lea rcx, [0x1401398d0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov ebp, dword [rsp + 0x38]
mov r12d, ebp
shr r12d, 1
mov edi, 2
cmp ebp, 2
jb 0x140070b33
lea r15d, [r12 + r12]
mov ecx, 8
mov rdx, r15
call fcn.14010f230
test rax, rax
je 0x1400710f4
mov rdi, rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x140070d45
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
cmp ebp, 2
jb 0x140070ac3
jmp 0x140070e32
mov r15d, dword [rsp + 0x38]
test r15, r15
je 0x140070de6
mov ecx, 8
mov rdx, r15
call fcn.14010f230
test rax, rax
je 0x1400710fb
mov rdi, rax
jmp 0x140070deb
cmp dword [rsp + 0x38], 8
jne case.0x140070b00.5
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x140070ab2
mov rax, qword [rsp + 0x40]
mov dword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x140070c73
cmp dword [rsp + 0x38], 4
jne case.0x140070b00.5
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x140070ab2
mov eax, dword [rsp + 0x40]
mov dword [rsi], 0
mov dword [rsi + 4], eax
jmp 0x140070c73
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], 0x8007000d
mov dword [rsi], 6
cmp qword [rsp + 0xa0], 0
je 0x140070c94
mov r8, qword [rsp + 0xa8]
mov rcx, qword [0x1401ba0e0]
xor edx, edx
call fcn.1401336c4
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [rsp + 0x38]
mov r12d, ecx
shr r12d, 1
mov eax, 2
mov dword [rsp + 0x3c], ecx
cmp ecx, 2
jb 0x140070cdb
lea r15d, [r12 + r12]
mov ecx, 8
mov rdx, r15
call fcn.14010f230
test rax, rax
je 0x1400710f4
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x140070e48
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
cmp dword [rsp + 0x3c], 2
jb 0x140070ac3
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, qword [rsp + 0x60]
call fcn.1401336c4
jmp 0x140070ac3
inc r12
nop dword [rax + rax]
cmp r12, 1
je 0x140070d69
lea rax, [r12 - 1]
cmp word [rdi + r12*2 - 4], 0
mov r12, rax
je 0x140070d50
jmp 0x140070d6b
xor eax, eax
lea rax, [rdi + rax*2]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rax
mov word [rsp + 0x50], 0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x40]
call fcn.1400746f0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x54], rax
mov dword [rsi], 2
movups xmm0, xmmword [rsp + 0x40]
mov rax, qword [rsp + 0x4c]
movups xmmword [rsi + 4], xmm0
mov qword [rsi + 0x10], rax
mov rax, qword [rsp + 0x54]
mov qword [rsi + 0x18], rax
cmp ebp, 2
jb 0x140070c73
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, rdi
call fcn.1401336c4
jmp 0x140070c73
mov edi, 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x140070e95
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
test r15, r15
je 0x140070ac3
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, rdi
call fcn.1401336c4
jmp 0x140070ac3
lea rax, [r12*2 + 2]
inc r12
mov rdx, qword [rsp + 0x60]
nop dword [rax + rax]
cmp r12, 1
je 0x140070eac
lea rcx, [rax - 2]
dec r12
cmp word [rdx + rax - 4], 0
mov rax, rcx
je 0x140070e60
xor eax, eax
cmp word [rdx + rax*2], 0
je 0x140070eb9
inc rax
add rcx, 0xfffffffffffffffe
jne 0x140070e7a
xor r15d, r15d
mov r13, rdx
mov rax, r12
jmp 0x140070ecb
mov dword [rsi], 3
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], r15
jmp 0x140070c73
xor r15d, r15d
mov r13, rdx
xor r12d, r12d
xor eax, eax
jmp 0x140070ecb
lea rcx, [rax + 1]
sub r12, rcx
lea r13, [rdx + rax*2]
add r13, 2
mov r15b, 1
lea rax, [rdx + rax*2]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rax
mov word [rsp + 0x50], 0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x40]
call fcn.1400746f0
movabs rax, 0x8000000000000000
mov rbp, qword [rsp + 0x70]
cmp rbp, rax
jne 0x140070f11
mov eax, 8
xor edx, edx
xor ebx, ebx
jmp 0x1400710bd
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
movzx eax, byte [0x1401ba120]
mov edx, 0x60
xor ecx, ecx
call fcn.14010f230
test rax, rax
je 0x14007110a
mov qword [rax], rbp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rsp + 0x88], 4
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
test r15b, r15b
je 0x1400710a1
mov ebx, 1
jmp 0x140070fa6
mov rax, qword [rsp + 0x90]
lea rcx, [rbx + rbx*2]
mov qword [rax + rcx*8], r15
mov qword [rax + rcx*8 + 8], r13
mov qword [rax + rcx*8 + 0x10], rdi
inc rbx
mov qword [rsp + 0x98], rbx
mov r13, rbp
test r14b, r14b
je 0x1400710ad
test r12, r12
je 0x140070fe9
lea rcx, [r12 + r12]
xor edx, edx
nop word cs:[rax + rax]
cmp word [r13 + rdx*2], 0
je 0x140071002
inc rdx
add rcx, 0xfffffffffffffffe
jne 0x140070fc0
mov r14, rax
xor edi, edi
mov rbp, r13
mov eax, 1
mov qword [rsp + 0x68], rax
mov rdx, r12
jmp 0x140071024
mov r14, rax
xor r12d, r12d
mov rbp, r13
xor edi, edi
mov eax, 1
mov qword [rsp + 0x68], rax
xor edx, edx
jmp 0x140071024
mov r14, rax
lea rcx, [rdx + 1]
sub r12, rcx
lea rbp, [rdx*2 + 2]
add rbp, r13
mov eax, 2
mov qword [rsp + 0x68], rax
mov dil, 1
lea rax, [rdx*2]
add rax, r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rax
mov word [rsp + 0x50], 0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x40]
call fcn.1400746f0
mov r15, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x88]
movabs rcx, 0x8000000000000000
cmp r15, rcx
je 0x1400710b5
mov rax, r14
mov r14, rdi
mov r13, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
cmp rbx, rdx
jne 0x140070f7d
lea rcx, [rsp + 0x88]
mov rdx, rbx
mov r8, qword [rsp + 0x68]
call fcn.1400749f0
jmp 0x140070f75
mov edx, 4
mov ebx, 1
jmp 0x1400710bd
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x3c]
mov dword [rsi], 4
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rbx
cmp ecx, 2
jb 0x140070c73
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, qword [rsp + 0x60]
call fcn.1401336c4
jmp 0x140070c73
mov ecx, 2
jmp 0x140071100
mov ecx, 1
mov rdx, r15
call fcn.140012d00
jmp 0x140071119
mov ecx, 8
mov edx, 0x60
call fcn.140012d00
ud2