Function at 0x14004ae00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rbp, qword [rsp + 0xe0]
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rcx + 0x38]
add rcx, rbp
setb dl
movabs rax, 0xfffffffe0
cmp rcx, rax
seta r8b
xor eax, eax
or r8b, dl
jne 0x14004b3ef
mov r15, r9
mov r12, qword [rsi + 0x160]
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
je 0x14004af87
mov qword [rsp + 0x30], r15
mov r15, qword [rsi + 0x40]
mov r13, qword [rsi + 0x48]
bswap r13
bswap r15
mov rdi, qword [rsi + 0x50]
mov r9, qword [rsi + 0x58]
mov qword [rsp + 0x28], r9
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov r8, r13
call fcn.14005fee0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov r8, r15
mov r9, rdi
call fcn.14005fee0
mov r9, qword [rsp + 0x28]
xor r9, rdi
xor r15, r13
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov r8, r15
mov r15, qword [rsp + 0x30]
call fcn.14005fee0
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
mov r9, rcx
shl r9, 0x3f
mov r10, rcx
shl r10, 0x3e
xor r10, r9
mov r11, rcx
shl r11, 0x39
xor r11, r10
xor r11, qword [rsp + 0x48]
mov r9, rcx
xor r9, rdx
xor r9, r8
xor r9, r11
mov r10, r9
shr r10, 1
mov r11, r9
mov rdi, r9
shr rdi, 2
xor rdi, r10
mov r10, r9
mov r13, rbx
mov rbx, r9
shr rbx, 7
xor rbx, rax
xor rbx, rdi
mov rdi, r9
shld rdi, rcx, 0x3f
shld r11, rcx, 0x3e
shld r10, rcx, 0x39
xor rbx, r9
xor r10, r11
xor rdi, qword [rsp + 0x40]
xor r10, rcx
xor r10, rdx
xor r10, r8
xor r10, rdi
xor r10, rax
bswap rbx
mov qword [rsi + 0x40], rbx
mov rbx, r13
bswap r10
mov qword [rsi + 0x48], r10
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
je 0x14004b0e2
test rbp, rbp
je 0x14004b3e4
nop
movzx ecx, byte [rbx]
inc rbx
mov edx, eax
movzx r8d, byte [rsi + rdx + 0x10]
xor r8b, cl
mov byte [r15], r8b
xor byte [rsi + rdx + 0x40], cl
inc r15
lea r8, [rbp - 1]
inc eax
and eax, 0xf
je 0x14004afcf
cmp rbp, 1
mov rbp, r8
jne 0x14004afa0
test eax, eax
jne 0x14004b3e4
mov rbp, qword [rsi + 0x40]
mov r13, qword [rsi + 0x48]
bswap r13
bswap rbp
mov rdi, qword [rsi + 0x50]
mov r9, qword [rsi + 0x58]
mov qword [rsp + 0x28], r9
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], r8
mov r8, r13
call fcn.14005fee0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov r8, rbp
mov r9, rdi
call fcn.14005fee0
mov r9, qword [rsp + 0x28]
xor r9, rdi
xor rbp, r13
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov r8, rbp
call fcn.14005fee0
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
mov r9, rcx
shl r9, 0x3f
mov r10, rcx
shl r10, 0x3e
xor r10, r9
mov r11, rcx
shl r11, 0x39
xor r11, r10
xor r11, qword [rsp + 0x48]
mov r9, rcx
xor r9, rdx
xor r9, r8
xor r9, r11
mov r10, r9
shr r10, 1
mov r11, r9
mov rdi, r9
shr rdi, 2
xor rdi, r10
mov r10, r9
mov r13, rbx
mov rbx, r9
shr rbx, 7
xor rbx, rax
xor rbx, rdi
xor rbx, r9
shld r9, rcx, 0x3f
shld r11, rcx, 0x3e
shld r10, rcx, 0x39
xor r9, qword [rsp + 0x40]
xor r10, r11
xor r10, rcx
xor r10, rdx
xor r10, r8
mov r8, qword [rsp + 0x30]
xor r10, r9
xor r10, rax
bswap rbx
mov qword [rsi + 0x40], rbx
mov rbx, r13
bswap r10
mov qword [rsi + 0x48], r10
jmp 0x14004b0e5
mov r8, rbp
lea rax, [rsi + 0x50]
mov qword [rsp + 0x28], rax
mov edi, dword [rsi + 0xc]
bswap edi
cmp r8, 0xc00
jb 0x14004b28c
lea rax, [rsi + 0x40]
mov qword [rsp + 0x38], rax
lea r13, [rsi + 0x10]
mov rax, r15
mov rcx, rbx
nop word cs:[rax + rax]
mov qword [rsp + 0x30], r8
mov rbp, rcx
mov rbx, rax
mov r9d, 0xc00
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov r8, rbp
call fcn.140049e40
xor r15d, r15d
nop word cs:[rax + rax]
mov rcx, rsi
mov rdx, r13
mov r8, r14
call r12
inc edi
mov eax, edi
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [rbp + r15]
mov qword [rbx + r15], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [rbp + r15 + 8]
mov qword [rbx + r15 + 8], rax
add r15, 0x10
cmp r15, 0xc00
jne 0x14004b150
mov r8, qword [rsp + 0x30]
add r8, 0xfffffffffffff400
lea rax, [rbx + r15]
lea rcx, [r15 + rbp]
cmp r8, 0xbff
ja 0x14004b120
add rbx, r15
add rbp, r15
mov r15, rbx
mov r9, r8
and r9, 0xff0
je 0x14004b29f
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x28]
mov rbx, rbp
mov r13, r8
mov r8, rbp
call fcn.140049e40
mov r8, r13
lea r13, [rsi + 0x10]
nop word cs:[rax + rax]
mov rcx, rsi
mov rdx, r13
mov rbp, r8
mov r8, r14
call r12
mov r8, rbp
inc edi
mov eax, edi
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [rbx]
mov qword [r15], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [rbx + 8]
mov qword [r15 + 8], rax
add r15, 0x10
add rbx, 0x10
add r8, 0xfffffffffffffff0
cmp r8, 0xf
ja 0x14004b1f0
test r8, r8
je 0x14004b2a7
lea r13, [rsi + 0x10]
mov rcx, rsi
mov rdx, r13
mov rbp, r8
mov r8, r14
call r12
mov r8, rbp
inc edi
bswap edi
mov dword [rsi + 0xc], edi
movabs rcx, 0xfffffffeffffffff
lea rdx, [rcx + rbp]
add rcx, 0x20
xor eax, eax
cmp rdx, rcx
jae 0x14004b2ae
mov rcx, r8
test cl, 1
jne 0x14004b382
mov rdx, rcx
cmp rcx, 1
jne 0x14004b3b0
jmp 0x14004b3e4
mov rbp, rbx
mov r9, r8
and r9, 0xff0
jne 0x14004b1c7
mov rbx, rbp
test r8, r8
jne 0x14004b238
xor eax, eax
jmp 0x14004b3e4
lea rdx, [rsi + r8]
add rdx, 0x40
lea r9, [r15 + r8]
lea r10, [rbx + r8]
cmp r13, r9
setb r11b
cmp r15, rdx
mov rdi, rbx
setb bl
cmp r13, r10
setb cl
cmp rdi, rdx
setb r8b
cmp r15, r10
setb dl
mov r10, rdi
cmp rdi, r9
setb r9b
test r11b, bl
jne 0x14004b417
and cl, r8b
mov rbx, r10
jne 0x14004b422
and dl, r9b
mov r8, rbp
jne 0x14004b26e
movabs rax, 0x1ffffffe0
and rax, r8
mov ecx, r8d
and ecx, 0x1f
xor edx, edx
nop word cs:[rax + rax]
movups xmm0, xmmword [rbx + rdx]
movups xmm1, xmmword [rbx + rdx + 0x10]
movups xmm2, xmmword [rsi + rdx + 0x10]
movups xmm3, xmmword [rsi + rdx + 0x20]
movups xmm4, xmmword [rsi + rdx + 0x40]
movups xmm5, xmmword [rsi + rdx + 0x50]
xorps xmm4, xmm0
xorps xmm5, xmm1
movups xmmword [rsi + rdx + 0x40], xmm4
movups xmmword [rsi + rdx + 0x50], xmm5
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [r15 + rdx], xmm2
movups xmmword [r15 + rdx + 0x10], xmm3
add rdx, 0x20
cmp rax, rdx
jne 0x14004b330
cmp r8, rax
jne 0x14004b271
jmp 0x14004b3e4
lea rdx, [rcx - 1]
mov r8d, eax
movzx r9d, byte [rbx + r8]
xor byte [rsi + r8 + 0x40], r9b
xor r9b, byte [rsi + r8 + 0x10]
mov byte [r15 + r8], r9b
inc eax
cmp rcx, 1
je 0x14004b3e4
nop word cs:[rax + rax]
mov ecx, eax
movzx r8d, byte [rbx + rcx]
xor byte [rsi + rcx + 0x40], r8b
xor r8b, byte [rsi + rcx + 0x10]
mov byte [r15 + rcx], r8b
lea ecx, [rax + 1]
movzx r8d, byte [rbx + rcx]
xor byte [rsi + rcx + 0x40], r8b
xor r8b, byte [rsi + rcx + 0x10]
add eax, 2
mov byte [r15 + rcx], r8b
add rdx, 0xfffffffffffffffe
jne 0x14004b3b0
mov dword [rsi + 0x170], eax
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14004b411
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14029fd30
int3
mov rcx, rbp
mov rbx, r10
jmp 0x14004b271
mov rcx, rbp
jmp 0x14004b271