Function at 0x140032920
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 0x140032970
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140032530
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 0x1400329b0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], al
mov edx, esi
mov rcx, r14
call fcn.140032530
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 0x1400329f0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140032530
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 0x140032a30
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140032530
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 0x140032a70
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140032530
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 0x140032ab0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140032530
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 0x140032af0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140032530
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 0x140032b30
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.140032530
mov dword [rdi + 0x30], eax
test r13d, r13d
je 0x140032b8c
cmp dword [rdi + 0x1c], ebx
je 0x140032b8c
cmp dword [rdi + 0x24], ebx
je 0x140032b8c
cmp dword [rdi + 0x28], ebx
je 0x140032b8c
cmp dword [rdi + 0x20], ebx
je 0x140032bae
cmp dword [rdi + 0x18], ebx
jne 0x140032f99
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 0x140032bd0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140032530
test eax, eax
je 0x140032b8c
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 0x140032c62
xor al, al
jmp 0x140032c6d
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.140031b70
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140031b70
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x29], xmm0
call fcn.140032090
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x49], xmm0
call fcn.140031b70
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140031b70
mov r8d, 0x11
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x60], xmm0
call fcn.140031ee0
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
nop
mov eax, dword [rbp - 0x4d]
cmp dword [rbp - 0x51], eax
jge 0x140032d0e
lea rcx, [rbp - 0x59]
call fcn.140031ca0
mov dword [rbp + rsi*4 + 0x7f], eax
inc rsi
cmp rsi, 1
jl 0x140032cf0
mov r8d, 0x106
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.140031ee0
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 0x140032d4e
lea rcx, [rbp - 0x59]
call fcn.140031ca0
mov dword [rbp + rsi*4 + 0x6f], eax
inc rsi
cmp rsi, 1
jl 0x140032d30
mov r8d, 0x124
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.140031ee0
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 0x140032d8e
lea rcx, [rbp - 0x59]
call fcn.140031ca0
mov dword [rbp + rsi*4 - 9], eax
inc rsi
cmp rsi, 1
jl 0x140032d70
mov r8d, 0x125
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.140031ee0
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 0x140032dce
lea rcx, [rbp - 0x59]
call fcn.140031ca0
mov dword [rbp + rsi*4 - 5], eax
inc rsi
cmp rsi, 1
jl 0x140032db0
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.140031ee0
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [rbp - 0xd]
cmp dword [rbp - 0x11], eax
jge 0x140032e21
lea rcx, [rbp - 0x19]
call fcn.140031ca0
mov dword [rbp + rsi*4 - 0x49], eax
inc rsi
cmp rsi, r15
jl 0x140032e04
movsxd r12, dword [rbp - 0x45]
mov r15d, dword [rbp - 0x2d]
test r12d, r12d
je 0x140032ed8
mov ecx, dword [rbp - 0x49]
test ecx, ecx
je 0x140032ed8
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rbx
test r12d, r12d
js 0x140032e6b
test ecx, ecx
js 0x140032e6b
cmp r12d, r15d
jg 0x140032e6b
mov eax, r15d
sub eax, r12d
cmp ecx, eax
jg 0x140032e6b
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.140031ee0
mov rsi, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [rbp - 0xd]
cmp dword [rbp - 0x11], eax
jge 0x140032eaf
lea rcx, [rbp - 0x19]
call fcn.140031ca0
mov dword [rbp + rsi*4 + 0x67], eax
inc rsi
cmp rsi, 1
jl 0x140032e91
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x140032ed8
add eax, r12d
cmp eax, r15d
jg 0x140032ec5
mov dword [rbp - 0x21], eax
test eax, eax
jns 0x140032ec9
mov dword [rbp - 0x21], r15d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.140031b70
jmp 0x140032ee0
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 0x140032b8c
mov r12d, dword [rbp + 0x7f]
test r12d, r12d
je 0x140032b8c
mov eax, dword [rbp - 9]
test eax, eax
je 0x140032f70
movsxd rsi, dword [rbp - 5]
test esi, esi
je 0x140032b8c
cmp eax, r15d
jg 0x140032f1e
mov dword [rbp - 0x31], eax
test eax, eax
jns 0x140032f22
mov dword [rbp - 0x31], r15d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.140031b70
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 0x140032f65
test ecx, ecx
js 0x140032f65
cmp esi, r15d
jg 0x140032f65
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 0x140032f7e
mov dword [rbp - 0x31], r12d
test r12d, r12d
jns 0x140032f82
mov dword [rbp - 0x31], r15d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.140031b70
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 0x140032fb0
lea r8, [rbp + 0x67]
mov byte [rbp + 0x6b], bl
mov edx, esi
mov rcx, r14
call fcn.140032530
test eax, eax
je 0x140032ff0
mov eax, eax
movzx ecx, byte [rax + r14 + 4]
movzx edx, byte [rax + r14 + 5]
shl ecx, 8
add edx, ecx
jmp 0x140032ff5
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 0x140032b8c
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 0x140033068
cmp edx, 3
jne 0x140033091
movzx ecx, byte [r8 + 2]
movzx eax, byte [r8 + 3]
shl ecx, 8
add ecx, eax
sub ecx, 1
je 0x140033059
cmp ecx, 9
jne 0x140033091
movzx edx, byte [r8 + 4]
movzx eax, byte [r8 + 5]
shl edx, 8
jmp 0x140033075
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 0x140033020
cmp dword [rdi + 0x38], 0
je 0x140032b8c
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 0x140032b8e