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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14018ef00]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor r15b, r15b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x50], xmm1
mov r8d, 0x2d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea rcx, [rsp + 0x40]
call fcn.140091ca0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x70], xmm1
mov r8d, reloc.WS2_32.dll_gethostname
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerRunMRU
lea rcx, [rsp + 0x60]
call fcn.140091ca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x48]
call fcn.14008f760
nop
lea r9, [fcn.140087180]
mov edx, 0x20
mov r8d, 2
lea rcx, [rsp + 0x40]
call fcn.140139a18
mov r14, qword [rbp - 0x48]
mov r12, qword [rbp - 0x40]
cmp r14, r12
je 0x140089889
xor r13d, r13d
nop
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x1400896dd
mov rdx, qword [r14]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008987c
mov dword [rbp - 0x70], 0x100
mov esi, 1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140089872
mov dword [rbp - 0x6c], 0x200
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140089839
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
lea rax, [rbp + 0x1d0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r13w
jne 0x140089795
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x68]
call fcn.140091ca0
lea rcx, [rbp - 0x68]
mov rbx, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x50]
cmp rdi, 7
cmova rcx, rbx
mov qword [rsp + 0x20], 5
lea r9, [0x140172528]
xor r8d, r8d
mov rdx, qword [rbp - 0x58]
call fcn.1400915c0
cmp rax, 0xffffffffffffffff
je 0x1400897fe
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r15b, 1
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x68]
cmp rdi, 7
jbe 0x140089839
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140089831
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400898c6
mov rcx, rbx
call fcn.140139a10
mov dword [rbp - 0x70], 0x100
mov edx, esi
inc esi
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x30]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140089740
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add r14, 0x20
cmp r14, r12
jne 0x1400896d0
lea rcx, [rbp - 0x48]
call fcn.140090400
movzx eax, r15b
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140139630
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3