Function at 0x1400b3b70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x14012c240]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x110]
xor ebp, ebp
mov esi, dword [rsp + 0x128]
mov r12d, ebp
mov qword [rsp + 0x48], rcx
mov r14, r8
mov ecx, dword [rsp + 0x118]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], r9d
mov ebx, edx
call fcn.1400ab9f0
mov r15d, eax
test eax, eax
js 0x1400b3c85
cmp ebx, eax
je 0x1400b3be0
mov eax, 0xffffff53
jmp 0x1400b3c85
mov ecx, dword [rsp + 0x130]
lea eax, [rcx - 1]
and eax, 7
mov dword [rsp + 0x38], eax
jne 0x1400b3c01
mov byte [r14], bpl
inc r14
dec r9d
mov dword [rsp + 0x30], r9d
cmp esi, 0xffffffff
jne 0x1400b3c1d
mov esi, r15d
cmp ecx, 0x400
jne 0x1400b3c2f
cmp r15d, 0x40
jne 0x1400b3c2f
lea esi, [r15 - 2]
jmp 0x1400b3c2f
cmp esi, r15d
jg 0x1400b3f22
cmp esi, 0xffffffff
jl 0x1400b3f22
mov ecx, r9d
lea eax, [rsi + 2]
sub ecx, r15d
cmp ecx, eax
jl 0x1400b3f22
lea eax, [rcx - 1]
mov qword [rsp + 0xa8], r13
mov dword [rsp + 0x34], eax
lea eax, [rbx + 8]
add eax, esi
cmp r9d, eax
jae 0x1400b3cab
mov ecx, eax
mov rax, qword [0x1401dee48]
test rax, rax
je 0x1400b3c6b
call rax
jmp 0x1400b3c70
call fcn.1400d8a00
mov r12, rax
test rax, rax
jne 0x1400b3ca6
lea eax, [r12 - 0x7d]
mov r13, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400cf9b0
add rsp, 0xb8
pop r15
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret
mov r13, r12
jmp 0x1400b3cae
mov r13, r14
mov rdx, qword [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0xb0], rdi
mov r8, rbx
lea rdi, [r13 + 8]
mov qword [r13], rax
mov rcx, rdi
call fcn.1400fb190
add rdi, rbx
test esi, esi
jle 0x1400b3d09
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, esi
call fcn.1400c4be0
mov ebx, eax
test eax, eax
jne 0x1400b3ef1
movsxd rbx, esi
lea rdx, [rsp + 0x50]
mov r8, rbx
mov rcx, rdi
call fcn.1400fb190
add rdi, rbx
movsxd rax, dword [rsp + 0x34]
sub edi, r13d
mov ecx, dword [rsp + 0x118]
add rax, r14
mov r9, rax
mov qword [rsp + 0x40], rax
mov r8d, edi
mov dword [rsp + 0x20], r15d
mov rdx, r13
call fcn.1400abb30
mov ebx, eax
test eax, eax
jne 0x1400b3ef1
mov eax, dword [rsp + 0x30]
mov r9, r14
movsxd rdi, dword [rsp + 0x34]
dec eax
mov rdx, qword [rsp + 0x40]
mov r8d, r15d
mov ecx, dword [rsp + 0x120]
mov dword [rsp + 0x20], edi
mov byte [rax + r14], 0xbc
call fcn.1400b37b0
mov ebx, eax
test eax, eax
jne 0x1400b3ef1
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x1400b3d86
mov eax, 1
shl al, cl
dec al
and byte [r14], al
movsxd rax, esi
mov rdx, rdi
sub rdx, rax
add rdx, r14
xor byte [rdx - 1], 1
test esi, esi
jle 0x1400b3ec3
cmp esi, 8
jb 0x1400b3ec3
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x50]
add rax, rcx
lea r8, [rcx + rdx]
cmp rdx, rax
ja 0x1400b3dcc
lea rax, [rsp + 0x50]
cmp r8, rax
jae 0x1400b3ec3
cmp esi, 0x40
jb 0x1400b3e77
mov ecx, esi
and ecx, 0x8000003f
jge 0x1400b3de6
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, esi
sub eax, ecx
lea r8, [rsp + 0x50]
movsxd r11, eax
lea r9, [rsp + 0x60]
sub r8, rdx
sub r9, rdx
lea rcx, [rdx + 0x20]
mov r10, 0xffffffffffffffe0
sub r10, rdx
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
add ebp, 0x40
movdqu xmm1, xmmword [r8 + rcx - 0x20]
movdqu xmm2, xmmword [r8 + rcx]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [rcx + r10]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [rcx + r9 - 0x60]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + r9 - 0x40]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, r11
jl 0x1400b3e10
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x1400b3ec3
mov eax, esi
and eax, 0x80000007
jge 0x1400b3e87
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, esi
sub ecx, eax
movsxd rax, ebp
lea r8, [rsp + 0x50]
movsxd r9, ecx
sub r8, rdx
lea rcx, [rax + rdx]
nop dword [rax]
movq xmm0, qword [rcx]
add ebp, 8
movq xmm1, qword [r8 + rcx]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rdx
cmp rax, r9
jl 0x1400b3ea0
movsxd rcx, ebp
movsxd r8, esi
cmp rcx, r8
jge 0x1400b3ef1
lea r9, [rsp + 0x50]
sub r9, rdx
lea rax, [rcx + rdx]
sub r8, rcx
nop dword [rax]
movzx edx, byte [r9 + rax]
xor byte [rax], dl
lea rax, [rax + 1]
sub r8, 1
jne 0x1400b3ee0
mov rdi, qword [rsp + 0xb0]
test r12, r12
je 0x1400b3f1b
mov rax, qword [0x1401dee38]
mov rcx, r12
test rax, rax
je 0x1400b3f16
call rax
mov eax, ebx
jmp 0x1400b3c7d
call fcn.1400d7d54
mov eax, ebx
jmp 0x1400b3c7d
mov eax, 0xffffff06
jmp 0x1400b3c85