Function at 0x1400a0720
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0xb8], 0xfffffffffffffffe
cmp dword [0x14012ea10], 1
je 0x1400a074c
xor eax, eax
jmp 0x1400a0b1a
xor eax, eax
test eax, eax
jne 0x1400a073c
cmp qword [rsp + 0x100], 0
jne 0x1400a078c
cmp qword [rsp + 0x100], 0
je 0x1400a0775
mov dword [rsp + 0xc0], 1
jmp 0x1400a0780
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
jmp 0x1400a0b1a
xor eax, eax
test eax, eax
jne 0x1400a0752
mov rax, qword [rsp + 0x100]
movzx eax, word [rax]
test eax, eax
jne 0x1400a07d4
mov rax, qword [rsp + 0x100]
movzx eax, word [rax]
test eax, eax
je 0x1400a07bd
mov dword [rsp + 0xc4], 1
jmp 0x1400a07c8
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
jmp 0x1400a0b1a
xor eax, eax
test eax, eax
jne 0x1400a0792
xor eax, eax
test eax, eax
jne 0x1400a0752
call fcn.14009b520
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400330a0
nop
lea r8, [0x1400f4fdc]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.1400a3ee0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0xa8]
call fcn.1400a3ee0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.140033150
nop
lea rcx, [rsp + 0xa8]
call fcn.140021400
nop
lea rcx, [rsp + 0xa0]
call fcn.140021400
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x60]
call fcn.1400a3f90
mov rdx, rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
je 0x1400a0937
cmp dword [rsp + 0x90], 0
jne 0x1400a0908
mov dword [rsp + 0xe8], 1
jmp 0x1400a0913
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0xb0], eax
lea rcx, [rsp + 0x60]
call fcn.140021400
mov eax, dword [rsp + 0xb0]
jmp 0x1400a0b1a
xor eax, eax
test eax, eax
jne 0x1400a08e7
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x68], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x50], 8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400f5498]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x1400a0a0f
mov ecx, dword [rsp + 0x74]
mov eax, dword [rsp + 0x6c]
sub eax, ecx
mov eax, eax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
shl rax, 0x20
mov qword [rsp + 0x98], rax
mov ecx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x68]
sub eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x98]
add rax, rcx
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x78], 0
cmp qword [rsp + 0x98], 0x47868c00
ja 0x1400a0a30
cmp qword [rsp + 0x98], 0
jne 0x1400a0a7e
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, str.Ticks
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x78], 0
jmp 0x1400a0aca
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400f54b8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x90], eax
mov ecx, dword [rsp + 0x108]
mov eax, dword [rsp + 0x78]
add eax, ecx
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1400f54c8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0xb4], eax
lea rcx, [rsp + 0x60]
call fcn.140021400
mov eax, dword [rsp + 0xb4]
add rsp, 0xf8
ret