Function at 0x14001ded0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1408f0280]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
xor esi, esi
lea rcx, [rbp - 0x31]
call fcn.1400185d0
nop
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
mov rcx, qword [rbp - 0x21]
sub rax, rcx
cmp rax, 0x22
jb 0x14001e20a
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 7
cmova rax, qword [rbp - 0x31]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_35
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0xf]
call fcn.14001bf90
nop
mov rcx, qword [rdi + 0x10]
mov rax, rbx
sub rax, rcx
cmp rax, 4
jb 0x14001e210
cmp qword [rdi + 0x18], 7
jbe 0x14001df77
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 4
lea r9, str.___
lea rcx, [rbp - 0x11]
call fcn.14001bf90
nop
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rdx, qword [rbp + 0xf]
lea r8, [rbp - 0x39]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14001e0fc
mov eax, dword [rbp - 1]
add eax, eax
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rcx, qword [rbp - 0x11]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp - 0x39]
test eax, eax
jne 0x14001e0f6
mov dword [rsp + 0x28], 4
lea rax, [0x1408cf78c]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp - 0x39]
test eax, eax
jne 0x14001e0f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x14017fa30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001e0fc
mov rcx, qword [rbp - 0x21]
sub rbx, rcx
cmp rbx, 0x34
jb 0x14001e216
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 7
cmova rax, qword [rbp - 0x31]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_60
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x2f]
call fcn.14001bf90
nop
lea rcx, [rbp + 0x2f]
call fcn.140051e40
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x14001e0e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e0dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e21c
call fcn.140117d3c
movdqa xmm0, xmmword [0x1408d3b60]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], si
mov bl, 1
jmp 0x14001e0fe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x14001e13e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e139
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e222
call fcn.140117d3c
movdqa xmm0, xmmword [0x1408d3b60]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], si
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x14001e18f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e18a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e228
call fcn.140117d3c
movdqa xmm0, xmmword [0x1408d3b60]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], si
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x14001e1dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e1d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e204
call fcn.140117d3c
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140117aa0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140127908
nop
call fcn.140010960
nop
call fcn.140010960
nop
call fcn.140010960
int3
call fcn.140127908
nop
call fcn.140127908
nop
call fcn.140127908
int3