Function at 0x14003dd50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [rcx + 0x148]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x60], rbx
mov dword [rsp - 0x34], 0xc6a22e3
mov qword [rsp + 0x70], rsi
mov rsi, rcx
mov qword [rsp + 0x50], rdi
mov rdi, qword [rcx + 0x150]
mov dword [rsp - 0x10], ebp
cmp rdi, rax
mov rbx, rdi
cmovbe rbx, rax
mov dword [rsp - 0x20], 0x444bd20f
cmovae rdi, rax
call fcn.14003e800
mov rcx, rax
lea rdx, [rsp + 0x20]
mov r9, r9
mov r9, rbx
mov r8, rdi
call fcn.1400693f0
cmp qword [rsp + 0x38], 4
mov rsp, rsp
jbe 0x14003ddce
mov rcx, qword [rsp + 0x30]
call fcn.140072210
mov rbx, rbx
mov rcx, rsi
call fcn.140034e00
mov rcx, rax
call fcn.1400313f0
mov dword [rsp - 0x30], ecx
mov rdx, qword [0x1400a33a0]
mov rcx, rax
xor rdx, qword [0x1400a2a90]
mov dword [rsp - 0x38], 0x78c5057d
call rdx
test eax, eax
je 0x14003e0e4
mov dword [rsp - 0x24], 0x2ae474cc
mov rax, qword [0x1400a33c0]
xor rax, qword [0x1400a2a90]
mov qword [rsp + 0x68], rbp
call rax
mov rdi, rdi
mov rax, qword [rsp + 0x28]
mov ecx, 0x2c7082f4
add ecx, 0x4859813b
xor ecx, 0x523771c9
mov dword [rsp - 0x30], 0x1ded2f11
xor ecx, 0x4341e805
xor ecx, 0x65bc9de1
lea rdx, [rax*2 + 2]
mov r9, r9
mov rax, qword [0x1400a2f60]
xor rax, qword [0x1400a2a90]
call rax
mov rbp, rax
mov dword [rsp - 0x3c], 0x10301b16
test rax, rax
je 0x14003e0c7
mov rdx, qword [0x1400a2f70]
mov rcx, rax
xchg rdx, rdx
xor rdx, qword [0x1400a2a90]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
call rdx
mov rbx, rbx
mov rcx, qword [rsp + 0x28]
mov r15, rax
inc rcx
mov r11, r11
mov eax, 0x3446ee19
xor eax, 0x66b1554e
xor eax, 0x8eb4929
add eax, 0xb904d6
mov dword [rsp - 0x40], 0xc88c9b2
sub eax, 0x5ad5f752
mul rcx
pushf
movabs rbx, 0xffffffff5cddfd6c
xchg rdi, rdi
sub rbx, 0x3ddc1ffc
sub rbx, 0x15b8cdcb
xor rbx, 0x448440f0
mov rsi, rsi
sub rbx, 0x15ecf30c
add rbx, 0x7fffffff
add rbx, 0x481fa3b7
mov r13, r13
popf
cmovo rax, rbx
mov rcx, rax
call fcn.140072200
mov dword [rsp - 0x28], 0x59d0722b
mov rsi, qword [rsp + 0x28]
lea rdi, [rsp + 0x20]
mov r14, rax
cmp rsi, 4
mov rdx, rdx
pushf
mov eax, 0x2ce58cde
xor eax, 0x5afdc7c1
sub eax, 0x3e41d963
mov dword [rsp - 0x40], edi
add eax, 0x42a057e5
xor eax, 0x17521f53
sub eax, 0x6d24d6f0
xchg r14, r14
popf
cmova rdi, qword [rsp + 0x20]
lea rcx, [rsi + 1]
mov dword [rsp - 0x24], 0x5db41be1
mul rcx
cmovo rax, rbx
mov rcx, rax
mov dword [rsp - 0x3c], esi
call fcn.140072200
xor r10d, r10d
mov rbx, rax
mov r9d, r10d
xchg r10, r10
test rsi, rsi
je 0x14003e012
sub rdi, rax
movzx ecx, r9b
mov dword [rsp - 0x28], edi
lea rax, [rax + 2]
and cl, 3
mov r8d, 0xed0852f
mov dword [rsp - 0x30], 0xe897d7b
add r8d, 0x350f68c9
xor r8d, 0x7dc2ad07
xor r8d, 0x74023886
xchg r10, r10
xor r8d, 0x7d535260
xor r8d, 0x162d6e3e
xor r8d, 0x70401a42
shl cl, 3
mov dword [rsp - 0x44], 0x1385f223
inc r9
sar r8d, cl
movsx ecx, r8b
xor cx, word [rdi + rax - 2]
xchg r10, r10
mov word [rax - 2], cx
cmp r9, rsi
jb 0x14003df9e
mov dword [rsp - 0x14], ecx
mov word [rbx + rsi*2], r10w
mov r8, rbx
mov rdx, qword [rsp + 0x28]
mov rcx, r14
mov rcx, rcx
inc rdx
call fcn.140072ae0
mov rcx, rbx
mov dword [rsp - 0x18], 0x6352483c
call fcn.140072210
mov rdx, qword [rsp + 0x28]
mov r8, r14
mov dword [rsp - 0x10], ecx
inc rdx
mov rcx, r15
call fcn.140072ae0
mov dword [rsp - 0x1c], 0x58b578f4
mov rcx, r14
call fcn.140072210
mov rax, qword [0x1400a2f80]
mov rdi, rdi
mov rcx, rbp
xor rax, qword [0x1400a2a90]
call rax
mov dword [rsp - 0x18], 0x68542bc8
mov rax, qword [0x1400a3390]
mov rdx, rbp
xor rax, qword [0x1400a2a90]
mov ecx, 0x508ce452
mov dword [rsp - 0x20], ecx
sub ecx, 0x412fd964
xor ecx, 0x381af303
add ecx, 0x1b3a13ce
sub ecx, 0x52820dae
mov dword [rsp - 0x18], edi
call rax
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
xchg r14, r14
mov rax, qword [0x1400a33b0]
xor rax, qword [0x1400a2a90]
call rax
mov rbp, qword [rsp + 0x68]
mov dword [rsp - 0x2c], 0x461e5fa5
cmp qword [rsp + 0x28], 4
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
mov rsi, rsi
mov rbx, qword [rsp + 0x60]
jbe 0x14003e10b
mov rcx, qword [rsp + 0x20]
call fcn.140072210
xchg r13, r13
add rsp, 0x58
ret