Function at 0x140004b99
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
jle 0x1400050a2
mov r11, rsp
push rsi
push r14
sub rsp, 0x328
mov rax, qword [0x1400ad368]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov qword [r11 + 0x10], rbx
xor r14d, r14d
mov qword [r11 + 0x18], rbp
mov rsi, rcx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r13
mov qword [r11 - 0x28], r15
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x10], rcx
mov dword [rsp], r14d
nop dword [rax]
mov eax, r14d
mov ebp, 0x10
shl eax, 7
movsxd rcx, eax
add rcx, rdx
mov rax, qword [rcx]
mov r10, qword [rcx + 0x70]
bswap rax
mov qword [rsp + 0x80], rax
mov rax, qword [rcx + 8]
bswap rax
mov qword [rsp + 0x88], rax
mov rax, qword [rcx + 0x10]
bswap rax
mov qword [rsp + 0x90], rax
mov rax, qword [rcx + 0x18]
bswap rax
mov qword [rsp + 0x98], rax
mov rax, qword [rcx + 0x20]
bswap rax
mov qword [rsp + 0xa0], rax
mov rax, qword [rcx + 0x28]
bswap rax
mov qword [rsp + 0xa8], rax
mov rax, qword [rcx + 0x30]
bswap rax
mov qword [rsp + 0xb0], rax
mov rax, qword [rcx + 0x38]
bswap rax
mov qword [rsp + 0xb8], rax
mov rax, qword [rcx + 0x40]
bswap rax
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx + 0x48]
bswap rax
mov qword [rsp + 0xc8], rax
mov rax, qword [rcx + 0x50]
bswap rax
mov qword [rsp + 0xd0], rax
mov rax, qword [rcx + 0x58]
bswap rax
mov qword [rsp + 0xd8], rax
mov rax, qword [rcx + 0x60]
bswap rax
mov qword [rsp + 0xe0], rax
mov rax, qword [rcx + 0x68]
bswap rax
mov qword [rsp + 0xe8], rax
mov rax, qword [rcx + 0x78]
bswap rax
bswap r10
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xf0], r10
nop dword [rax + rax]
mov r11, qword [rax - 0x68]
lea rax, [rax + 0x20]
mov r8, r10
mov rcx, r10
rol rcx, 3
mov rdx, r11
ror rdx, 8
ror r8, 0x13
xor r8, rcx
shr r10, 6
xor r10, r8
mov rcx, r11
ror rcx, 1
xor rdx, rcx
mov rcx, r11
shr rcx, 7
xor rdx, rcx
add r10, rdx
add r10, qword [rax - 0x90]
add r10, qword [rax - 0x48]
mov qword [rax - 0x10], r10
mov rbx, qword [rax - 0x80]
mov r8, qword [rax - 0x18]
mov r9, rbx
mov rdx, r8
ror r9, 8
ror rdx, 0x13
mov rcx, rbx
ror rcx, 1
xor r9, rcx
mov rcx, rbx
shr rcx, 7
xor r9, rcx
mov rcx, r8
rol rcx, 3
xor rdx, rcx
shr r8, 6
xor rdx, r8
mov rcx, r10
add r9, rdx
rol rcx, 3
add r9, qword [rax - 0x40]
mov r8, r10
ror r8, 0x13
add r11, r9
xor r8, rcx
mov qword [rax - 8], r11
mov rdi, qword [rax - 0x78]
shr r10, 6
mov rdx, rdi
xor r10, r8
ror rdx, 8
mov rcx, rdi
ror rcx, 1
xor rdx, rcx
mov rcx, rdi
shr rcx, 7
xor rdx, rcx
add r10, rdx
add r10, qword [rax - 0x38]
add r10, rbx
mov qword [rax], r10
mov rdx, qword [rax - 0x70]
mov r8, rdx
mov rcx, rdx
shr rdx, 7
ror r8, 8
ror rcx, 1
xor r8, rcx
mov rcx, r11
xor r8, rdx
rol rcx, 3
mov rdx, r11
shr r11, 6
ror rdx, 0x13
xor rdx, rcx
xor rdx, r11
add r8, rdx
add r8, qword [rax - 0x30]
add r8, rdi
mov qword [rax + 8], r8
sub rbp, 1
jne 0x140004d00
mov rax, qword [rsi + 0x128]
lea r14, [0x14008c780]
mov r12, qword [rsi + 0x118]
mov r9, rax
mov r13, qword [rsi + 0x120]
mov r15, r12
mov r11, qword [rsi + 0x110]
mov rbp, r13
mov qword [rsp + 0x30], rax
xor edi, edi
mov rax, qword [rsi + 0x130]
mov qword [rsp + 0x38], rax
mov rbx, rax
mov rax, qword [rsi + 0x138]
mov qword [rsp + 8], rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x140]
mov qword [rsp + 0x18], r12
mov r12, rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsi + 0x148]
mov rsi, qword [rsp + 8]
mov qword [rsp + 0x20], r13
mov r13, rax
mov qword [rsp + 0x58], rax
mov r8, rbx
mov rax, rbx
ror rax, 0x12
mov rcx, rbx
rol r8, 0x17
not rcx
xor r8, rax
and rcx, r12
mov rax, rbx
mov r10, r11
ror rax, 0xe
xor r8, rax
rol r10, 0x1e
mov rax, rsi
and rax, rbx
xor rcx, rax
mov rax, r11
add r8, rcx
ror rax, 0x1c
add r8, qword [rdi + r14]
xor r10, rax
add r8, qword [rsp + rdi + 0x80]
mov rax, r11
rol rax, 0x19
add r8, r13
xor r10, rax
add r9, r8
mov rcx, r15
mov rax, r15
and rax, rbp
xor rcx, rbp
and rcx, r11
mov r13, rsi
xor rcx, rax
mov rax, r9
ror rax, 0x12
add r10, rcx
add r10, r8
mov rcx, r9
not rcx
mov r8, r9
rol r8, 0x17
and rcx, rsi
xor r8, rax
mov rdx, r10
rol rdx, 0x1e
mov rax, r9
ror rax, 0xe
mov rsi, r9
xor r8, rax
mov rax, r9
and rax, rbx
mov r9, r15
xor rcx, rax
mov rax, r10
add r8, rcx
ror rax, 0x1c
add r8, qword [rdi + r14 + 8]
xor rdx, rax
add r8, qword [rsp + rdi + 0x88]
mov rcx, r15
xor rcx, r11
add r8, r12
and rcx, r10
mov rax, r10
rol rax, 0x19
mov r12, rbx
xor rdx, rax
add rdi, 0x10
mov rax, r15
lea rbx, [r8 + rbp]
and rax, r11
mov rbp, r11
xor rcx, rax
mov r15, r10
add rdx, rcx
lea r11, [rdx + r8]
cmp rdi, 0x280
jl 0x140004ea2
mov r14d, dword [rsp]
mov rax, qword [rsp + 0x18]
inc r14d
mov rdx, qword [rsp + 0x70]
add rax, r10
mov qword [rsp + 8], rsi
mov rsi, qword [rsp + 0x10]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x28], rbp
add qword [rsi + 0x110], r11
mov qword [rsi + 0x118], rax
mov rax, rbp
add rax, qword [rsp + 0x20]
mov qword [rsi + 0x120], rax
mov rax, qword [rsp + 0x30]
add rax, r9
mov dword [rsp], r14d
mov qword [rsi + 0x128], rax
mov rax, qword [rsp + 0x38]
add rax, rbx
mov qword [rsi + 0x130], rax
mov rax, qword [rsp + 0x40]
add rax, qword [rsp + 8]
mov qword [rsi + 0x138], rax
mov rax, qword [rsp + 0x48]
add rax, r12
mov qword [rsi + 0x140], rax
mov rax, qword [rsp + 0x58]
add rax, r13
mov qword [rsi + 0x148], rax
cmp r14d, dword [rsp + 0x68]
jl 0x140004bf0
mov r15, qword [rsp + 0x310]
mov r13, qword [rsp + 0x318]
mov r12, qword [rsp + 0x320]
mov rdi, qword [rsp + 0x358]
mov rbp, qword [rsp + 0x350]
mov rbx, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140050ca0
add rsp, 0x328
pop r14
pop rsi
ret