Function at 0x1400a87c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x510]
sub rsp, 0x610
mov rax, qword [0x140191630]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov rdi, rdx
mov qword [rsp + 0x58], rdx
mov rsi, rcx
lea rdx, str.SoftwareWinRAR
mov rcx, rdi
mov r8d, 0xf
call fcn.140099f78
test eax, eax
je 0x1400a8813
xor al, al
jmp 0x1400a8a4a
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a880c
mov ecx, 0x100000
call fcn.14012688c
mov rbx, rax
test rax, rax
jne 0x1400a8856
lea rcx, [0x1401d4778]
call fcn.140069d28
jmp 0x1400a880c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
and dword [rsp + 0x4c], 0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r8, [rbp + 0x100]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x200
mov dword [rsp + 0x48], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400a89ac
lea rax, [rdi + 0x1e]
mov qword [rsp + 0x60], rax
lea rcx, [rax + 2]
cmp word [rax], 0x5c
mov rdi, rcx
cmovne rdi, rax
mov eax, dword [rsp + 0x44]
cmp eax, 3
jne 0x1400a88ee
mov eax, dword [rsp + 0x48]
lea r8, [rbp + 0x100]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.1400a739c
mov eax, dword [rsp + 0x44]
cmp eax, 4
jne 0x1400a890c
mov r9d, dword [rbx]
lea r8, [rbp + 0x100]
mov rdx, rdi
mov rcx, rsi
call fcn.1400a7460
mov eax, dword [rsp + 0x44]
cmp eax, 0xb
jne 0x1400a892a
mov r9, qword [rbx]
lea r8, [rbp + 0x100]
mov rdx, rdi
mov rcx, rsi
call fcn.1400a7460
mov eax, dword [rsp + 0x44]
cmp eax, 1
jne 0x1400a8944
mov r9, rbx
lea r8, [rbp + 0x100]
mov rdx, rdi
mov rcx, rsi
call fcn.1400a732c
mov eax, dword [rsp + 0x4c]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], rcx
lea r9, [rsp + 0x40]
inc eax
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x28], rcx
lea r8, [rbp + 0x100]
mov rcx, qword [rsp + 0x50]
mov edx, eax
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x200
mov dword [rsp + 0x48], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
mov rax, qword [rsp + 0x60]
lea rcx, [rax + 2]
je 0x1400a88b8
mov rdi, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140126884
xor ecx, ecx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov ebx, ecx
mov qword [rsp + 0x30], rcx
xor edx, edx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
jmp 0x1400a8a1d
mov r9d, 0x200
lea r8, [rbp + 0x100]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140080ac8
lea rdx, [rbp + 0x100]
mov rcx, rsi
call fcn.1400a87c0
lea rax, [rsp + 0x58]
inc ebx
mov qword [rsp + 0x38], rax
mov edx, ebx
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400a89d5
mov rcx, qword [rsp + 0x50]
call fcn.1400a68dc
mov al, 1
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.140100ed0
mov rbx, qword [rsp + 0x640]
add rsp, 0x610
pop rdi
pop rsi
pop rbp
ret