Function at 0x1400311d0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rbx
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x2f]
sub rsp, 0xa8
xor ebx, ebx
mov qword [rcx + 8], rdx
mov qword [rbp - 0x59], rbx
xor eax, eax
mov qword [rbp - 0x51], rbx
mov r14, rdx
movups xmm0, xmmword [rbp - 0x59]
mov esi, r8d
mov dword [rcx + 0x10], r8d
mov rdi, rcx
mov dword [rbp + 0x67], 0x9c8a878a
movups xmmword [rcx + 0x40], xmm0
mov byte [rbp + 0x6b], al
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031220
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030de0
mov r13d, eax
mov r8d, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x8d888585
mov byte [rbp + 0x6b], al
nop dword [rax]
movsxd rcx, r8d
lea rdx, [rbp + 0x67]
add rdx, rcx
lea ecx, [r8 - 0x17]
inc r8d
xor byte [rdx], cl
cmp r8d, 4
jb 0x140031260
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], al
mov edx, esi
mov rcx, r14
call fcn.140030de0
mov dword [rdi + 0x18], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x888a8f81
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x1400312a0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030de0
mov dword [rdi + 0x1c], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x8a92868e
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x1400312e0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030de0
mov dword [rdi + 0x20], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x8d8e8281
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031320
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030de0
mov dword [rdi + 0x24], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x949f8781
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031360
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030de0
mov dword [rdi + 0x28], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x82998f82
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x1400313a0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030de0
mov dword [rdi + 0x2c], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0xbfa4baae
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x1400313e0
mov qword [rsp + 0xa0], r12
lea r8, [rbp + 0x67]
mov edx, esi
mov qword [rsp + 0x98], r15
mov rcx, r14
mov byte [rbp + 0x6b], bl
call fcn.140030de0
mov dword [rdi + 0x30], eax
test r13d, r13d
je 0x14003143c
cmp dword [rdi + 0x1c], ebx
je 0x14003143c
cmp dword [rdi + 0x24], ebx
je 0x14003143c
cmp dword [rdi + 0x28], ebx
je 0x14003143c
cmp dword [rdi + 0x20], ebx
je 0x14003145e
cmp dword [rdi + 0x18], ebx
jne 0x140031849
xor eax, eax
mov r15, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
add rsp, 0xa8
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r15d, 2
mov dword [rbp + 0x7f], ebx
xor eax, eax
mov dword [rbp + 0x6f], r15d
mov byte [rbp + 0x6b], al
mov edx, ebx
mov dword [rbp - 9], ebx
mov dword [rbp - 5], ebx
mov dword [rbp + 0x67], 0xccadacaa
nop
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031480
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030de0
test eax, eax
je 0x14003143c
mov qword [rbp - 0x59], rbx
mov ecx, 0x20000000
mov qword [rbp - 0x51], rbx
movups xmm0, xmmword [rbp - 0x59]
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x59], rbx
movups xmmword [rdi + 0x80], xmm0
mov eax, eax
movups xmm0, xmmword [rbp - 0x59]
add rax, r14
mov dword [rbp - 0x4d], ecx
mov qword [rbp - 0x59], rax
movups xmmword [rdi + 0x90], xmm0
mov dword [rbp - 0x51], ebx
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x39], xmm0
mov edx, dword [rbp - 0x2d]
movups xmmword [rdi + 0x40], xmm0
psrldq xmm0, 8
movq rax, xmm0
shr rax, 0x20
cmp eax, r15d
cmovge ecx, r15d
cmp ecx, edx
jl 0x140031512
xor al, al
jmp 0x14003151d
mov rax, qword [rbp - 0x39]
movsxd rcx, ecx
movzx eax, byte [rcx + rax]
movzx eax, al
lea rcx, [rbp - 0x29]
cmp eax, edx
cmovle edx, eax
mov dword [rbp - 0x31], edx
lea rdx, [rbp - 0x39]
call fcn.140030420
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140030420
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x29], xmm0
call fcn.140030940
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x49], xmm0
call fcn.140030420
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140030420
mov r8d, 0x11
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x60], xmm0
call fcn.140030790
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
nop
mov eax, dword [rbp - 0x4d]
cmp dword [rbp - 0x51], eax
jge 0x1400315be
lea rcx, [rbp - 0x59]
call fcn.140030550
mov dword [rbp + rsi*4 + 0x7f], eax
inc rsi
cmp rsi, 1
jl 0x1400315a0
mov r8d, 0x106
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.140030790
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
nop dword [rax + rax]
mov eax, dword [rbp - 0x4d]
cmp dword [rbp - 0x51], eax
jge 0x1400315fe
lea rcx, [rbp - 0x59]
call fcn.140030550
mov dword [rbp + rsi*4 + 0x6f], eax
inc rsi
cmp rsi, 1
jl 0x1400315e0
mov r8d, 0x124
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.140030790
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
nop dword [rax + rax]
mov eax, dword [rbp - 0x4d]
cmp dword [rbp - 0x51], eax
jge 0x14003163e
lea rcx, [rbp - 0x59]
call fcn.140030550
mov dword [rbp + rsi*4 - 9], eax
inc rsi
cmp rsi, 1
jl 0x140031620
mov r8d, 0x125
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.140030790
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
nop dword [rax + rax]
mov eax, dword [rbp - 0x4d]
cmp dword [rbp - 0x51], eax
jge 0x14003167e
lea rcx, [rbp - 0x59]
call fcn.140030550
mov dword [rbp + rsi*4 - 5], eax
inc rsi
cmp rsi, 1
jl 0x140031660
movaps xmm0, xmmword [rbp - 0x49]
lea rdx, [rbp - 0x19]
movaps xmm1, xmmword [rbp - 0x39]
lea rcx, [rbp - 1]
mov r8d, 0x12
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmmword [rbp - 0x29], xmm1
mov dword [rbp + 0x67], ebx
mov qword [rbp - 0x49], rbx
call fcn.140030790
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [rbp - 0xd]
cmp dword [rbp - 0x11], eax
jge 0x1400316d1
lea rcx, [rbp - 0x19]
call fcn.140030550
mov dword [rbp + rsi*4 - 0x49], eax
inc rsi
cmp rsi, r15
jl 0x1400316b4
movsxd r12, dword [rbp - 0x45]
mov r15d, dword [rbp - 0x2d]
test r12d, r12d
je 0x140031788
mov ecx, dword [rbp - 0x49]
test ecx, ecx
je 0x140031788
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rbx
test r12d, r12d
js 0x14003171b
test ecx, ecx
js 0x14003171b
cmp r12d, r15d
jg 0x14003171b
mov eax, r15d
sub eax, r12d
cmp ecx, eax
jg 0x14003171b
mov rax, r12
mov dword [rbp - 0x3d], ecx
add rax, qword [rbp - 0x39]
mov qword [rbp - 0x49], rax
movaps xmm0, xmmword [rbp - 0x49]
lea rdx, [rbp - 0x19]
mov r8d, 0x13
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x49]
call fcn.140030790
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [rbp - 0xd]
cmp dword [rbp - 0x11], eax
jge 0x14003175f
lea rcx, [rbp - 0x19]
call fcn.140030550
mov dword [rbp + rsi*4 + 0x67], eax
inc rsi
cmp rsi, 1
jl 0x140031741
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x140031788
add eax, r12d
cmp eax, r15d
jg 0x140031775
mov dword [rbp - 0x21], eax
test eax, eax
jns 0x140031779
mov dword [rbp - 0x21], r15d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.140030420
jmp 0x140031790
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
cmp dword [rbp + 0x6f], 2
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rdi + 0x70], xmm0
jne 0x14003143c
mov r12d, dword [rbp + 0x7f]
test r12d, r12d
je 0x14003143c
mov eax, dword [rbp - 9]
test eax, eax
je 0x140031820
movsxd rsi, dword [rbp - 5]
test esi, esi
je 0x14003143c
cmp eax, r15d
jg 0x1400317ce
mov dword [rbp - 0x31], eax
test eax, eax
jns 0x1400317d2
mov dword [rbp - 0x31], r15d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.140030420
mov r15d, dword [rbp - 0x2d]
mov ecx, r15d
sub ecx, esi
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rbx
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x80], xmm0
test esi, esi
js 0x140031815
test ecx, ecx
js 0x140031815
cmp esi, r15d
jg 0x140031815
mov rax, rsi
mov dword [rbp - 0x3d], ecx
add rax, qword [rbp - 0x39]
mov qword [rbp - 0x49], rax
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rdi + 0x90], xmm0
cmp r12d, r15d
jg 0x14003182e
mov dword [rbp - 0x31], r12d
test r12d, r12d
jns 0x140031832
mov dword [rbp - 0x31], r15d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.140030420
mov esi, dword [rbp + 0x77]
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x50], xmm0
xor eax, eax
mov dword [rbp + 0x67], 0x9c938b84
mov byte [rbp + 0x6b], al
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031860
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030de0
test eax, eax
je 0x1400318a0
mov eax, eax
movzx ecx, byte [rax + r14 + 4]
movzx edx, byte [rax + r14 + 5]
shl ecx, 8
add edx, ecx
jmp 0x1400318a5
mov edx, 0xffff
mov dword [rdi + 0x14], edx
mov dword [rdi + 0x34], 0xffffffff
movzx r9d, byte [r13 + r14 + 2]
movzx eax, byte [r13 + r14 + 3]
shl r9d, 8
mov dword [rdi + 0x38], ebx
add r9d, eax
je 0x14003143c
nop dword [rax + rax]
lea r8d, [r13 + 4]
lea r8d, [r8 + rbx*8]
add r8, r14
movzx edx, byte [r8]
movzx eax, byte [r8 + 1]
shl edx, 8
add edx, eax
je 0x140031918
cmp edx, 3
jne 0x140031941
movzx ecx, byte [r8 + 2]
movzx eax, byte [r8 + 3]
shl ecx, 8
add ecx, eax
sub ecx, 1
je 0x140031909
cmp ecx, 9
jne 0x140031941
movzx edx, byte [r8 + 4]
movzx eax, byte [r8 + 5]
shl edx, 8
jmp 0x140031925
movzx eax, byte [r8 + 4]
movzx edx, byte [r8 + 5]
shl eax, 8
movzx ecx, byte [r8 + 7]
add edx, eax
movzx eax, byte [r8 + 6]
shl edx, 8
add eax, edx
shl eax, 8
add eax, r13d
add ecx, eax
mov dword [rdi + 0x38], ecx
inc ebx
cmp ebx, r9d
jl 0x1400318d0
cmp dword [rdi + 0x38], 0
je 0x14003143c
movsxd rax, dword [rdi + 0x1c]
movzx ecx, byte [rax + r14 + 0x32]
movzx edx, byte [rax + r14 + 0x33]
mov eax, 1
shl ecx, 8
add edx, ecx
mov dword [rdi + 0x3c], edx
jmp 0x14003143e