Function at 0x14003a920
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x370
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x378], rbx
mov qword [rbp + 0x380], rsi
mov qword [rbp + 0x388], rdi
mov rax, qword [0x1400f1010]
xor rax, rbp
mov qword [rbp + 0x330], 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 0x14003a989
mov dword [rdi], 0xcccc
add rdi, 0x10
xor r12d, r12d
mov qword [rbp], r12
test rdx, rdx
je 0x14003afad
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 + 4]
mov r8, rdi
call qword [rax + 0x18]
test eax, eax
js 0x14003afad
mov ebx, dword [rdi]
sub rbx, 0x68
mov rcx, qword [rsi]
mov eax, dword [rsp]
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov eax, dword [rdi]
test rdi, rdi
je 0x14003a9ec
mov dword [rdi], 0xcccc
add rdi, 0x10
mov qword [rbp], r12
test rbx, rbx
je 0x14003aa20
mov rax, qword [rcx + 0x118]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
mov r9d, 0xa0
mov r8, rdi
mov rdx, rbx
call qword [rax + 0x18]
nop dword [rax + rax]
lea rax, [rbp + 0x290]
movups xmm0, xmmword [rdi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rax + 0x60], xmm0
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rax + 0x70], xmm0
movups xmm1, xmmword [rdi + 0x80]
movups xmmword [rax + 0x80], xmm1
movups xmm0, xmmword [rdi + 0x90]
movups xmmword [rax + 0x90], xmm0
mov eax, dword [r14]
cmp eax, dword [rbp + 0x2a8]
jae 0x14003aad5
mov eax, dword [rbp + 0x2f8]
test eax, eax
je 0x14003ab23
mov ebx, eax
sub rbx, 0x68
mov rax, qword [rsi]
mov qword [rbp], r12
je 0x14003aa81
mov rax, qword [rax + 0x118]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
mov r9d, 0xa0
lea r8, [rbp + 0x290]
mov rdx, rbx
call qword [rax + 0x18]
jmp 0x14003aa81
jbe 0x14003aeec
mov eax, dword [rbp + 0x2fc]
test eax, eax
je 0x14003ab28
mov ebx, eax
sub rbx, 0x68
mov rax, qword [rsi]
mov qword [rbp], r12
je 0x14003aa81
mov rax, qword [rax + 0x118]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
mov r9d, 0xa0
lea r8, [rbp + 0x290]
mov rdx, rbx
call qword [rax + 0x18]
jmp 0x14003aa81
mov r15, r12
jmp 0x14003ab2e
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 + 0x110], xmm0
mov word [rbp + 0x120], 0x7c
mov byte [rbp + 0x122], 1
mov rdx, r12
nop word [rax + rax]
lea eax, [rdx - 0xc]
xor byte [rbp + rdx + 0x110], al
inc rdx
cmp rdx, 0x11
jb 0x14003ab70
mov byte [rbp + 0x122], 0
mov dword [rsp + 0x20], r12d
mov r9d, dword [r14 + 0x4c]
lea r8, [rbp + 0x110]
lea rdx, [rbp + 0xb0]
call fcn.140046f70
nop
lea rdi, [rbp + 0x110]
xor eax, eax
mov ecx, 0x12
rep stosb byte [rdi], al
mov rdi, qword [rbp]
cmp dword [rbp + 0xb0], eax
jl 0x14003aebb
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 + 0x140], 0xffffffffffff0001
mov qword [rbp + 0x148], 0xff
movabs rcx, 0xffffffff00000003
mov qword [rbp + 0x150], rcx
mov edx, 0xffffffff
mov qword [rbp + 0x158], rdx
xor eax, eax
mov qword [rbp + 0x168], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], rax
mov rax, qword [rsi + 0x10]
mov dword [rbp + 0x130], 2
mov qword [rbp + 0x138], 8
mov qword [rbp + 0x160], rax
lea rax, [rbx + 0x68]
mov qword [rbp + 0x198], 0xffffffffffff0001
mov qword [rbp + 0x1a0], 0xff
mov qword [rbp + 0x1a8], rcx
mov qword [rbp + 0x1b0], rdx
xor ebx, ebx
mov qword [rbp + 0x1c0], rbx
mov qword [rbp + 0x1c8], rbx
movdqa xmmword [rbp + 0x1d0], xmm0
mov dword [rbp + 0x188], 2
mov qword [rbp + 0x190], 8
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1f0], 0xffffffffffff0001
mov qword [rbp + 0x1f8], 0xff
mov qword [rbp + 0x200], rcx
mov qword [rbp + 0x208], rdx
mov qword [rbp + 0x218], rbx
movdqa xmmword [rbp + 0x220], xmm0
mov qword [rbp + 0x230], rbx
mov dword [rbp + 0x1e0], 2
mov qword [rbp + 0x1e8], 4
mov qword [rbp + 0x210], r15
lea rax, [r13 + 0x68]
mov qword [rbp + 0x248], 0xffffffffffff0001
mov qword [rbp + 0x250], 0xff
mov qword [rbp + 0x258], rcx
mov qword [rbp + 0x260], rdx
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x278], rbx
movdqa xmmword [rbp + 0x280], xmm0
mov dword [rbp + 0x238], 2
mov qword [rbp + 0x240], 8
mov qword [rbp + 0x268], rax
lea rax, [rbp + 0x130]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x290]
mov qword [rbp + 0x78], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x80]
call fcn.14002c090
nop
cmp byte [rbp + 0x108], bl
je 0x14003afe8
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 + 0xb8]
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 0x14003ae33
mov rdx, qword [rbp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ae22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003afe2
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 + 0x130]
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 + 0x108], 0
je 0x14003aed1
lea rcx, [rbp + 0xb8]
call fcn.14002c430
nop
test rdi, rdi
je 0x14003afad
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
jmp 0x14003afad
mov rcx, qword [rsi]
mov edx, dword [rbp + 0x2e0]
mov eax, dword [rsp]
sub rsp, 0x40
lea rdi, [rsp + 0x30]
mov eax, dword [rdi]
test rdi, rdi
je 0x14003af12
mov dword [rdi], 0xcccc
add rdi, 0x10
mov qword [rbp], r12
test rdx, rdx
jne 0x14003af22
mov eax, 0xc0000141
jmp 0x14003af50
mov rax, qword [rcx + 0x118]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp]
mov qword [rsp + 0x20], r8
mov r9d, 0x30
mov r8, rdi
call qword [rax + 0x18]
nop word [rax + rax]
movups xmm1, xmmword [rdi]
movups xmm2, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x90], xmm2
movups xmm0, xmmword [rdi + 0x20]
mov dword [rbp + 0x10], eax
movups xmmword [rbp + 0x14], xmm1
movups xmmword [rbp + 0x24], xmm2
movups xmmword [rbp + 0x34], xmm0
mov byte [rbp + 0x44], 1
test eax, eax
js 0x14003afad
mov eax, dword [rbp + 0x90]
inc eax
mov dword [rbp + 0x24], eax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x118]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
mov edx, dword [rbp + 0x2e0]
mov qword [rsp + 0x20], r12
mov r9d, 0x30
lea r8, [rbp + 0x14]
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x330]
xor rcx, rbp
call fcn.14005fa30
mov rbx, qword [rbp + 0x378]
mov rsi, qword [rbp + 0x380]
mov rdi, qword [rbp + 0x388]
lea rsp, [rbp + 0x340]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14009598c
nop
call fcn.14002b350
int3