Function at 0x14001eeb0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3b8]
sub rsp, 0x4b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
xor eax, eax
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
xor esi, esi
mov qword [rsp + 0x78], rsi
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0xa
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400222c0
test eax, eax
jne 0x14001f01e
mov edi, esi
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x60]
call fcn.14006d020
mov dword [rsp + 0x60], 0x1ff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x60]
xor edx, edx
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x14001f006
nop
xor r9d, r9d
mov r8, qword [rsp + 0x70]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.140010a10
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001efb5
mov qword [rcx], rax
jmp 0x14001efba
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
inc edi
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x60]
call fcn.14006d020
mov dword [rsp + 0x60], 0x1ff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x60]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
je 0x14001ef90
test rbx, rbx
je 0x14001f023
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, rsi
mov qword [rsp + 0x48], rbx
jmp 0x14001f023
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14001f031
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14001f0ee
mov rcx, qword [rdi + 0x10]
mov rdi, qword [rdi]
sub rcx, 0x18
call fcn.140004bb0
lea rbx, [rax + 0x18]
mov qword [rbp - 0x68], rbx
cmp dword [rbx - 0x10], 0
jl 0x14001f0cb
lea rdx, [0x140088440]
mov rcx, rbx
call fcn.14006c5dc
test rax, rax
je 0x14001f07b
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x14001f0c3
cmp dword [rbx - 0x10], 0
jl 0x14001f0cb
lea rdx, str.RTHDVCPL
mov rcx, rbx
call fcn.14006c5dc
test rax, rax
je 0x14001f09f
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x14001f0c3
cmp dword [rbx - 0x10], 0
jl 0x14001f0cb
lea rdx, str.RTKUGUI
mov rcx, rbx
call fcn.14006c5dc
test rax, rax
je 0x14001f0cb
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14001f0cb
mov r8, rbx
call fcn.140041cf0
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001f0e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rdi, rdi
jne 0x14001f03f
lea rcx, [rsp + 0x68]
call fcn.140010940
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret