Function at 0x140005080
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140072040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r12, rdx
mov r15, rcx
xor r13d, r13d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140005512
mov r14d, r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax]
test eax, eax
jne 0x140005512
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov ecx, eax
mov eax, 2
mul rcx
mov rbx, rax
mov rax, 0xffffffffffffffff
cmovo rbx, rax
mov rcx, rbx
call fcn.1400497ac
mov rdi, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x50], rdi
test rdi, rdi
je 0x1400054f3
mov ebx, dword [rsp + 0x68]
mov ecx, ebx
call fcn.1400497ac
mov rsi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x48], rsi
test rsi, rsi
je 0x1400054eb
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x64]
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax]
cmp eax, 0x103
je 0x1400054eb
nop dword [rax + rax]
test eax, eax
jne 0x14000548f
cmp dword ds:[rsp + 0x70], 3
jne 0x14000548f
lea rdx, str.Device_
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14000548f
mov r8d, dword [rsp + 0x64]
lea rax, [rdi + r8*2]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
cmp rdi, rax
jne 0x14000524f
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r13w
jmp 0x14000525c
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.1400066a0
nop
mov rax, qword [rsi]
mov qword [rbp - 0x80], rax
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, ds:[rbp - 0x20]
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x50]
call fcn.140046cc0
test al, al
je 0x140005447
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop word [rax + rax]
test eax, eax
jle 0x140005447
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140047380
nop
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rax, qword [rbp + 0x10]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.140004d80
test al, al
jne 0x14000543d
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rdx, qword [rbp + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r13
mov qword [rbp + 8], r13
mov r8, qword [rbp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400066a0
nop
lea rcx, [rbp - 0x10]
call fcn.140004c60
movzx ebx, al
lea rcx, [rbp - 0x10]
call fcn.1400058e0
lea rdx, [rbp + 0x10]
test bl, bl
je 0x1400053cf
call fcn.140047980
nop
test al, al
jne 0x14000543d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140047ee0
nop
lea r11, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r11, qword [rbp - 0x10]
movzx eax, word [rbp - 0x14]
movzx ecx, word [rbp - 0x16]
movzx edx, word [rbp - 0x18]
movzx r10d, word [rbp - 0x1a]
movzx r9d, word [rbp - 0x1e]
movzx r8d, word [rbp - 0x20]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
mov rdx, r11
lea rcx, str.___Executed__Unsigned_file:__hs_at:__04d__02d__02d__02d:_02d:_02d_n
call fcn.140003d60
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x40]
call fcn.140006140
nop
jmp 0x140005433
lea rcx, [rbp - 0x10]
call fcn.140047ee0
nop
lea r11, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r11, qword [rbp - 0x10]
movzx eax, word [rbp - 0x14]
movzx ecx, word [rbp - 0x16]
movzx edx, word [rbp - 0x18]
movzx r10d, word [rbp - 0x1a]
movzx r9d, word [rbp - 0x1e]
movzx r8d, word [rbp - 0x20]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
mov rdx, r11
lea rcx, str.___Executed__Deleted_file:__hs._File_was_executed_at:__04d__02d__02d__02d:_02d:_02d_n
call fcn.140003d60
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x30]
call fcn.140006140
nop
lea rcx, [rbp - 0x10]
call fcn.140005960
nop
lea rcx, [rbp + 0x10]
call fcn.1400058e0
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14000548f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000548a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005539
call fcn.140049760
inc r14d
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x64]
mov r8, rdi
mov edx, r14d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop word [rax + rax]
cmp eax, 0x103
jne 0x1400051f0
mov rcx, rsi
call fcn.140049760
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r12
mov rcx, r15
call fcn.140004f00
nop
mov rcx, rdi
call fcn.140049760
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140049740
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rcx]
test rcx, rcx
jne fcn.140049760
ret