Function at 0x14007e830
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xe0
mov rdi, rcx
lea rcx, [rsp + 0x70]
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
mov rsi, r8
mov r13, rdx
mov qword [rsp + 0x38], r14
call fcn.14000fd50
lea rcx, [rsp + 0x50]
call fcn.14000fd50
lea rcx, [rsp + 0x90]
call fcn.14000fd50
lea rdx, [0x14009b6c0]
mov rcx, rsi
call fcn.140012d80
mov rax, qword [r13 + 8]
mov rcx, qword [rax]
call fcn.140062190
lea rcx, [rsp + 0xb0]
mov rdx, rax
call fcn.140001d30
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov rdx, rax
lea rax, [rsp + 0x90]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140075290
mov rax, qword [rsp + 0x58]
mov r11, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x68]
lea r9, [rsp + 0x44]
inc dword [rax]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xb0]
mov rcx, rdi
mov qword [rsp + 0xb0], r11
mov qword [rsp + 0xc8], rax
call fcn.1400750e0
cmp al, r14b
jne 0x14007e939
lea edx, [r14 + 2]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
xor r8d, r8d
call fcn.14000fca0
jmp 0x14007ed5f
lea rcx, [rsp + 0x70]
call fcn.140042380
mov r12b, al
cmp al, r14b
jne 0x14007e98e
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
cmp eax, r14d
je 0x14007e987
mov rcx, qword [rdi]
xor r8d, r8d
mov edx, eax
movsxd rcx, dword [rcx + 4]
add rcx, rdi
call fcn.14000fc40
mov r11, qword [rdi]
mov edx, 3
movsxd rcx, dword [r11 + 4]
jmp 0x14007e929
mov rcx, qword [rsp + 0x38]
jmp 0x14007e993
mov rcx, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x90]
lea rax, [rsp + 0x30]
or r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
je 0x14007e9ed
mov rcx, qword [rdi]
xor r8d, r8d
mov edx, eax
movsxd rcx, dword [rcx + 4]
add rcx, rdi
call fcn.14000fc40
cmp r12b, r14b
jne 0x14007e9e3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 1
jmp 0x14007e922
mov rax, qword [r13 + 8]
mov rcx, qword [rax + 8]
call fcn.140062190
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x128]
mov rdx, rax
lea rax, [rsp + 0x118]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor r8d, r8d
cmp eax, r14d
je 0x14007ea4e
mov rcx, qword [rdi]
mov edx, eax
movsxd rcx, dword [rcx + 4]
add rcx, rdi
call fcn.14000fc40
mov r11, qword [rdi]
or rdx, 0xffffffffffffffff
movsxd rcx, dword [r11 + 4]
jmp 0x14007ed39
mov rax, qword [rdi]
mov edx, dword [rsp + 0x128]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call fcn.14000fc40
mov r11d, dword [rsp + 0x128]
cmp r11d, r14d
jbe 0x14007ed2d
cmp r11d, 2
jbe 0x14007ec74
cmp r11d, 3
je 0x14007ebe5
cmp r11d, 4
je 0x14007eb7c
cmp r11d, 7
jne 0x14007ed2d
mov ecx, dword [rsp + 0x118]
lea eax, [r11 - 5]
shr rcx, 1
add rcx, 2
mul rcx
mov rdx, 0xffffffffffffffff
cmovo rax, rdx
mov rcx, rax
call fcn.140016ed8
mov rcx, qword [r13 + 8]
mov rcx, qword [rcx + 8]
mov rbx, rax
call fcn.140062190
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rax
lea rax, [rsp + 0x118]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
cmp eax, r14d
jne 0x14007ecfb
mov eax, dword [rsp + 0x118]
shr eax, 1
mov dword [rsp + 0x118], eax
mov word [rbx + rax*2], r14w
mov edx, dword [rsp + 0x118]
cmp edx, 1
jbe 0x14007ecee
lea ecx, [rdx - 1]
mov r8d, 0xa
cmp word [rbx + rcx*2], r14w
cmove edx, ecx
mov ecx, r14d
mov dword [rsp + 0x118], edx
cmp edx, r14d
jbe 0x14007eb69
mov rax, rbx
cmp word [rax], r14w
jne 0x14007eb5f
mov word [rax], r8w
mov edx, dword [rsp + 0x118]
inc ecx
add rax, 2
cmp ecx, edx
jb 0x14007eb4e
lea eax, [rcx - 1]
cmp word [rbx + rax*2], r8w
jne 0x14007ecee
jmp 0x14007ece9
mov rax, qword [r13 + 8]
mov dword [rsp + 0x118], 4
mov rcx, qword [rax + 8]
call fcn.140062190
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rax
lea rax, [rsp + 0x118]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0x40]
pxor xmm6, xmm6
mov rcx, rsi
cvtsi2sd xmm6, r11
call fcn.140007a40
mov dword [rsi + 8], 3
movsd qword [rsi], xmm6
jmp 0x14007ed44
mov edx, dword [rsp + 0x118]
mov rcx, rsi
call fcn.140061f10
mov rcx, qword [r13 + 8]
mov rcx, qword [rcx + 8]
mov rbx, rax
call fcn.140062190
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rax
lea rax, [rsp + 0x118]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r14d
je 0x14007ed44
mov rcx, qword [rdi]
xor r8d, r8d
mov edx, eax
movsxd rcx, dword [rcx + 4]
add rcx, rdi
call fcn.14000fc40
mov r11, qword [rdi]
xor r8d, r8d
movsxd rcx, dword [r11 + 4]
lea edx, [r8 - 2]
add rcx, rdi
call fcn.14000fca0
mov rcx, rsi
call fcn.140007a40
mov dword [rsi + 8], 1
mov dword [rsi], r14d
jmp 0x14007ed44
mov ecx, dword [rsp + 0x118]
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
mov rdx, 0xffffffffffffffff
cmovo rax, rdx
mov rcx, rax
call fcn.140016ed8
mov rcx, qword [r13 + 8]
mov rcx, qword [rcx + 8]
mov rbx, rax
call fcn.140062190
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rax
lea rax, [rsp + 0x118]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
cmp eax, r14d
jne 0x14007ecfb
mov eax, dword [rsp + 0x118]
shr eax, 1
mov dword [rsp + 0x118], eax
mov word [rbx + rax*2], r14w
mov rdx, rbx
mov rcx, rsi
call fcn.140012d80
jmp 0x14007ed23
mov rax, qword [rdi]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
add rcx, rdi
call fcn.14000fc40
mov r11, qword [rdi]
xor r8d, r8d
movsxd rcx, dword [r11 + 4]
lea edx, [r8 - 2]
add rcx, rdi
call fcn.14000fca0
mov rcx, rbx
call fcn.140016a60
jmp 0x14007ed44
mov rax, qword [rdi]
mov edx, 0xfffffffe
movsxd rcx, dword [rax + 4]
xor r8d, r8d
add rcx, rdi
call fcn.14000fca0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp r12b, r14b
jne 0x14007ed5f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x90]
call fcn.140002610
lea rcx, [rsp + 0x50]
call fcn.140002610
lea rcx, [rsp + 0x70]
call fcn.140002610
lea r11, [rsp + 0xe0]
xor eax, eax
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret