Function at 0x14000e5f0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140191558]
xor rax, rsp
mov qword [rbp + 0x47], rax
movzx edi, dl
xor bl, bl
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x20206
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e83d
test dil, dil
je 0x14000e81d
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xor r14d, r14d
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], r14
lea r8d, [rax + 1]
lea rdx, [0x14016bbac]
lea rcx, [rbp + 7]
call fcn.140004580
nop
lea rcx, [rbp + 0x27]
call fcn.1400105b0
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14000e69c
mov r9, qword [rax]
mov rsi, qword [rbp + 0x17]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x14000e6df
lea rax, [rdi + rsi]
mov qword [rbp + 0x17], rax
lea rbx, [rbp + 7]
cmp rcx, 8
cmovae rbx, qword [rbp + 7]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.1400d47d0
lea rax, [rdi + rsi]
mov word [rbx + rax*2], r14w
jmp 0x14000e6f6
mov qword [rsp + 0x20], rdi
movzx r8d, byte [rbp - 9]
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.140004d60
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x14000e736
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e731
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e86f
call fcn.1400d26e8
mov rdi, qword [rbp + 0x17]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
sub rax, rdi
cmp rax, 7
jb 0x14000e77d
lea rax, [rdi + 7]
mov qword [rbp + 0x17], rax
lea rbx, [rbp + 7]
cmp rcx, 8
cmovae rbx, qword [rbp + 7]
lea rcx, [rbx + rdi*2]
mov r8d, 0xe
lea rdx, [0x14016bbb0]
call fcn.1400d47d0
mov word [rbx + rdi*2 + 0xe], r14w
jmp 0x14000e7a0
mov qword [rsp + 0x20], 7
lea r9, [0x14016bbb0]
movzx r8d, byte [rbp - 9]
mov edx, 7
lea rcx, [rbp + 7]
call fcn.140004d60
mov eax, dword [rbp + 0x17]
lea eax, [rax*2 + 2]
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
lea r8, str.CTFarm
xor edx, edx
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14000e833
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e816
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e869
call fcn.1400d26e8
jmp 0x14000e833
lea rdx, str.CTFarm
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
sete bl
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400d2c70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400d95d8
nop
call fcn.1400d95d8
nop
int3