Function at 0x14019adb0
Capabilities:
Query or enumerate registry key
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 - 0x4a8]
sub rsp, 0x5a8
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov rsi, r9
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor eax, eax
mov edi, eax
mov dword [rsp + 0x40], eax
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.140039764
nop
mov r14d, 1
mov dword [rbp - 0x1c], 0x104
mov eax, dword [rbp - 8]
mov rcx, qword [rbp - 0x10]
sub eax, ecx
mov dword [rbp - 0x20], eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x1c]
lea r8, [rbp + 0x280]
mov edx, r15d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x14019af09
mov dword [rbp - 0x1c], 0x104
mov eax, dword [rbp - 0x20]
add eax, eax
mov dword [rbp - 0x20], eax
mov ecx, eax
mov r9, qword [rbp - 8]
mov r8, r9
mov rdx, qword [rbp - 0x10]
sub r8, rdx
cmp rcx, r8
jae 0x14019ae99
add rax, rdx
mov qword [rbp - 8], rax
jmp 0x14019aed4
jbe 0x14019aed4
mov rax, qword [rbp]
sub rax, rdx
cmp rcx, rax
jbe 0x14019aeb5
mov rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.140084268
jmp 0x14019aed0
sub rcx, r8
lea rbx, [r9 + rcx]
mov rdx, rbx
mov rcx, r9
call fcn.140013100
mov qword [rbp - 8], rbx
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x10]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x1c]
lea r8, [rbp + 0x280]
mov edx, r15d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor ecx, ecx
test eax, eax
jne 0x14019b11a
lea r8, [0x14039f0d0]
mov rdx, r13
lea rcx, [rbp - 0x68]
call fcn.14008b7cc
nop
lea r8, [rbp + 0x280]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.14006e244
nop
lea rcx, [rbp - 0x68]
call fcn.14000dd24
lea r8, [rbp + 8]
lea rdx, [rbp - 0x70]
lea rcx, [rbx + 8]
call fcn.140078194
mov rcx, qword [rbx + 8]
cmp qword [rax], rcx
jne 0x14019b104
lea rcx, [rbp + 0x30]
call fcn.1401b04a8
nop
mov eax, dword [rbp - 0x28]
sub eax, 1
je 0x14019b013
cmp eax, 3
jne 0x14019b0fb
mov rbx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14019af8e
mov rbx, qword [rsi]
mov rax, qword [rbp - 0x10]
mov r8d, dword [rax]
lea rdx, [0x14036b4f4]
lea rcx, [rsp + 0x70]
call fcn.1401ae50c
or edi, 0x10
mov dword [rsp + 0x40], edi
and edi, 0xffffffef
mov dword [rsp + 0x40], edi
or edi, 8
mov dword [rsp + 0x40], edi
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r8, qword [rsp + 0x70]
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov r9, rbx
lea rcx, [0x1403984b0]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and edi, 0xfffffff7
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x70]
call fcn.14000dd24
mov r9, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14019b007
mov r9, qword [rsi]
lea r8, [0x14037aeb0]
jmp 0x14019b0df
mov r9, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14019b020
mov r9, qword [rsi]
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
xor r8d, r8d
lea rcx, [0x1403984b0]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rbx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14019b04b
mov rbx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], ax
jne 0x14019b067
lea rcx, [rsp + 0x50]
call fcn.140013184
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.140173a28
nop
cmp qword [rax + 0x18], 7
jbe 0x14019b095
mov rax, qword [rax]
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov r9, rbx
mov r8, rax
lea rcx, [0x1403984b0]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
lea rcx, [rbp - 0x48]
call fcn.14000dd24
nop
lea rcx, [rsp + 0x50]
call fcn.14000dd24
mov r9, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14019b0d8
mov r9, qword [rsi]
lea r8, str.string
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
lea rcx, str.WinMerge.TypeInfo
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
lea rcx, [rbp + 0x48]
call fcn.14000dd24
add r15d, r14d
lea rcx, [rbp + 8]
call fcn.14000dd24
mov rbx, qword [rsp + 0x48]
jmp 0x14019ae19
cmp eax, 0x103
jne 0x14019b2ba
mov r15d, ecx
mov dword [rbp - 0x18], 0x104
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x18]
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14019b2ac
xor eax, eax
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x70]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
test eax, eax
jne 0x14019b26a
cmp qword [r13 + 0x10], rcx
jne 0x14019b1cf
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rcx
lea rax, [rbp + 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], cx
jne 0x14019b1ad
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140013184
lea rax, [rsp + 0x50]
or edi, r14d
jmp 0x14019b1fe
lea r8, [0x140394f20]
mov rdx, r13
lea rcx, [rbp - 0x68]
call fcn.14008b7cc
nop
or edi, 2
mov dword [rsp + 0x40], edi
lea r8, [rbp + 0x70]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14006e244
nop
or edi, 4
mov dword [rsp + 0x40], edi
mov r9, rsi
mov r8, rax
mov rdx, qword [rbp - 0x28]
mov rcx, rbx
call fcn.14019adb0
mov ebx, eax
test dil, 4
je 0x14019b22d
and edi, 0xfffffffb
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x48]
call fcn.14000dd24
nop
test dil, 2
je 0x14019b244
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x68]
call fcn.14000dd24
nop
test r14b, dil
je 0x14019b25a
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x50]
call fcn.14000dd24
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
test ebx, ebx
jne 0x14019b2bd
add r15d, r14d
mov dword [rbp - 0x18], 0x104
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x18]
lea r8, [rbp + 0x70]
mov edx, r15d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor ebx, ebx
test eax, eax
jne 0x14019b2ae
mov rbx, qword [rsp + 0x48]
jmp 0x14019b15e
xor ebx, ebx
cmp eax, 0x103
jne 0x14019b2c0
mov r14d, ebx
jmp 0x14019b2c2
mov ebx, r14d
mov r14d, ebx
xor ebx, ebx
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14019b304
mov rdx, qword [rbp]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019b2f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019b32a
call fcn.14000e3f0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
mov qword [rbp], rbx
mov eax, r14d
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1402194b0
add rsp, 0x5a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140287130
int3