Function at 0x140010250
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
cmp ecx, 0xc
jg 0x14001051a
je 0x1400104cc
cmp ecx, 6
jg 0x140010390
je 0x140010342
test ecx, ecx
je 0x140010334
sub ecx, 1
je 0x140010326
sub ecx, 1
je 0x1400102ce
sub ecx, 1
je 0x1400102c0
sub ecx, 1
je 0x1400102b2
cmp ecx, 1
jne 0x140010730
lea rcx, [rbp + 0x10]
call fcn.140010138
jmp 0x1400107b7
lea rcx, [rbp + 0x10]
call fcn.14000fbc8
jmp 0x1400107b7
lea rcx, [rbp + 0x10]
call fcn.14000ffac
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x50004f
mov dword [rbp - 0x1c], 0x61007b
mov dword [rbp - 0x18], 0x7e007c
mov dword [rbp - 0x14], 0x66007a
lea ecx, [rbx + 1]
mov dword [rbp - 0x10], 0x13007e
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 9]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x14001030b
jmp 0x1400107b7
lea rcx, [rbp + 0x10]
call fcn.1400100a8
jmp 0x1400107b7
lea rcx, [rbp + 0x10]
call fcn.1400101d0
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x52004f
mov dword [rbp - 0x1c], 0x7a007e
mov dword [rbp - 0x18], 0x7c0074
mov word [rbp - 0x14], bx
lea ecx, [rbx - 5]
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 0xc]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x140010375
jmp 0x1400107b7
sub ecx, 7
je 0x140010477
sub ecx, 1
je 0x140010422
sub ecx, 1
je 0x140010414
sub ecx, 1
je 0x1400103c3
cmp ecx, 1
jne 0x140010730
lea rcx, [rbp + 0x10]
call fcn.14000fe14
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x58004f
mov dword [rbp - 0x1c], 0x7e007c
mov dword [rbp - 0x18], 0x670076
mov dword [rbp - 0x14], 0x130072
lea ecx, [rbx - 3]
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 0xb]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x1400103f9
jmp 0x1400107b7
lea rcx, [rbp + 0x10]
call fcn.14001002c
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x5c004f
mov dword [rbp - 0x1c], 0x710061
mov dword [rbp - 0x18], 0x67007a
mov dword [rbp - 0x14], 0x7e0066
lea ecx, [rbx - 1]
mov word [rbp - 0x10], bx
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 0xa]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x14001045c
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x45004f
mov dword [rbp - 0x1c], 0x65007a
mov dword [rbp - 0x18], 0x7f0072
mov dword [rbp - 0x14], 0x7a0077
lea ecx, [rbx - 1]
mov word [rbp - 0x10], bx
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 0xa]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x1400104b1
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x47004f
mov dword [rbp - 0x1c], 0x61007c
mov dword [rbp - 0x18], 0x7b0070
mov word [rbp - 0x14], bx
lea ecx, [rbx - 5]
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 0xc]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x1400104ff
jmp 0x1400107b7
mov edx, 0x12
cmp ecx, edx
jg 0x14001070b
je 0x1400106b3
sub ecx, 0xd
je 0x140010662
sub ecx, 1
je 0x14001060d
sub ecx, 1
je 0x1400105b5
sub ecx, 1
je 0x140010560
cmp ecx, 1
jne 0x140010730
lea rcx, [rbp + 0x10]
call fcn.14000fd00
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x58004f
mov rcx, rdx
mov word [rbp - 0x10], bx
mov dword [rbp - 0x1c], 0x5e003e
mov dword [rbp - 0x18], 0x7f0076
mov dword [rbp - 0x14], 0x7d007c
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 0xa]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x14001059a
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x5e004f
mov dword [rbp - 0x1c], 0x6b0072
mov dword [rbp - 0x18], 0x7b0067
mov dword [rbp - 0x14], 0x7d007c
lea ecx, [rbx + 1]
mov dword [rbp - 0x10], 0x130020
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 9]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x1400105f2
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x40004f
mov rcx, rdx
mov word [rbp - 0x10], bx
mov dword [rbp - 0x1c], 0x7a007f
mov dword [rbp - 0x18], 0x79007e
mov dword [rbp - 0x14], 0x670076
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 0xa]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x140010647
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x50004f
mov dword [rbp - 0x1c], 0x7e007c
mov dword [rbp - 0x18], 0x77007c
mov dword [rbp - 0x14], 0x13007c
lea ecx, [rbx - 3]
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 0xb]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x140010698
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x20], 0x5d004f
mov dword [rbp - 0x1c], 0x70007a
mov dword [rbp - 0x18], 0x61007b
mov dword [rbp - 0x14], 0x7e007c
lea ecx, [rbx + 1]
mov dword [rbp - 0x10], 0x130076
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
lea edx, [rbx - 9]
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x1400106f0
jmp 0x1400107b7
mov ebx, SafeArrayUnaccessData
sub ecx, ebx
je 0x1400107ae
sub ecx, 1
je 0x1400107a3
sub ecx, 1
je 0x14001074f
sub ecx, 1
je 0x140010744
cmp ecx, 1
je 0x140010739
lea rax, [0x140014680]
jmp 0x1400107b7
lea rcx, [rbp + 0x10]
call fcn.14000fd84
jmp 0x1400107b7
lea rcx, [rbp + 0x10]
call fcn.14000fe94
jmp 0x1400107b7
mov ecx, SafeArrayGetElement
mov dword [rbp - 0x20], 0x50004f
mov dword [rbp - 0x1c], 0x61007b
mov dword [rbp - 0x18], 0x7e007c
mov dword [rbp - 0x14], 0x77007c
mov dword [rbp - 0x10], 0x13007c
call fcn.14000257c
lea r9, [rbp - 0x20]
mov r8, rax
sub r9, rax
mov edx, 0xa
movzx ecx, word [r9 + r8]
xor cx, bx
mov word [r8], cx
lea r8, [r8 + 2]
sub rdx, 1
jne 0x14001078b
jmp 0x1400107b7
lea rcx, [rbp + 0x10]
call fcn.14000fc80
jmp 0x1400107b7
lea rcx, [rbp + 0x10]
call fcn.14000ff2c
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret