Function at 0x140205d88
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 - 0x48]
sub rsp, 0x148
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0xb0]
xor r13d, r13d
mov qword [rbp - 0x78], rax
mov rsi, rcx
mov qword [rbp - 0x80], rcx
mov rdi, r9
mov rcx, qword [rbp + 0xc0]
mov r14, r8
mov byte [rax], 1
mov rbx, rdx
mov eax, dword [rbp + 0xb8]
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x54], r13d
mov dword [rsp + 0x50], r13d
cmp eax, 0x4000000
ja 0x14020609e
mov qword [rsp + 0x40], rcx
lea r9d, [r13 + 0x20]
lea rcx, [rsp + 0x50]
mov r8, rdi
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], 1
call fcn.140204cbc
test eax, eax
jne 0x14020609e
mov edx, dword [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.14019d860
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x140205e4c
mov r8, qword [rbx]
mov r12, qword [rbp - 0x70]
lea rax, [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
xor edx, edx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
lea r9d, [rdx + 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x140205f73
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x140205f5a
cmp qword [rbx + 0x18], 8
lea rax, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0x68
jb 0x140205eb7
mov rbx, qword [rbx]
or r8, 0xffffffffffffffff
lea rcx, [0x1403cb630]
mov rdx, rcx
mov rax, r13
test rbx, rbx
je 0x140205edd
mov rdx, rbx
mov rax, r8
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140205ed3
cmp qword [rdi + 0x18], 8
lea eax, [rax*2 + 2]
mov dword [rbp + 8], eax
mov qword [rbp], rdx
mov dword [rbp + 0xc], r13d
jb 0x140205ef9
mov rdi, qword [rdi]
mov rax, r13
test rdi, rdi
je 0x140205f11
mov rcx, rdi
mov rax, r8
inc rax
cmp word [rdi + rax*2], r13w
jne 0x140205f07
lea eax, [rax*2 + 2]
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], eax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x1c], r13d
mov qword [rbp + 0x28], 4
lea rax, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x140481f39]
xor r8d, r8d
mov dword [rsp + 0x20], 6
mov rcx, r10
call fcn.140001208
mov rdx, r14
mov rcx, rsi
call fcn.140093630
lea rcx, [rbp - 0x70]
call fcn.140097a24
jmp 0x1402060a9
mov edx, dword [rsp + 0x50]
mov rbx, r13
mov qword [rsp + 0x70], rbx
mov rdi, r13
mov qword [rsp + 0x68], r13
mov r15, r13
mov qword [rsp + 0x78], r13
test r12, r12
je 0x14020606b
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14020606b
mov rdi, r12
xor esi, esi
mov rdx, rdi
mov qword [rbp - 0x48], rsi
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], si
call fcn.140055574
cmp r15, rbx
je 0x14020600b
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rbx + 0x10], xmm1
add rbx, 0x20
mov qword [rbp - 0x48], rsi
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], si
jmp 0x140206026
lea r8, [rbp - 0x58]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1400b0a24
mov r15, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140055f70
mov edx, dword [rsp + 0x50]
inc r13
add r13, r14
lea rdi, [r12 + r13*2]
test rdi, rdi
jne 0x140206047
mov r14, rsi
jmp 0x140206059
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
nop dword [rax + rax]
mov r14, rax
test r14, r14
jne 0x140205fb8
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rbp - 0x80]
mov rax, qword [rbp - 0x78]
lea rcx, [rsp + 0x68]
xor r12d, r12d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov byte [rax], r12b
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsp + 0x78], r12
call fcn.14005e188
jmp 0x140205f65
mov rdx, r14
mov rcx, rsi
call fcn.140093630
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1402060bf
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rax, rsi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140356560
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret