Function at 0x140011f20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x140021020]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, r9
mov rdi, r8
mov rax, rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], rbx
mov r14, qword [rsp + 0xc0]
xor bpl, bpl
test rdx, rdx
je 0x140012117
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Predictors
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140012117
cmp qword [rdi + 0x18], 0x10
jb 0x140011fa1
mov rdx, qword [rdi]
jmp 0x140011fa4
mov rdx, rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001210b
cmp qword [rbx + 0x18], 0x10
jb 0x140011fd6
mov rdx, qword [rbx]
jmp 0x140011fd9
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140012100
mov bpl, 1
mov eax, dword [rsp + 0x34]
dec eax
je 0x140012083
cmp eax, 3
jne 0x140012100
cmp qword [rbx + 0x18], 0x10
jb 0x140012027
mov rdx, qword [rbx]
jmp 0x14001202a
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, 0xa
mov rcx, r14
call fcn.140008520
cmp qword [r14 + 0x18], 0x10
jb 0x140012068
mov r14, qword [r14]
mov r9d, 0xa
mov r8d, r9d
mov rdx, r14
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.MSVCR110.dll__itoa_s]
jmp 0x140012100
mov ecx, dword [rsp + 0x30]
inc ecx
call fcn.140014534
mov rsi, rax
mov r8d, dword [rsp + 0x30]
inc r8d
xor edx, edx
mov rcx, rax
call sub.MSVCR110.dll_memset
cmp qword [rbx + 0x18], 0x10
jb 0x1400120af
mov rdx, qword [rbx]
jmp 0x1400120b2
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [rsi], 0
jne 0x1400120de
xor r8d, r8d
jmp 0x1400120ec
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], 0
jne 0x1400120e2
mov rdx, rsi
mov rcx, r14
call fcn.140008c70
mov rcx, rsi
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rdi + 0x18], 0x10
jb 0x140012127
mov rcx, qword [rdi]
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], 0
mov byte [rdi], 0
cmp qword [rbx + 0x18], 0x10
jb 0x14001214a
mov rcx, qword [rbx]
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
movzx eax, bpl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140014550
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret