Function at 0x14004e488
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r13
push r14
sub rsp, 0xd0
mov rdi, rcx
lea rcx, [rsp + 0x50]
xor r14d, r14d
mov rbp, r8
mov r13, rdx
mov qword [rsp + 0x38], r14
call fcn.140001df0
lea rcx, [rsp + 0x70]
call fcn.140001df0
lea rcx, [rsp + 0x90]
call fcn.140001df0
lea rdx, [0x1400956d0]
mov rcx, rbp
call fcn.140017fc0
mov rax, qword [r13 + 8]
mov rcx, qword [rax]
call fcn.1400174a4
lea rcx, [rsp + 0xb0]
mov rdx, rax
call fcn.140001d54
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov rdx, rax
lea rax, [rsp + 0x90]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14004e178
mov rax, qword [rsp + 0x78]
mov r11, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x88]
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.14004e2b8
cmp al, r14b
jne 0x14004e5ba
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
cmp byte [rcx + 0x19], r14b
je 0x14004e592
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x30]
jmp 0x14004e596
mov rdx, qword [rcx + 0x10]
mov dword [rdx + 0x1c], 2
cmp byte [rcx + 0x19], r14b
je 0x14004e5ad
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004e5b1
mov rcx, qword [rcx + 0x10]
mov byte [rcx + 0x20], r14b
jmp 0x14004eb7d
cmp qword [rsp + 0x58], r14
je 0x14004e64a
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
cmp eax, r14d
je 0x14004e643
mov rcx, qword [rdi]
movsxd rdx, dword [rcx + 4]
add rdx, rdi
cmp byte [rdx + 0x19], r14b
je 0x14004e5f9
mov rcx, qword [rdx + 0x10]
mov r8, qword [rcx + 0x30]
jmp 0x14004e5fd
mov r8, qword [rdx + 0x10]
mov dword [r8 + 0x24], eax
cmp byte [rdx + 0x19], r14b
je 0x14004e611
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004e615
mov rcx, qword [rdx + 0x10]
mov byte [rcx + 0x28], r14b
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
cmp byte [rcx + 0x19], r14b
je 0x14004e633
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x30]
jmp 0x14004e637
mov rdx, qword [rcx + 0x10]
mov dword [rdx + 0x1c], 3
jmp 0x14004e59d
mov rcx, qword [rsp + 0x38]
jmp 0x14004e64f
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 0x14004e6f1
mov rcx, qword [rdi]
movsxd rdx, dword [rcx + 4]
add rdx, rdi
cmp byte [rdx + 0x19], r14b
je 0x14004e695
mov rcx, qword [rdx + 0x10]
mov r8, qword [rcx + 0x30]
jmp 0x14004e699
mov r8, qword [rdx + 0x10]
mov dword [r8 + 0x24], eax
cmp byte [rdx + 0x19], r14b
je 0x14004e6ad
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004e6b1
mov rcx, qword [rdx + 0x10]
mov byte [rcx + 0x28], r14b
cmp qword [rsp + 0x58], r14
je 0x14004e6c7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
cmp byte [rcx + 0x19], r14b
je 0x14004e6e1
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x30]
jmp 0x14004e6e5
mov rdx, qword [rcx + 0x10]
mov dword [rdx + 0x1c], 1
jmp 0x14004e59d
mov rax, qword [r13 + 8]
mov rcx, qword [rax + 8]
call fcn.1400174a4
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x108]
mov rdx, rax
lea rax, [rsp + 0xf8]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r14d
je 0x14004e793
mov rcx, qword [rdi]
movsxd rdx, dword [rcx + 4]
add rdx, rdi
cmp byte [rdx + 0x19], r14b
je 0x14004e748
mov rcx, qword [rdx + 0x10]
mov r8, qword [rcx + 0x30]
jmp 0x14004e74c
mov r8, qword [rdx + 0x10]
mov dword [r8 + 0x24], eax
cmp byte [rdx + 0x19], r14b
je 0x14004e760
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004e764
mov rcx, qword [rdx + 0x10]
mov byte [rcx + 0x28], r14b
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
cmp byte [rcx + 0x19], r14b
je 0x14004e782
mov rax, qword [rcx + 0x10]
mov r8, qword [rax + 0x30]
jmp 0x14004e786
mov r8, qword [rcx + 0x10]
or rdx, 0xffffffffffffffff
mov dword [r8 + 0x1c], edx
jmp 0x14004eb48
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
cmp byte [rcx + 0x19], r14b
je 0x14004e7ad
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x30]
jmp 0x14004e7b1
mov rdx, qword [rcx + 0x10]
mov eax, dword [rsp + 0x108]
mov dword [rdx + 0x24], eax
cmp byte [rcx + 0x19], r14b
je 0x14004e7cb
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004e7cf
mov rcx, qword [rcx + 0x10]
mov byte [rcx + 0x28], r14b
mov eax, dword [rsp + 0x108]
cmp eax, r14d
jbe 0x14004eb23
cmp eax, 2
jbe 0x14004ea1a
cmp eax, 3
je 0x14004e946
cmp eax, 4
je 0x14004e8e8
cmp eax, 7
jne 0x14004eb23
mov ecx, dword [rsp + 0xf8]
mov eax, 2
shr rcx, 1
add rcx, 2
mul rcx
mov rdx, 0xffffffffffffffff
cmovo rax, rdx
mov rcx, rax
call fcn.140075b98
mov rcx, qword [r13 + 8]
mov rcx, qword [rcx + 8]
mov rbx, rax
call fcn.1400174a4
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rax
lea rax, [rsp + 0xf8]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, eax
cmp eax, r14d
jne 0x14004eaa2
mov eax, dword [rsp + 0xf8]
shr eax, 1
mov dword [rsp + 0xf8], eax
mov word [rbx + rax*2], r14w
mov edx, dword [rsp + 0xf8]
cmp edx, 1
jbe 0x14004ea95
lea ecx, [rdx - 1]
mov r8d, 0xa
cmp word [rbx + rcx*2], r14w
cmove edx, ecx
mov ecx, r14d
mov dword [rsp + 0xf8], edx
cmp edx, r14d
jbe 0x14004e8d5
mov rax, rbx
cmp word [rax], r14w
jne 0x14004e8cb
mov word [rax], r8w
mov edx, dword [rsp + 0xf8]
inc ecx
add rax, 2
cmp ecx, edx
jb 0x14004e8ba
lea eax, [rcx - 1]
cmp word [rbx + rax*2], r8w
jne 0x14004ea95
jmp 0x14004ea90
mov rax, qword [r13 + 8]
mov dword [rsp + 0xf8], 4
mov rcx, qword [rax + 8]
call fcn.1400174a4
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rax
lea rax, [rsp + 0xf8]
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 xmm1, xmm1
mov rcx, rbp
cvtsi2sd xmm1, r11
call fcn.140017f90
jmp 0x14004eb60
mov edx, dword [rsp + 0xf8]
mov rcx, rbp
call fcn.140017dd4
mov rcx, qword [r13 + 8]
mov rcx, qword [rcx + 8]
mov rbx, rax
call fcn.1400174a4
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rax
lea rax, [rsp + 0xf8]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r14d
je 0x14004eb60
mov rcx, qword [rdi]
movsxd rdx, dword [rcx + 4]
add rdx, rdi
cmp byte [rdx + 0x19], r14b
je 0x14004e9ae
mov rcx, qword [rdx + 0x10]
mov r8, qword [rcx + 0x30]
jmp 0x14004e9b2
mov r8, qword [rdx + 0x10]
mov dword [r8 + 0x24], eax
cmp byte [rdx + 0x19], r14b
je 0x14004e9c6
mov rax, qword [rdx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004e9ca
mov rcx, qword [rdx + 0x10]
mov byte [rcx + 0x28], r14b
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
cmp byte [rcx + 0x19], r14b
je 0x14004e9e8
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x30]
jmp 0x14004e9ec
mov rdx, qword [rcx + 0x10]
mov dword [rdx + 0x1c], 0xfffffffe
cmp byte [rcx + 0x19], r14b
je 0x14004ea03
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004ea07
mov rcx, qword [rcx + 0x10]
mov byte [rcx + 0x20], r14b
xor edx, edx
mov rcx, rbp
call fcn.140017da8
jmp 0x14004eb60
mov ecx, dword [rsp + 0xf8]
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
mov rdx, 0xffffffffffffffff
cmovo rax, rdx
mov rcx, rax
call fcn.140075b98
mov rcx, qword [r13 + 8]
mov rcx, qword [rcx + 8]
mov rbx, rax
call fcn.1400174a4
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rax
lea rax, [rsp + 0xf8]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, eax
cmp eax, r14d
jne 0x14004eaa2
mov eax, dword [rsp + 0xf8]
shr eax, 1
mov dword [rsp + 0xf8], eax
mov word [rbx + rax*2], r14w
mov rdx, rbx
mov rcx, rbp
call fcn.140017fc0
jmp 0x14004eb19
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
cmp byte [rcx + 0x19], r14b
je 0x14004eabc
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x30]
jmp 0x14004eac0
mov rdx, qword [rcx + 0x10]
mov dword [rdx + 0x24], r11d
cmp byte [rcx + 0x19], r14b
je 0x14004ead4
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004ead8
mov rcx, qword [rcx + 0x10]
mov byte [rcx + 0x28], r14b
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
cmp byte [rcx + 0x19], r14b
je 0x14004eaf6
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x30]
jmp 0x14004eafa
mov rdx, qword [rcx + 0x10]
mov dword [rdx + 0x1c], 0xfffffffe
cmp byte [rcx + 0x19], r14b
je 0x14004eb11
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004eb15
mov rcx, qword [rcx + 0x10]
mov byte [rcx + 0x20], r14b
mov rcx, rbx
call fcn.140075884
jmp 0x14004eb60
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
cmp byte [rcx + 0x19], r14b
je 0x14004eb3d
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x30]
jmp 0x14004eb41
mov rdx, qword [rcx + 0x10]
mov dword [rdx + 0x1c], 0xfffffffe
cmp byte [rcx + 0x19], r14b
je 0x14004eb58
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x30]
jmp 0x14004eb5c
mov rcx, qword [rcx + 0x10]
mov byte [rcx + 0x20], r14b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x58], r14
je 0x14004eb7d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x90]
call fcn.140001e50
lea rcx, [rsp + 0x70]
call fcn.140001e50
lea rcx, [rsp + 0x50]
call fcn.140001e50
lea r11, [rsp + 0xd0]
xor eax, eax
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop rdi
ret