Function at 0x14003d1a4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x25059276
add rsp, 0x250591c6
mov edi, dword [rcx + 0x2d8]
mov rsi, rdx
mov r13, rcx
mov ebx, 0x27f3e3bc
sub ebx, 0x17ea526c
xor ebx, 0x100990c0
test dil, 4
je 0x14003d207
mov ebx, 0xb5994c7
xor ebx, 0x320c4d7c
xor ebx, 0x3955d973
jmp 0x14003d266
test dil, 8
je 0x14003d227
mov ebx, 0x42017262
xor ebx, 0x61db9d3b
xor ebx, 0x23daeead
jmp 0x14003d266
test dil, 0x40
je 0x14003d247
mov ebx, 0x3804fc0b
add ebx, 0x724d25a
xor ebx, 0x3f29cc3d
jmp 0x14003d266
test dil, 0x10
pushf
mov eax, 0x7b4fbea9
sub eax, 0x49267b35
sub eax, 0x2f1f6c81
sub eax, 0x309d437
popf
cmovne ebx, eax
mov rbp, qword [r8 + 0x38]
lea rcx, [rsp + 0x70]
mov r14d, edi
xorps xmm0, xmm0
and edi, 3
shr r14d, 5
mov eax, edi
and r14d, 1
neg eax
lea rdx, [rbp + 1]
lea rax, [rsp + 0x78]
sbb r12d, r12d
mov qword [rsp + 0x70], rax
and r12d, 8
neg edi
mov rdi, qword [r8]
sbb r15d, r15d
and r15d, 0xfffffffe
nop
add r15d, 0x4467c14a
sub r15d, 0x4467c145
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
call fcn.14001739c
xor r11d, r11d
mov r9, rax
mov ecx, 0xdc846a1
sub ecx, 0x14cc4a3
add ecx, 0x189056e9
add ecx, 0xc272d4b
test rbp, rbp
je 0x14003d330
mov rdx, rax
sub rdi, rax
mov r8, rbp
movzx eax, cx
mov r10d, 0x65dbc393
sub r10d, 0x3cfdf1a6
sub r10d, 0x28ddd0ee
and ax, r10w
ror ecx, 8
xor ax, word [rdi + rdx]
mov word [rdx], ax
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14003d2fd
mov word [r9 + rbp*2], r11w
movabs rax, 0x67ca4a74706e8dd
add rax, 0x11688ba3
sub rax, 0x57b49034
xor rax, 0x1b11a47d
mov rdi, qword [0x14012f770]
xor ebp, ebp
mov ecx, dword [r13 + 0x2f0]
xor r9d, r9d
rol rdi, 0x15
xor ecx, 0x4e31670a
not rdi
xor r8d, r8d
rol rdi, 0xb
xor edx, edx
xor rdi, rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0x6df0db88
xor dword [rsp + 0x60], 0x5a25b929
sub dword [rsp + 0x60], 0x37d5629f
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], ebx
call rdi
mov rcx, qword [rsp + 0x70]
mov rbx, rax
lea rax, [rsp + 0x78]
cmp rcx, rax
jne 0x14003d3eb
lea rdi, [rsp + 0x78]
xor eax, eax
lea ecx, [rbp + 0x30]
rep stosb byte [rdi], al
jmp 0x14003d3f0
call fcn.1400b9840
test rbx, rbx
je 0x14003d497
mov rcx, qword [rsi + 0x80]
cmp rcx, 4
jae 0x14003d43d
mov rax, rcx
shl rax, 5
add rax, rsi
inc rcx
mov qword [rsi + 0x80], rcx
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov dword [rax + 0x10], ebp
mov qword [rax + 0x18], rbp
test rax, rax
je 0x14003d43d
mov qword [rax], rbx
jmp 0x14003d499
mov rdx, qword [0x14012f7d8]
movabs rcx, 0xf05ea2da0bc09db2
add rcx, 0x450238e7
add rcx, 0xae5c98e
sub rcx, 0x21aa9a03
rol rdx, 6
movabs rax, 0x5e7d6fc46e3ecc93
xor rax, 0x19d42499
sub rax, 0x5ddc66e6
add rax, 0x7fffffff
add rax, 0x1114737e
add rdx, rcx
mov rcx, rbx
not rdx
add rdx, rax
call rdx
xor eax, eax
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret