Function at 0x1400b68ec
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa80]
mov eax, 0xb80
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rbp + 0xa70], rax
mov dword [rbp - 0x20], r8d
mov rax, rdx
mov r14, rcx
mov qword [rbp + 0x60], rcx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x50], xmm1
xor r12d, r12d
mov qword [rbp - 0x40], r12
mov edi, r12d
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov dword [rbp + 0x48], 1
lea rcx, vtable.Mso::Registry::Key.0
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x50], r12
mov byte [rbp + 0x58], 1
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, rax
call fcn.1400b64b0
mov ebx, eax
test eax, eax
jne 0x1400b6fa2
lea r15, [rbp + 0x870]
mov qword [rsp + 0x48], r15
mov esi, 0x100
mov qword [rbp - 0x18], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r12
lea r12, [rbp + 0x70]
mov r13d, 0x800
movdqu xmmword [rbp + 0x10], xmm0
xor ecx, ecx
mov qword [rbp + 0x20], rcx
mov dword [rsp + 0x44], ecx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x870]
xor edx, edx
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x40], r13d
lea r9, [rsp + 0x50]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
mov ebx, eax
je 0x1400b6f85
movabs r11, 0x6db6db6db6db6db7
movabs r10, 0xcccccccccccccccd
mov edx, dword [rsp + 0x40]
mov ecx, dword [rbp - 0x1c]
mov r8d, dword [rbp - 0x20]
cmp eax, 0xea
jne 0x1400b6aee
bt r8d, ecx
jae 0x1400b6d1e
cmp edx, r13d
jbe 0x1400b6a9b
lea eax, [r13*2]
cmp edx, eax
cmovb edx, eax
shr rdx, 3
mov rax, qword [rbp + 0x20]
sub rax, qword [rbp + 0x10]
sar rax, 3
cmp rdx, rax
jbe 0x1400b6a87
lea rcx, [rbp + 0x10]
call fcn.1400b7130
mov r12, qword [rbp + 0x10]
mov r13, qword [rbp + 0x20]
sub r13, r12
and r13d, 0xfffffff8
jmp 0x1400b6d22
mov eax, dword [rsp + 0x50]
inc eax
cmp eax, esi
jbe 0x1400b6ae9
lea eax, [rsi + rsi]
cmp eax, 0x3fff
ja 0x1400b6ae9
mov edx, eax
mov rax, qword [rbp + 0x38]
sub rax, qword [rbp + 0x28]
sar rax, 1
cmp rdx, rax
jbe 0x1400b6aca
lea rcx, [rbp + 0x28]
call fcn.1400b71fc
mov rax, qword [rbp + 0x28]
mov r15, rax
mov qword [rsp + 0x48], rax
mov rsi, qword [rbp + 0x38]
sub rsi, rax
sar rsi, 1
mov qword [rbp - 0x18], rsi
jmp 0x1400b6d22
mov ebx, 0x54f
xor r9d, r9d
test ebx, ebx
jne 0x1400b6f8d
bt r8d, ecx
jae 0x1400b6d1e
sub ecx, 1
je 0x1400b6edb
sub ecx, 2
je 0x1400b6de3
sub ecx, 1
je 0x1400b6d4d
sub ecx, 3
je 0x1400b6bb8
cmp ecx, 4
jne 0x1400b6d1e
mov rax, qword [rbp - 0x80]
cmp rax, qword [rsp + 0x78]
jne 0x1400b6b63
mov rax, qword [rbp - 0x78]
sub rax, qword [rsp + 0x78]
sar rax, 3
imul rax, r10
cmp rax, 0x10
jae 0x1400b6b63
lea rcx, [rsp + 0x78]
call fcn.1400b7680
mov rdi, qword [rbp - 0x38]
xor r9d, r9d
mov rbx, qword [rbp - 0x80]
cmp rbx, qword [rbp - 0x78]
je 0x1400b6b9d
mov qword [rbx], r9
mov qword [rbx + 0x10], r9
mov qword [rbx + 0x18], 7
mov word [rbx], r9w
mov rdx, r15
mov rcx, rbx
call fcn.14000ae4c
mov rax, qword [r12]
mov qword [rbx + 0x20], rax
add qword [rbp - 0x80], 0x28
jmp 0x1400b6d1e
mov r9, r12
lea r8, [rsp + 0x48]
mov rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x78]
call fcn.1400b8498
jmp 0x1400b6dd5
cmp qword [rbp - 0x40], rdi
jne 0x1400b6be4
mov rax, qword [rbp - 0x30]
sub rax, qword [rbp - 0x40]
sar rax, 3
imul rax, r11
cmp rax, 0x10
jae 0x1400b6be4
lea rcx, [rbp - 0x40]
call fcn.1400b732c
mov rdi, qword [rbp - 0x38]
xor r9d, r9d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], r9
mov edx, 0x10
lea rcx, [rbp - 0x10]
call fcn.1400b77f0
xor r14d, r14d
mov esi, r14d
mov rax, r12
mov rbx, qword [rbp - 8]
mov qword [rbp + 8], rax
cmp rbx, qword [rbp]
je 0x1400b6c3d
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, rax
mov rcx, rbx
call fcn.14000ae4c
add rbx, 0x20
mov qword [rbp - 8], rbx
jmp 0x1400b6c51
lea r8, [rbp + 8]
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1400b801c
mov rbx, qword [rbp - 8]
mov rax, qword [rbx - 0x10]
inc rax
add rsi, rax
lea rax, [r12 + rsi*2]
cmp byte [rax], r14b
jne 0x1400b6c0b
mov r14, qword [rbp + 0x60]
cmp rdi, qword [rbp - 0x30]
je 0x1400b6ca4
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
mov rdx, r15
mov rcx, rdi
call fcn.14000ae4c
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x10]
call fcn.1400b5db0
add rdi, 0x38
mov qword [rbp - 0x38], rdi
jmp 0x1400b6cc2
lea r9, [rbp - 0x10]
lea r8, [rsp + 0x48]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400b8a38
mov rdi, qword [rbp - 0x38]
mov r15, qword [rsp + 0x48]
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x1400b6d1a
mov rsi, rbx
cmp rbx, qword [rbp - 8]
je 0x1400b6ce6
mov rcx, rsi
call fcn.14000ac30
add rsi, 0x20
cmp rsi, qword [rbp - 8]
jne 0x1400b6cd4
mov rcx, rbx
mov rax, qword [rbp]
sub rax, rbx
and rax, 0xffffffffffffffe0
cmp rax, 0x1000
jb 0x1400b6d11
mov rbx, qword [rbx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400b6f7e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rbp - 0x18]
inc dword [rsp + 0x44]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov r8, r15
mov edx, dword [rsp + 0x44]
jmp 0x1400b69fe
mov rax, qword [rsp + 0x68]
cmp rax, qword [rsp + 0x60]
jne 0x1400b6d82
mov rax, qword [rsp + 0x70]
sub rax, qword [rsp + 0x60]
sar rax, 3
imul rax, r10
cmp rax, 0x10
jae 0x1400b6d82
lea rcx, [rsp + 0x60]
call fcn.1400b7738
mov rdi, qword [rbp - 0x38]
xor r9d, r9d
mov rbx, qword [rsp + 0x68]
cmp rbx, qword [rsp + 0x70]
je 0x1400b6dbe
mov qword [rbx], r9
mov qword [rbx + 0x10], r9
mov qword [rbx + 0x18], 7
mov word [rbx], r9w
mov rdx, r15
mov rcx, rbx
call fcn.14000ae4c
mov eax, dword [r12]
mov dword [rbx + 0x20], eax
add qword [rsp + 0x68], 0x28
jmp 0x1400b6d1e
mov r9, r12
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.1400b8224
mov rdi, qword [rbp - 0x38]
mov r15, qword [rsp + 0x48]
jmp 0x1400b6d1e
mov rax, qword [rbp - 0x50]
cmp rax, qword [rbp - 0x58]
jne 0x1400b6e14
mov rax, qword [rbp - 0x48]
sub rax, qword [rbp - 0x58]
sar rax, 3
imul rax, r11
cmp rax, 0x10
jae 0x1400b6e14
lea rcx, [rbp - 0x58]
call fcn.1400b7450
mov rdi, qword [rbp - 0x38]
mov edx, dword [rsp + 0x40]
mov r8d, edx
add r8, r12
mov rdx, r12
lea rcx, [rbp - 0x10]
call fcn.1400b7c5c
mov rsi, rax
mov rbx, qword [rbp - 0x50]
cmp rbx, qword [rbp - 0x48]
je 0x1400b6e7e
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rdx, r15
mov rcx, rbx
call fcn.14000ae4c
mov rdx, qword [rsi + 0x10]
xor r9d, r9d
mov qword [rsi + 0x10], r9
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], r9
mov rax, qword [rsi]
mov qword [rsi], r9
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rcx
mov qword [rbx + 0x30], rdx
add qword [rbp - 0x50], 0x38
jmp 0x1400b6e9c
mov r9, rsi
lea r8, [rsp + 0x48]
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x58]
call fcn.1400b8890
mov rdi, qword [rbp - 0x38]
mov r15, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400b6d1a
mov rdx, rcx
mov rax, qword [rbp]
sub rax, rcx
cmp rax, 0x1000
jb 0x1400b6d14
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400b6d14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rbp - 0x68]
sub rax, qword [rbp - 0x70]
test rax, 0xffffffffffffffc0
jne 0x1400b6f0d
mov rax, qword [rbp - 0x60]
sub rax, qword [rbp - 0x70]
sar rax, 6
cmp rax, 0x10
jae 0x1400b6f0d
lea rcx, [rbp - 0x70]
call fcn.1400b7568
mov rdi, qword [rbp - 0x38]
xor r9d, r9d
mov qword [rbp + 8], r12
mov rbx, qword [rbp - 0x68]
cmp rbx, qword [rbp - 0x60]
je 0x1400b6f63
mov qword [rbx], r9
mov qword [rbx + 0x10], r9
mov qword [rbx + 0x18], 7
mov word [rbx], r9w
mov rdx, r15
mov rcx, rbx
call fcn.14000ae4c
lea rcx, [rbx + 0x20]
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov rdx, r12
call fcn.14000ae4c
add qword [rbp - 0x68], 0x40
jmp 0x1400b6d1e
lea r9, [rbp + 8]
lea r8, [rsp + 0x48]
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x70]
call fcn.1400b8714
jmp 0x1400b6dd5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r12d, r12d
mov ebx, r12d
jmp 0x1400b6f90
xor r12d, r12d
lea rcx, [rbp + 0x10]
call fcn.140047d88
lea rcx, [rbp + 0x28]
call fcn.14004dba4
mov dword [r14], ebx
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x70], r12
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], r12
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rcx
mov qword [r14 + 0x18], rdx
mov rdx, qword [rbp - 0x78]
mov qword [rbp - 0x78], r12
mov rcx, qword [rbp - 0x80]
mov qword [rbp - 0x80], r12
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], r12
mov qword [r14 + 0x20], rax
mov qword [r14 + 0x28], rcx
mov qword [r14 + 0x30], rdx
mov rdx, qword [rbp - 0x60]
mov qword [rbp - 0x60], r12
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x68], r12
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x70], r12
mov qword [r14 + 0x38], rax
mov qword [r14 + 0x40], rcx
mov qword [r14 + 0x48], rdx
mov rdx, qword [rbp - 0x48]
mov qword [rbp - 0x48], r12
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], r12
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x58], r12
mov qword [r14 + 0x50], rax
mov qword [r14 + 0x58], rcx
mov qword [r14 + 0x60], rdx
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x38], r12
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r12
mov qword [r14 + 0x68], rax
mov qword [r14 + 0x70], rdi
mov qword [r14 + 0x78], rcx
lea rax, vtable.Mso::Registry::Key.0
mov qword [rbp + 0x40], rax
cmp byte [rbp + 0x58], r12b
je 0x1400b707d
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400b707d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x40]
call fcn.1400b7280
lea rcx, [rbp - 0x58]
call fcn.1400b73ac
lea rcx, [rbp - 0x70]
call fcn.1400b74d0
lea rcx, [rsp + 0x78]
call fcn.1400b75d8
lea rcx, [rsp + 0x60]
call fcn.1400b75d8
mov rax, r14
mov rcx, qword [rbp + 0xa70]
xor rcx, rsp
call fcn.14024c6d0
mov rbx, qword [rsp + 0xbd0]
add rsp, 0xb80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret