Function at 0x1401b6d50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r12, qword [rbp + 0x90]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
xor r13d, r13d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x30], rax
mov rsi, r9
mov eax, dword [rbp + 0x98]
mov r15, r8
mov rdi, rcx
mov dword [rsp + 0x28], eax
lea r9d, [r13 + 0x20]
mov byte [rsp + 0x20], 1
mov r8, rsi
mov byte [r12], 1
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x44], r13d
mov rbx, rdx
mov dword [rsp + 0x40], r13d
call fcn.1401b6234
test al, al
jne 0x1401b6de9
mov rdx, r15
mov rcx, rdi
call fcn.140084f28
jmp 0x1401b6fc8
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14015fe54
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x1401b6e04
mov r8, qword [rbx]
mov r14, qword [rsp + 0x70]
lea rax, [rsp + 0x44]
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
lea r9d, [rdx + 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov dword [rsp + 0x50], eax
test eax, eax
je 0x1401b6f1d
call fcn.140048a14
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1401b6f0d
cmp qword [rbx + 0x18], 8
lea rax, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x68
jb 0x1401b6e6a
mov rbx, qword [rbx]
or r8, 0xffffffffffffffff
lea rcx, [0x1402cb810]
mov rdx, rcx
mov rax, r13
test rbx, rbx
je 0x1401b6e90
mov rdx, rbx
mov rax, r8
inc rax
cmp word [rbx + rax*2], r13w
jne 0x1401b6e86
cmp qword [rsi + 0x18], 8
lea eax, [rax*2 + 2]
mov dword [rbp - 0x18], eax
mov qword [rbp - 0x20], rdx
mov dword [rbp - 0x14], r13d
jb 0x1401b6eac
mov rsi, qword [rsi]
mov rax, r13
test rsi, rsi
je 0x1401b6ec4
mov rcx, rsi
mov rax, r8
inc rax
cmp word [rsi + rax*2], r13w
jne 0x1401b6eba
lea eax, [rax*2 + 2]
mov qword [rbp - 0x10], rcx
mov dword [rbp - 8], eax
lea rax, [rsp + 0x50]
mov qword [rbp], rax
mov dword [rbp - 4], r13d
mov qword [rbp + 8], 4
lea rax, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14034cd13]
xor r8d, r8d
mov dword [rsp + 0x20], 6
mov rcx, r10
call fcn.140001078
mov rdx, r15
mov rcx, rdi
call fcn.140084f28
jmp 0x1401b6fbe
mov edx, dword [rsp + 0x40]
xorps xmm0, xmm0
mov rcx, r14
mov qword [rsp + 0x68], r13
movdqu xmmword [rsp + 0x58], xmm0
mov r15, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
test rax, rax
je 0x1401b6f88
mov rsi, r14
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140048750
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x58]
call fcn.140062e6c
lea rcx, [rbp - 0x78]
call fcn.1400492c0
mov edx, dword [rsp + 0x40]
inc rbx
add r15, rbx
lea rsi, [r14 + r15*2]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
test rax, rax
jne 0x1401b6f46
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
mov byte [r12], r13b
xorps xmm0, xmm0
mov qword [rdi], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x10], rax
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
call fcn.140051660
lea rcx, [rsp + 0x70]
call fcn.140067f0c
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401b6fd8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14027a710
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret