Function at 0x140138b60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
mov eax, 0xa8
call fcn.1400fe1d0
sub rsp, rax
movsxd rsi, dword [rsp + 0x148]
lea r8, [rsp + 0x88]
mov r12d, ecx
lea rdx, [rsp + 0x80]
xor ecx, ecx
xor ebx, ebx
xor edi, edi
call fcn.1400f2e70
test eax, eax
je 0x140138e7c
nop
mov eax, dword [rsp + 0x80]
lea r8, [rsp + 0x88]
shl eax, 0xa
lea rdx, [rsp + 0x80]
test r12d, eax
lea eax, [rbx + 1]
cmove eax, ebx
inc edi
mov ecx, edi
mov ebx, eax
call fcn.1400f2e70
test eax, eax
jne 0x140138bb0
test ebx, ebx
je 0x140138e7c
mov eax, dword [rsp + 0x130]
mov r8, rsi
cdq
mov qword [rsp + 0xd0], rbp
mov rbp, qword [rsp + 0x128]
idiv ebx
mov qword [rsp + 0xa0], r13
movsxd r13, eax
xor eax, eax
cmp ebx, 1
mov qword [rsp + 0x98], r14
mov rbx, qword [rsp + 0x138]
cmovne eax, dword [rsp + 0x130]
mov rcx, rbx
xor edx, edx
mov dword [rsp + 0x84], eax
mov qword [rsp + 0x90], r15
call fcn.1401a1180
lea r8, [rsp + 0x88]
xor ecx, ecx
lea rdx, [rsp + 0x80]
xor r14d, r14d
call fcn.1400f2e70
test eax, eax
je 0x140138e24
mov rdi, qword [rsp + 0x140]
mov eax, dword [rsp + 0x80]
shl eax, 0xa
test r12d, eax
je 0x140138e01
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140138e56
mov eax, dword [rsp + 0x120]
mov rdx, rbp
mov r8d, dword [rsp + 0x84]
mov r9, qword [rsp + 0xd8]
and r8d, 1
mov dword [rsp + 0x70], esi
add r8d, r13d
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x20], eax
call fcn.1401387b0
test eax, eax
je 0x140138e78
add rbp, r13
xor ecx, ecx
test esi, esi
jle 0x140138dcd
cmp esi, 0x40
jb 0x140138dcd
lea rax, [rsi - 1]
lea rdx, [rax + rbx]
add rax, rdi
cmp rbx, rax
ja 0x140138d60
cmp rdx, rdi
jae 0x140138dcd
mov r8, rsi
lea rax, [rbx + 0x10]
and r8, 0xffffffffffffffc0
mov rdx, rdi
sub rdx, rbx
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rdx + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rdx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp rcx, r8
jl 0x140138d71
cmp rcx, rsi
jge 0x140138e01
mov r8, rdi
lea rax, [rcx + rbx]
sub r8, rbx
mov rdx, rsi
sub rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140138df0
inc r14d
lea r8, [rsp + 0x88]
mov ecx, r14d
lea rdx, [rsp + 0x80]
call fcn.1400f2e70
test eax, eax
jne 0x140138c72
mov eax, 1
mov r14, qword [rsp + 0x98]
mov r13, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xd0]
mov r15, qword [rsp + 0x90]
add rsp, 0xa8
pop r12
pop rdi
pop rsi
pop rbx
ret
mov edx, 0x11c
mov dword [rsp + 0x20], 0x114
lea r9, [0x140272488]
mov ecx, shutdown
lea r8d, [rdx + 0x2a]
call fcn.1400d2310
xor eax, eax
jmp 0x140138e29
mov ecx, shutdown
mov dword [rsp + 0x20], 0x109
lea r9, [0x140272478]
mov edx, 0x11c
lea r8d, [rcx + 0x30]
call fcn.1400d2310
xor eax, eax
add rsp, 0xa8
pop r12
pop rdi
pop rsi
pop rbx
ret