Function at 0x140006470
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x460
mov rax, qword [0x14000f020]
xor rax, rsp
mov qword [rsp + 0x458], rax
mov qword [rsp + 0x448], 0
mov dword [rsp + 0x454], 0
lea rax, [rsp + 0x448]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SoftwareAhnLabACA
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x454], eax
mov dword [rsp + 0x444], 4
mov dword [rsp + 0x450], 0
mov dword [rsp + 0x440], 1
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x3fe
rep stosb byte [rdi], al
cmp dword [rsp + 0x454], 0
jne 0x140006781
mov rcx, qword [rsp + 0x470]
add rcx, 0x14
lea rax, [rsp + 0x444]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DebugLog
mov rcx, qword [rsp + 0x448]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x454], eax
cmp dword [rsp + 0x454], 0
jne 0x140006764
mov rax, qword [rsp + 0x470]
cmp dword [rax + 0x14], 1
jne 0x140006753
mov rcx, qword [rsp + 0x470]
add rcx, 0x10
lea rax, [rsp + 0x444]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DebugLogType
mov rcx, qword [rsp + 0x448]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x454], eax
mov rcx, qword [rsp + 0x470]
add rcx, 0xc
lea rax, [rsp + 0x444]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DebugLogMaxSize
mov rcx, qword [rsp + 0x448]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x454], eax
mov rcx, qword [rsp + 0x470]
add rcx, 0x18
lea rax, [rsp + 0x444]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DebugScanLog
mov rcx, qword [rsp + 0x448]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x454], eax
lea rax, [rsp + 0x450]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x440]
xor r8d, r8d
lea rdx, [0x14000b198]
mov rcx, qword [rsp + 0x448]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x454], eax
cmp dword [rsp + 0x454], 0
jne 0x14000670e
lea rax, [rsp + 0x450]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x440]
xor r8d, r8d
lea rdx, str.DebugLogPath
mov rcx, qword [rsp + 0x448]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x454], eax
cmp dword [rsp + 0x454], 0
je 0x1400066e6
lea r8, [0x14000b1d8]
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140002080
jmp 0x14000670c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jg 0x14000670c
lea r8, [0x14000b1e0]
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140002080
jmp 0x140006724
lea r8, [0x14000b1e8]
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140002080
mov rcx, qword [rsp + 0x470]
add rcx, 0x230
lea r8, [rsp + 0x40]
mov edx, 0x200
call fcn.140002080
mov rdx, qword [rsp + 0x470]
mov dword [rdx + 8], 1
jmp 0x140006762
mov rax, qword [rsp + 0x470]
mov dword [rax + 0x14], 0
jmp 0x140006773
mov rax, qword [rsp + 0x470]
mov dword [rax + 0x14], 0
mov rcx, qword [rsp + 0x448]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x458]
xor rcx, rsp
call fcn.140008440
add rsp, 0x460
pop rdi
ret