Function at 0x14003a250
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x440
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x448], rbx
mov qword [rbp + 0x450], rsi
mov qword [rbp + 0x458], rdi
mov rax, qword [0x1400f1010]
xor rax, rbp
mov qword [rbp + 0x400], rax
mov r14, r8
mov r13, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov rdx, qword [rsi + 0x10]
mov eax, dword [rsp]
sub rsp, 0x20
lea rdi, [rsp + 0x30]
mov eax, dword [rdi]
test rdi, rdi
je 0x14003a2b9
mov dword [rdi], 0xcccc
add rdi, 0x10
xor r12d, r12d
mov qword [rbp], r12
test rdx, rdx
je 0x14003a8d3
mov rax, qword [rcx + 0x118]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp]
mov qword [rsp + 0x20], r8
lea r9d, [r12 + 8]
mov r8, rdi
call qword [rax + 0x18]
mov rbx, qword [rdi]
test eax, eax
js 0x14003a8d3
add rbx, 0xffffffffffffff38
mov rcx, qword [rsi]
mov eax, dword [rsp]
mov eax, 0x130
sub rsp, rax
lea rdi, [rsp + 0x30]
mov eax, dword [rdi]
test rdi, rdi
je 0x14003a321
mov dword [rdi], 0xcccc
add rdi, 0x10
mov qword [rbp], r12
test rbx, rbx
je 0x14003a350
mov rax, qword [rcx + 0x118]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
mov r9d, 0x118
mov r8, rdi
mov rdx, rbx
call qword [rax + 0x18]
lea rcx, [rbp + 0x2e0]
mov eax, 2
nop dword [rax]
movups xmm0, xmmword [rdi]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdi + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdi, [rdi + 0x80]
sub rax, 1
jne 0x14003a360
movups xmm0, xmmword [rdi]
movups xmmword [rcx], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rcx + 0x10], rax
mov rax, qword [r14]
cmp rax, qword [rbp + 0x310]
jae 0x14003a3dd
mov rax, qword [rbp + 0x3a8]
test rax, rax
jne 0x14003a3ef
mov r15, r12
jmp 0x14003a434
jbe 0x14003a7f2
mov rax, qword [rbp + 0x3b0]
test rax, rax
je 0x14003a42e
lea rbx, [rax - 0xc8]
mov rax, qword [rsi]
mov qword [rbp], r12
test rbx, rbx
je 0x14003a3c0
mov rax, qword [rax + 0x118]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
mov r9d, 0x118
lea r8, [rbp + 0x2e0]
mov rdx, rbx
call qword [rax + 0x18]
jmp 0x14003a3c0
mov r15d, 1
mov edx, dword [r14 + 0x4c]
lea rcx, [rbp]
call fcn.14002b540
nop
mov qword [rbp + 8], r12
mov rcx, qword [rsi]
add rcx, 0x20
movdqa xmm0, xmmword [0x1400ddc10]
movdqu xmmword [rbp + 0x160], xmm0
mov word [rbp + 0x170], 0x7c
mov byte [rbp + 0x172], 1
mov rdx, r12
lea eax, [rdx - 0xc]
xor byte [rbp + rdx + 0x160], al
inc rdx
cmp rdx, 0x11
jb 0x14003a470
mov byte [rbp + 0x172], 0
mov dword [rsp + 0x20], r12d
mov r9d, dword [r14 + 0x4c]
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x100]
call fcn.140046f70
nop
lea rdi, [rbp + 0x160]
xor eax, eax
mov ecx, 0x12
rep stosb byte [rdi], al
mov rdi, qword [rbp]
cmp dword [rbp + 0x100], eax
jl 0x14003a7c1
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 8]
mov rax, qword [rdi]
mov r12, qword [rax + 0x18]
mov qword [rbp + 0x190], 0xffffffffffff0001
mov qword [rbp + 0x198], 0xff
movabs rcx, 0xffffffff00000003
mov qword [rbp + 0x1a0], rcx
mov edx, 0xffffffff
mov qword [rbp + 0x1a8], rdx
xor eax, eax
mov qword [rbp + 0x1b8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], rax
mov rax, qword [rsi + 0x10]
mov dword [rbp + 0x180], 2
mov qword [rbp + 0x188], 8
mov qword [rbp + 0x1b0], rax
lea rax, [rbx + 0xc8]
mov qword [rbp + 0x1e8], 0xffffffffffff0001
mov qword [rbp + 0x1f0], 0xff
mov qword [rbp + 0x1f8], rcx
mov qword [rbp + 0x200], rdx
xor ebx, ebx
mov qword [rbp + 0x210], rbx
mov qword [rbp + 0x218], rbx
movdqa xmmword [rbp + 0x220], xmm0
mov dword [rbp + 0x1d8], 2
mov qword [rbp + 0x1e0], 8
mov qword [rbp + 0x208], rax
mov qword [rbp + 0x240], 0xffffffffffff0001
mov qword [rbp + 0x248], 0xff
mov qword [rbp + 0x250], rcx
mov qword [rbp + 0x258], rdx
mov qword [rbp + 0x268], rbx
movdqa xmmword [rbp + 0x270], xmm0
mov qword [rbp + 0x280], rbx
mov dword [rbp + 0x230], 2
mov qword [rbp + 0x238], 8
mov qword [rbp + 0x260], r15
lea rax, [r13 + 0xc8]
mov qword [rbp + 0x298], 0xffffffffffff0001
mov qword [rbp + 0x2a0], 0xff
mov qword [rbp + 0x2a8], rcx
mov qword [rbp + 0x2b0], rdx
mov qword [rbp + 0x2c0], rbx
mov qword [rbp + 0x2c8], rbx
movdqa xmmword [rbp + 0x2d0], xmm0
mov dword [rbp + 0x288], 2
mov qword [rbp + 0x290], 8
mov qword [rbp + 0x2b8], rax
lea rax, [rbp + 0x180]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x2e0]
mov qword [rbp + 0x78], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x80]
call fcn.14002c090
nop
cmp byte [rbp + 0x158], bl
je 0x14003a90e
mov qword [rbp + 0x20], 0xffffffffffff0001
mov qword [rbp + 0x28], 0xff
movabs rax, 0xffffffff00000003
mov qword [rbp + 0x30], rax
mov eax, 0xffffffff
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x48], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rbx
mov dword [rbp + 0x10], 2
mov qword [rbp + 0x18], 8
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x40], rax
lea r9d, [rbx + 1]
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call r12
nop
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14003a739
mov rdx, qword [rbp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a908
call fcn.14005fb2c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rbx
lea rcx, [rbp + 0x80]
call fcn.14002c2d0
nop
lea r9, [0x14002b3f0]
mov edx, 0x58
lea r8d, [rdx - 0x54]
lea rcx, [rbp + 0x180]
call fcn.14005fa5c
mov rcx, qword [rsi]
add rcx, 0x220
mov dword [rsp + 0x20], 8
mov r8d, dword [r14 + 0x4c]
mov rdx, rdi
call fcn.14004c680
mov rax, qword [rdi]
xor edx, edx
lea r8d, [rdx - 1]
mov rcx, rdi
call qword [rax + 0x10]
mov rsi, qword [rsi]
lea rcx, [rdi + 0xa8]
mov ebx, dword [rcx + 0x60]
sub rbx, qword [rcx + 0x48]
add rbx, qword [rcx + 0x58]
mov rax, qword [rcx]
call qword [rax + 8]
lea r9, [rbp + 8]
mov r8, rbx
mov rdx, rax
lea rcx, [rsi + 0x220]
call fcn.14004a8e0
nop
cmp byte [rbp + 0x158], 0
je 0x14003a7d7
lea rcx, [rbp + 0x108]
call fcn.14002c430
nop
test rdi, rdi
je 0x14003a8d3
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
jmp 0x14003a8d3
mov rcx, qword [rsi]
mov rdx, qword [rbp + 0x378]
mov eax, dword [rsp]
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov eax, dword [rdi]
test rdi, rdi
je 0x14003a819
mov dword [rdi], 0xcccc
add rdi, 0x10
mov qword [rbp], r12
test rdx, rdx
jne 0x14003a829
mov eax, 0xc0000141
jmp 0x14003a850
mov rax, qword [rcx + 0x118]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp]
mov qword [rsp + 0x20], r8
mov r9d, 0x50
mov r8, rdi
call qword [rax + 0x18]
nop dword [rax]
movups xmm3, xmmword [rdi]
movups xmm4, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x20], xmm4
movups xmm0, xmmword [rdi + 0x20]
movups xmm1, xmmword [rdi + 0x30]
movups xmm2, xmmword [rdi + 0x40]
mov dword [rbp + 0xa0], eax
movups xmmword [rbp + 0xa8], xmm3
movups xmmword [rbp + 0xb8], xmm4
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm1
movups xmmword [rbp + 0xe8], xmm2
mov byte [rbp + 0xf8], 1
test eax, eax
js 0x14003a8d3
mov eax, dword [rbp + 0x2c]
inc eax
mov dword [rbp + 0xc4], eax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x118]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
mov r9d, 0x50
lea r8, [rbp + 0xa8]
mov rdx, qword [rbp + 0x378]
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x400]
xor rcx, rbp
call fcn.14005fa30
mov rbx, qword [rbp + 0x448]
mov rsi, qword [rbp + 0x450]
mov rdi, qword [rbp + 0x458]
lea rsp, [rbp + 0x410]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14009598c
nop
call fcn.14002b350
int3