Function at 0x140031400
Capabilities:
Hash data using fnv
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xe0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, r9
mov rbx, r8
mov r9d, edx
mov dword [rbp + 0x17], r9d
mov r14, qword [rbp + 0x7f]
cmp qword [r8 + 0x18], 8
jb 0x14003144d
mov rbx, qword [r8]
movzx edx, r9b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x18]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x19]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x1a]
xor rdx, rax
imul rdx, rcx
and rdx, qword [0x1401bd6b0]
mov rcx, rdx
add rcx, rcx
mov r8, qword [0x1401bd698]
mov rcx, qword [r8 + rcx*8]
lea rax, [rdx + rdx]
lea r11, [rax*8 + 8]
mov r10, qword [r8 + rax*8]
mov rdx, qword [0x1401bd688]
nop dword [rax]
cmp r10, rdx
jne 0x1400314ca
mov rax, rdx
jmp 0x1400314d1
mov rax, qword [r11 + r8]
mov rax, qword [rax]
cmp rcx, rax
je 0x1400314ee
cmp r9d, dword [rcx + 0x10]
je 0x1400314e1
mov rcx, qword [rcx]
jmp 0x1400314c0
cmovne rcx, rdx
cmp rcx, rdx
jne 0x140031587
lea rax, [rbp + 0x17]
mov qword [rbp - 0x79], rax
mov rdi, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
lea r9, [0x140137213]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [0x1401bd688]
call fcn.140030710
mov r8, rax
movabs rcx, 0x7fffffffffffffe
mov rdx, qword [0x1401bd690]
sub rcx, rdx
cmp rcx, 1
jae 0x140031550
lea rcx, str.list_T__too_long
call fcn.1400b1774
int3
inc rdx
mov qword [0x1401bd690], rdx
mov qword [rdi + 8], r8
mov rax, qword [rax + 8]
mov qword [rax], r8
mov r9, qword [0x1401bd688]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x79]
lea rcx, [0x1401bd680]
call fcn.140030800
mov rcx, qword [rbp - 0x79]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14003179e
test eax, eax
je 0x1400315f3
mov edx, eax
lea rcx, [rbp - 0x61]
call fcn.14001dc80
nop
mov r8, rax
lea rdx, str.Error_opening_registry_key._Code:
lea rcx, [rbp - 0x39]
call fcn.1400095b0
nop
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.14002e140
lea rdx, [0x1401adeb8]
lea rcx, [rbp - 0x79]
call fcn.1400f2e60
nop
cmp qword [rsi + 0x18], 8
jb 0x1400315ff
mov rdx, qword [rsi]
jmp 0x140031602
mov rdx, rsi
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x14003167c
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea ecx, [rbx - 2]
cmp ecx, 1
jbe 0x14003179e
mov edx, ebx
lea rcx, [rbp - 0x39]
call fcn.14001dc80
nop
mov r8, rax
lea rdx, str.Registry_key_value_query_failed._Error_code:
lea rcx, [rbp - 0x61]
call fcn.1400095b0
nop
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.14002e140
lea rdx, [0x1401adeb8]
lea rcx, [rbp - 0x79]
call fcn.1400f2e60
nop
mov ecx, dword [rbp + 7]
shr rcx, 1
inc rcx
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.1400d1e1c
mov rbx, rax
mov qword [rbp - 0x79], rax
cmp qword [rsi + 0x18], 8
jb 0x1400316b1
mov rsi, qword [rsi]
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea ecx, [rsi - 2]
cmp ecx, 1
jbe 0x140031791
test esi, esi
je 0x14003172b
mov edx, esi
lea rcx, [rbp - 0x39]
call fcn.14001dc80
nop
mov r8, rax
lea rdx, str.Registry_key_value_query_failed._Error_code:
lea rcx, [rbp - 0x19]
call fcn.1400095b0
nop
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.14002e140
lea rdx, [0x1401adeb8]
lea rcx, [rbp - 0x61]
call fcn.1400f2e60
nop
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], 7
mov word [rbp - 0x61], r15w
nop dword [rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140031740
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.140008900
lea rdx, [rbp - 0x61]
mov rcx, r14
call fcn.140014cb0
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x140031780
inc r8
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
call fcn.140007560
nop
test rbx, rbx
je 0x14003178d
mov rcx, rbx
call fcn.1400d1764
mov al, 1
jmp 0x1400317a0
test rbx, rbx
je 0x14003179e
mov rcx, rbx
call fcn.1400d1764
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400d1740
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret