Function at 0x14000a7b0
Capabilities:
Encode data using base64
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x1400710c0]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xor r15d, r15d
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov r8d, eax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14000d750
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call fcn.140008bd0
lea rax, str.schtasks__delete__tn_____f
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x1c
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x70], xmm0
movabs r12, 0xc000000000000000
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x40], 1
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x18]
call fcn.14000ec40
lea rax, str.schtasks__create__tn_____sc_ONLOGON__tr_____rl_HIGHEST__f
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x3d
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x78], r12
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rax, qword [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x58], xmm0
movabs rax, 0xc000000000000010
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], 2
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.14000ec40
lea rcx, [rbp + 0x18]
call fcn.140008e10
lea rcx, [rbp - 8]
call fcn.140008e10
lea rcx, [rsp + 0x40]
call fcn.140005980
mov rax, qword [rsp + 0x40]
movabs rcx, 0x7ffffff903dc53fe
cmp rax, rcx
jg 0x14000a99f
movabs rbx, 0x6fc23ac00
add rbx, rax
jmp 0x14000a9a9
movabs rbx, 0x7fffffffffffffff
mov esi, 0xff
movabs rdi, 0x4e94914f0000
movabs r14, 0x431bde82d7b634db
lea rcx, [rsp + 0x40]
call fcn.140005980
mov rax, qword [rsp + 0x40]
cmp rbx, rax
je 0x14000aa25
mov ecx, 1
cmovl ecx, esi
test cl, cl
jle 0x14000aa25
mov rcx, rbx
sub rcx, rax
cmp rcx, rdi
jge 0x14000aa19
mov rax, r14
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x14000aa10
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x14000a9c2
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x14000a9c2
lea rax, str.WindowsSystem32
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x12
lea rax, [0x140074090]
cmp qword [0x1400740a8], 7
cmova rax, qword [0x140074090]
mov qword [rsp + 0x30], rax
mov rax, qword [0x1400740a0]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x30], 1
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.14000ec40
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x78]
call fcn.1400091c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140008fc0
lea rcx, [rbp - 0x78]
call fcn.14000b020
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
cmp rbx, r14
je 0x14000ab8d
nop
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x14000ab80
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000ab15
mov rdx, qword [rbx]
mov r8d, 4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x14000ab77
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x40], r15d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp - 0x78]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000ab6e
cmp dword [rbp - 0x74], 4
je 0x14000ade4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add rbx, 0x60
cmp rbx, r14
jne 0x14000aaf0
call fcn.1400099c0
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14000ac2c
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x14000abc6
nop word [rax + rax]
mov rcx, rbx
call fcn.1400098b0
add rbx, 0x60
cmp rbx, rdi
jne 0x14000abb0
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
sub rcx, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 5
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000ac16
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000adfb
mov rcx, rbx
call fcn.1400211e0
mov qword [rsp + 0x50], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14000ac6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000adfb
call fcn.1400211e0
movdqa xmm0, xmmword [0x140068870]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x14000acc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000acb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000adfb
call fcn.1400211e0
movdqa xmm0, xmmword [0x140068870]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r15w
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x14000ad18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ad0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000adfb
call fcn.1400211e0
movdqa xmm0, xmmword [0x140068870]
movdqu xmmword [rbp + 0x28], xmm0
mov word [rbp + 0x18], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14000ad63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ad5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000adfb
call fcn.1400211e0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x14000adb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000adad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000adfb
call fcn.1400211e0
xor eax, eax
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400211c0
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000ab92
call fcn.140028db8
int3