Function at 0x140006710
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
mov dword [rsp - 0x10], ebx
push r12
lea rbp, [rax - 0x5f]
sub rsp, 0xa8
mov dword [rsp - 0x34], 0x50f176cb
mov qword [rax + 8], rbx
lea rcx, [rbp - 0x29]
mov qword [rax + 0x20], rdi
mov dword [rsp - 0x28], 0x7c70a302
mov r12, rdx
mov qword [rax - 0x18], r13
mov rdx, r8
mov r12, r12
mov qword [rax - 0x28], r15
call fcn.140005a90
mov edi, 0x563185e2
sub edi, 0x264fdbdc
mov dword [rsp - 0x10], esp
xor edi, 0x2c798414
add edi, 0x2275b630
add edi, 0xd9f21bbd
mov dword [rbp + 0x6f], edi
mov dword [rsp - 0x2c], 0x66330c31
mov rbx, qword [rax]
cmp byte [rbx], 0
je 0x1400067d5
mov r8d, 0x9ea3c90
mov r9, r9
add r8d, 0x7437c30b
xor r8d, 0x15d9c057
xor r8d, 0x2b982e3e
sub r8d, 0x406011f1
mov dword [rsp - 0x14], 0x5cb66688
lea rcx, [rbp + 0x6f]
mov rdx, rbx
call fcn.14006b380
mov rsi, rsi
inc rbx
cmp byte [rbx], 0
jne 0x14000678b
mov edi, dword [rbp + 0x6f]
mov r11, r11
cmp byte [rbp - 0x21], 0
not edi
je 0x1400067ea
mov rcx, qword [rbp - 0x29]
mov dword [rsp - 0x14], esi
call fcn.140073d00
xor r13d, r13d
lea rcx, [rbp - 9]
mov dword [rsp - 0x10], ebp
mov qword [r12], r13
mov qword [r12 + 8], r13
lea ebx, [r13 + 0x5c]
mov dword [rsp - 0x1c], 0x35ebd9f9
call fcn.14006c930
mov rdx, rax
lea rcx, [rbp - 0x19]
movzx r8d, bx
mov r13, r13
call fcn.14006a7b0
mov r8, qword [0x1400a49d0]
lea rcx, [rbp - 0x29]
mov rdx, rax
mov dword [rsp - 0x1c], esi
call fcn.14006a200
mov rdx, rax
lea rcx, [rbp + 7]
mov dword [rsp - 0x20], ebx
mov r8b, 0x3b
add r8b, 0x3a
sub r8b, 0xe
mov dword [rsp - 0x10], 0x8ff712b
sub r8b, 0x64
xor r8b, 0x6d
sub r8b, 0x2e
sub r8b, 0x3f
xchg r9, r9
call fcn.14006cf50
cmp qword [rbp - 0x21], 4
jbe 0x140006883
mov rcx, qword [rbp - 0x29]
mov dword [rsp - 0x1c], ebx
call fcn.140073d00
cmp qword [rbp - 0x11], 4
jbe 0x140006897
mov dword [rsp - 0x38], edi
mov rcx, qword [rbp - 0x19]
call fcn.140073d00
cmp qword [rbp - 1], 4
xchg r14, r14
jbe 0x1400068aa
mov rcx, qword [rbp - 9]
call fcn.140073d00
lea rcx, [rbp + 7]
mov rsi, rsi
call fcn.14006d2f0
xor r9d, r9d
lea rcx, [rbp + 7]
mov r8d, edi
mov rbp, rbp
mov edx, 0x6d72eb7e
sub edx, 0x11418fc1
xor edx, 0x7b69725
sub edx, 0x281bd3f8
mov rcx, rcx
add edx, 0x911dcdd9
call fcn.14006dd20
mov r15, rax
test rax, rax
mov r15, r15
je 0x140006ab4
mov qword [rsp + 0xd0], rsi
nop
movabs rdi, 0xffffffff190cebf2
mov dword [rsp - 0x34], edx
add rdi, 0x4bde562f
xor rdi, 0x2a5faa88
xor rdi, 0xee07ed5
mov dword [rsp - 0x18], 0x2cfce177
add rdi, 0x1f830610
add rdi, 0x7fffffff
add rdi, 0x20286374
mov dword [rsp - 0x18], ebx
mov qword [rsp + 0x98], r14
mov r14, rdi
nop dword [rax]
mov dword [rsp - 0x34], 0x75f2df24
inc r14
cmp byte [rax + r14], r13b
jne 0x14000695b
mov rax, qword [0x1400a4ed0]
xchg r14, r14
mov r9d, r14d
xor rax, qword [0x1400a4ab0]
mov r8, r15
mov dword [rsp - 0x34], 0x4be7cf6e
mov dword [rsp + 0x28], r13d
xor edx, edx
mov ecx, 0x5568d174
xchg r14, r14
xor ecx, 0x3e29849b
sub ecx, 0x2428ac6b
sub ecx, 0x46af1f9
xor ecx, 0xd0ced61
mov dword [rsp - 0x3c], ebp
sub ecx, 0x4fa05d01
mov qword [rsp + 0x20], r13
call rax
movsxd rbx, eax
xchg rcx, rcx
mov eax, 0x5b3b81bd
sub eax, 0x3d1ea96c
xor eax, 0x6b6647c1
xchg r9, r9
sub eax, 0x1f5e95f8
xor eax, 0x25d7f4e2
sub eax, 0x73cbfd78
xchg rcx, rcx
lea rcx, [rbx + 1]
mul rcx
cmovo rax, rdi
xchg rdx, rdx
mov rcx, rax
call fcn.140073cf0
mov r10, qword [0x1400a4ed0]
mov r12, r12
lea edx, [rbx + 1]
xor r10, qword [0x1400a4ab0]
mov r9d, r14d
xchg r12, r12
mov dword [rsp + 0x28], edx
mov r8, r15
xor edx, edx
mov dword [rsp - 0x44], esi
mov qword [rsp + 0x20], rax
mov ecx, 0x61b6915a
xor ecx, 0x15c86dba
sub ecx, 0x6a38c6a3
mov dword [rsp - 0x20], 0x548eb478
xor ecx, 0x71b8722d
sub ecx, 0x7bfd4627
mov rdi, rax
call r10
xchg r9, r9
mov rdx, rdi
mov word [rdi + rbx*2], r13w
mov rcx, r12
call fcn.14006a0a0
mov r8, r8
mov rcx, rdi
call fcn.140073d00
mov rcx, r15
call fcn.140073d00
mov r11, r11
mov r14, qword [rsp + 0x98]
mov ebx, 0x207b12cb
xor ebx, 0x3cd98536
sub ebx, 0xa71ad14
mov dword [rsp - 0x44], esi
xor ebx, 0x1730c03b
sub ebx, 0x5002a76
mov rsi, qword [rsp + 0xd0]
mov rcx, rcx
jmp 0x140006b89
mov r9d, 0x324953a6
add r9d, 0x1c2e17f
xor r9d, 0x1578770d
add r9d, 0x2cf4910c
mov rbp, rbp
xor r9d, 0x3680ac7
sub r9d, 0x4d00d9e9
lea rdx, [rbp - 9]
lea rcx, [0x1400a5f50]
xchg r8, r8
lea r8d, [r9 - 5]
call fcn.14006f470
mov rdx, rax
mov dword [rsp - 0x38], ebp
mov rcx, r12
call fcn.140069f60
cmp qword [rbp - 1], 4
mov dword [rsp - 0x10], ebp
jbe 0x140006b1a
mov rcx, qword [rbp - 9]
call fcn.140073d00
mov rdx, r12
mov rdx, rdx
lea rcx, [rbp - 9]
call fcn.140005a90
mov r8d, edi
lea rcx, [rbp + 7]
xchg r13, r13
mov edx, 0x14bb03f1
xor edx, 0x33efa64e
xor edx, 0x17705cc7
sub edx, 0xcd0c5e6
mov dword [rsp - 0x38], 0x21aa9709
add edx, 0x10451e06
add edx, 0x90f074e1
mov r9, qword [rax]
xchg rsi, rsi
call fcn.14006e450
cmp byte [rbp - 1], r13b
je 0x140006b80
mov rcx, qword [rbp - 9]
mov dword [rsp - 0x34], 0x51314786
call fcn.140073d00
lea rcx, [rbp + 7]
call fcn.14006de60
lea rcx, [rbp - 0x29]
mov r8, r8
call fcn.14006c930
mov rdx, rax
lea rcx, [rbp - 0x19]
movzx r8d, bx
mov rsi, rsi
call fcn.14006a7b0
mov rdx, rax
lea rcx, [rbp - 9]
mov dword [rsp - 0x40], 0x1b2e745d
mov r8, r12
call fcn.14006a200
mov rcx, rax
xor edx, edx
mov dword [rsp - 0x44], edx
call fcn.14006c7b0
cmp qword [rbp - 1], 4
mov r15, qword [rsp + 0x90]
xchg rdx, rdx
mov r13, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xc0]
xchg r14, r14
jbe 0x140006c03
mov rcx, qword [rbp - 9]
call fcn.140073d00
cmp qword [rbp - 0x11], 4
mov dword [rsp - 0x44], ebp
jbe 0x140006c1a
mov rcx, qword [rbp - 0x19]
call fcn.140073d00
mov r15, r15
cmp qword [rbp - 0x21], 4
jbe 0x140006c2d
mov rcx, qword [rbp - 0x29]
call fcn.140073d00
xchg rdi, rdi
lea rcx, [rbp + 7]
call fcn.14006d130
mov rax, r12
add rsp, 0xa8
xchg rsi, rsi
pop r12
pop rbp
ret