Function at 0x1400a1d10
Capabilities:
Query or enumerate registry value

Disassembly:
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x28], al
jmp 0x1400a1d10
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
lea rax, [rsp + 0x30]
mov rdx, qword [rcx]
mov edi, r9d
mov rbx, r8
mov qword [rsp + 0x20], rax
mov rsi, rcx
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400a1da2
mov rcx, qword [0x1402daa50]
lea rax, [0x1402daa50]
cmp rcx, rax
je 0x1400a1d98
test dword [rcx + 0x44], 0x200000
je 0x1400a1d98
cmp byte [rcx + 0x41], 3
jb 0x1400a1d98
mov r9, qword [rsi]
lea r8, [0x140262768]
mov rcx, qword [rcx + 0x38]
mov edx, 0xa
call fcn.140033550
mov eax, 0x6e
jmp 0x1400a1fa0
mov rdx, qword [rsi + 8]
lea r9, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400a1e1b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x1402daa50]
lea rax, [0x1402daa50]
cmp rcx, rax
je 0x1400a1e11
test dword [rcx + 0x44], 0x200000
je 0x1400a1e11
cmp byte [rcx + 0x41], 5
jb 0x1400a1e11
mov r9, qword [rsi + 8]
lea r8, [0x140262768]
mov rcx, qword [rcx + 0x38]
mov edx, VariantTimeToDosDateTime
call fcn.140033550
mov eax, 0x490
jmp 0x1400a1fa0
cmp byte [rsp + 0x90], 0
je 0x1400a1e80
cmp dword [rbx], edi
je 0x1400a1ee1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x1402daa50]
lea rax, [0x1402daa50]
cmp rcx, rax
je 0x1400a1e76
test dword [rcx + 0x44], 0x200000
je 0x1400a1e76
cmp byte [rcx + 0x41], 3
jb 0x1400a1e76
mov r9d, dword [rbx]
lea r8, [0x140262768]
mov rcx, qword [rcx + 0x38]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rsp + 0x20], edi
call fcn.1400256c0
mov eax, 0x18
jmp 0x1400a1fa0
cmp dword [rbx], edi
jbe 0x1400a1ee1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x1402daa50]
lea rax, [0x1402daa50]
cmp rcx, rax
je 0x1400a1ed7
test dword [rcx + 0x44], 0x200000
je 0x1400a1ed7
cmp byte [rcx + 0x41], 3
jb 0x1400a1ed7
lfence
mov rcx, qword [0x1402daa50]
lea r8, [0x140262768]
mov r9d, dword [rbx]
mov edx, 0xd
mov dword [rsp + 0x20], edi
mov rcx, qword [rcx + 0x38]
call fcn.1400256c0
mov eax, 0x7a
jmp 0x1400a1fa0
cmp dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
je 0x1400a1f31
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x1402daa50]
lea rax, [0x1402daa50]
cmp rcx, rax
je 0x1400a1f2a
test dword [rcx + 0x44], 0x200000
je 0x1400a1f2a
cmp byte [rcx + 0x41], 3
jb 0x1400a1f2a
mov rcx, qword [rcx + 0x38]
lea r8, [0x140262768]
mov edx, 0xe
call fcn.140024250
mov eax, 0x5b6
jmp 0x1400a1fa0
mov rdx, qword [rsi + 8]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400a1f98
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x1402daa50]
lea rax, [0x1402daa50]
cmp rcx, rax
je 0x1400a1f91
test dword [rcx + 0x44], 0x200000
je 0x1400a1f91
cmp byte [rcx + 0x41], 3
jb 0x1400a1f91
mov rcx, qword [rcx + 0x38]
lea r8, [0x140262768]
mov edx, 0xf
call fcn.140024250
mov eax, 0x1e
jmp 0x1400a1fa0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140154660
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret