Function at 0x1400311f0
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], 0x17070807
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 + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031240
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030e00
mov r13d, eax
mov r8d, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x6050a08
mov byte [rbp + 0x6b], al
nop dword [rax]
movsxd rcx, r8d
lea rdx, [rbp + 0x67]
add rdx, rcx
lea ecx, [r8 + 0x64]
inc r8d
xor byte [rdx], cl
cmp r8d, 4
jb 0x140031280
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], al
mov edx, esi
mov rcx, r14
call fcn.140030e00
mov dword [rdi + 0x18], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x307000c
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x1400312c0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030e00
mov dword [rdi + 0x1c], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x11f0903
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031300
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030e00
mov dword [rdi + 0x20], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x6030d0c
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031340
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030e00
mov dword [rdi + 0x24], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x1f12080c
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031380
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030e00
mov dword [rdi + 0x28], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x914000f
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x1400313c0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030e00
mov dword [rdi + 0x2c], eax
mov edx, ebx
xor eax, eax
mov dword [rbp + 0x67], 0x34293523
mov byte [rbp + 0x6b], al
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031400
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.140030e00
mov dword [rdi + 0x30], eax
test r13d, r13d
je 0x14003145c
cmp dword [rdi + 0x1c], ebx
je 0x14003145c
cmp dword [rdi + 0x24], ebx
je 0x14003145c
cmp dword [rdi + 0x28], ebx
je 0x14003145c
cmp dword [rdi + 0x20], ebx
je 0x14003147e
cmp dword [rdi + 0x18], ebx
jne 0x140031869
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], 0x47202327
nop
movsxd rax, edx
lea rcx, [rbp + 0x67]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x1400314a0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030e00
test eax, eax
je 0x14003145c
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 0x140031532
xor al, al
jmp 0x14003153d
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.140030440
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140030440
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x29], xmm0
call fcn.140030960
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x49], xmm0
call fcn.140030440
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140030440
mov r8d, 0x11
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x60], xmm0
call fcn.1400307b0
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
nop
mov eax, dword [rbp - 0x4d]
cmp dword [rbp - 0x51], eax
jge 0x1400315de
lea rcx, [rbp - 0x59]
call fcn.140030570
mov dword [rbp + rsi*4 + 0x7f], eax
inc rsi
cmp rsi, 1
jl 0x1400315c0
mov r8d, 0x106
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.1400307b0
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 0x14003161e
lea rcx, [rbp - 0x59]
call fcn.140030570
mov dword [rbp + rsi*4 + 0x6f], eax
inc rsi
cmp rsi, 1
jl 0x140031600
mov r8d, 0x124
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.1400307b0
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 0x14003165e
lea rcx, [rbp - 0x59]
call fcn.140030570
mov dword [rbp + rsi*4 - 9], eax
inc rsi
cmp rsi, 1
jl 0x140031640
mov r8d, 0x125
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.1400307b0
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 0x14003169e
lea rcx, [rbp - 0x59]
call fcn.140030570
mov dword [rbp + rsi*4 - 5], eax
inc rsi
cmp rsi, 1
jl 0x140031680
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.1400307b0
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [rbp - 0xd]
cmp dword [rbp - 0x11], eax
jge 0x1400316f1
lea rcx, [rbp - 0x19]
call fcn.140030570
mov dword [rbp + rsi*4 - 0x49], eax
inc rsi
cmp rsi, r15
jl 0x1400316d4
movsxd r12, dword [rbp - 0x45]
mov r15d, dword [rbp - 0x2d]
test r12d, r12d
je 0x1400317a8
mov ecx, dword [rbp - 0x49]
test ecx, ecx
je 0x1400317a8
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rbx
test r12d, r12d
js 0x14003173b
test ecx, ecx
js 0x14003173b
cmp r12d, r15d
jg 0x14003173b
mov eax, r15d
sub eax, r12d
cmp ecx, eax
jg 0x14003173b
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.1400307b0
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [rbp - 0xd]
cmp dword [rbp - 0x11], eax
jge 0x14003177f
lea rcx, [rbp - 0x19]
call fcn.140030570
mov dword [rbp + rsi*4 + 0x67], eax
inc rsi
cmp rsi, 1
jl 0x140031761
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x1400317a8
add eax, r12d
cmp eax, r15d
jg 0x140031795
mov dword [rbp - 0x21], eax
test eax, eax
jns 0x140031799
mov dword [rbp - 0x21], r15d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.140030440
jmp 0x1400317b0
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 0x14003145c
mov r12d, dword [rbp + 0x7f]
test r12d, r12d
je 0x14003145c
mov eax, dword [rbp - 9]
test eax, eax
je 0x140031840
movsxd rsi, dword [rbp - 5]
test esi, esi
je 0x14003145c
cmp eax, r15d
jg 0x1400317ee
mov dword [rbp - 0x31], eax
test eax, eax
jns 0x1400317f2
mov dword [rbp - 0x31], r15d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.140030440
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 0x140031835
test ecx, ecx
js 0x140031835
cmp esi, r15d
jg 0x140031835
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 0x14003184e
mov dword [rbp - 0x31], r12d
test r12d, r12d
jns 0x140031852
mov dword [rbp - 0x31], r15d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.140030440
mov esi, dword [rbp + 0x77]
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x50], xmm0
xor eax, eax
mov dword [rbp + 0x67], 0x171e0409
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 + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140031880
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140030e00
test eax, eax
je 0x1400318c0
mov eax, eax
movzx ecx, byte [rax + r14 + 4]
movzx edx, byte [rax + r14 + 5]
shl ecx, 8
add edx, ecx
jmp 0x1400318c5
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 0x14003145c
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 0x140031938
cmp edx, 3
jne 0x140031961
movzx ecx, byte [r8 + 2]
movzx eax, byte [r8 + 3]
shl ecx, 8
add ecx, eax
sub ecx, 1
je 0x140031929
cmp ecx, 9
jne 0x140031961
movzx edx, byte [r8 + 4]
movzx eax, byte [r8 + 5]
shl edx, 8
jmp 0x140031945
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 0x1400318f0
cmp dword [rdi + 0x38], 0
je 0x14003145c
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 0x14003145e