Function at 0x1000bfbf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1003fe1f8]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea r15, [0x100000000]
mov r13d, 0xfffffff
mov rax, qword [rcx + 0x10]
lea r8, section..data
lea r9, [rax + 0xd]
lea rdi, [r9 - 1]
mov qword [rsp + 0x78], rcx
mov ecx, dword [rax + 5]
mov ebp, dword [rax + 9]
mov r14d, dword [rax + 1]
and rbp, r13
and rcx, r13
and r14, r13
add rbp, r15
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], r14
xor r12d, r12d
mov qword [rsp + 0x70], rbp
cmp rdi, r8
jb 0x1000bfcaf
mov ecx, dword [0x10028bffc]
mov eax, dword [0x100015b94]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x1000bfcaf
mov rax, rdi
mov ecx, dword [0x100015b94]
sub rax, r8
cqo
idiv rcx
mov edx, dword [0x100015b94]
imul rdx, rax
add r8, rdx
jmp 0x1000bfcb2
mov r8, r12
cmp r8, r12
jne 0x1000bfcc1
mov r8, rdi
and r8, 0xffffffffffff0000
mov ebx, ebp
sub r9, r8
lea rax, [r9 - 0x40]
cmp rax, r12
mov r9d, dword [0x100015b94]
cmovl rax, r12
lea rdi, [r8 + rax]
sub r9, r14
sub ebx, r15d
mov dword [rsp + 0x28], ebx
xor eax, eax
lea ecx, [rax + 0x40]
rep stosb byte [rdi], al
inc r9
cmp r9, r12
mov rdi, r9
je 0x1000bfd2e
mov rcx, qword [0x1003feeb8]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr rdi, 0x10
add rcx, 0x269ec3
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
cmp rdi, r12
jne 0x1000bfcff
mov qword [0x1003feeb8], rcx
xor edx, edx
div r9
mov ecx, ebx
lea rsi, [rdx + r8]
mov rdx, r14
mov r8, rsi
mov qword [rsp + 0x68], rsi
mov eax, 0x12415055
mov rdx, qword [r14 + rbp]
lea rcx, [rsp + 0x58]
mov dil, r12b
mov qword [rsp + 0x58], rdx
mov eax, 0xd435beb2
mov r10, qword [rsp + 0x58]
mov rax, qword [0x10014d838]
mov r9d, dword [rsp + 0x5c]
mov qword [rsp + 0x30], r12
mov rcx, r15
and r10, r13
and r9, r13
mov r13d, 4
add r10, r15
sub rcx, rax
mov qword [rsp + 0x20], rcx
jne 0x1000bfdfa
cmp r9, r12
mov r8, r12
jbe 0x1000c00cf
mov edx, dword [rsp + 0x30]
mov r15d, 0x7028c642
mov ecx, dword [rsp + 0x34]
movzx eax, byte [r8 + r10]
inc r8
add eax, r15d
add edx, eax
add eax, ecx
imul rax, rax, 0x7028c642
mov qword [rsp + 0x20], rax
mov ecx, dword [rsp + 0x20]
shr rax, 0x20
add eax, ecx
imul rax, rax, 0x7028c642
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
add ecx, eax
add edx, ecx
cmp r8, r9
jb 0x1000bfdab
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x30], edx
jmp 0x1000c00cf
lea rax, [r10 + r9]
mov rbx, 0xfffffffffffff000
movsxd rcx, dword [0x10000003c]
mov r8d, dword [rcx + r15 + 0xb0]
mov ecx, dword [rcx + r15 + 0xb4]
mov qword [rsp + 0x48], rax
add r8, r15
mov eax, r10d
sub eax, r15d
mov r11d, eax
mov esi, eax
add rax, r9
and r11, rbx
mov r12, rax
and r12, rbx
sub rsi, r11
sub rax, r12
add rcx, r8
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rax
jmp 0x1000bfe5f
mov eax, dword [r8]
cmp rax, r11
jae 0x1000bfe64
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x1000bfe50
xor ebx, ebx
cmp r8, rcx
je 0x1000bfea2
mov eax, dword [r8]
cmp rax, r11
jne 0x1000bfea2
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1000bfe9d
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rsi
jae 0x1000bfe9d
inc rbx
add rdx, 2
cmp rbx, rcx
jne 0x1000bfe84
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x30]
mov r15d, 0x7028c642
mov rbp, qword [rsp + 0x20]
cmp r8, rcx
je 0x1000c0059
mov eax, dword [r8]
cmp rax, r12
ja 0x1000c0059
mov edi, dword [r8 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp rbx, rax
jne 0x1000bfef7
add r8, rdi
cmp r8, rcx
je 0x1000c0059
mov eax, dword [r8]
cmp rax, r12
ja 0x1000c0059
xor ebx, ebx
jmp 0x1000bfecb
mov eax, dword [r8]
cmp rax, r12
jne 0x1000bff15
movzx eax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, qword [rsp + 0x50]
jae 0x1000c0059
mov rax, rbx
inc rbx
mov edi, 0xf000
test word [r8 + rax*2 + 8], di
je 0x1000bfeb6
xor edi, edi
movzx r11d, word [r8 + rax*2 + 8]
mov esi, r11d
and esi, 0xfff
lea rax, [0x100000000]
add esi, dword [r8]
add rsi, rax
mov rax, rsi
sub rax, r10
je 0x1000bff9e
mov r14, rax
movzx eax, byte [rdi + r10]
inc rdi
add eax, r15d
add r9d, eax
add eax, edx
imul rax, rax, 0x7028c642
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x38]
shr rax, 0x20
add eax, ecx
imul rax, rax, 0x7028c642
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x38]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp rdi, r14
jb 0x1000bff51
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x30], r9d
mov rax, qword [rsi]
mov qword [rsp + 0x38], rax
shr r11d, 0xc
cmp r11d, 3
je 0x1000bffc0
sub r11d, 0xa
neg r11d
sbb r10d, r10d
add r10d, 3
jmp 0x1000bffc6
mov r10d, 2
mov r11, rbp
neg r11
sub r10d, 2
je 0x1000bffee
cmp r10d, 1
je 0x1000bffde
or r10, 0xffffffffffffffff
jmp 0x1000bfff6
add rax, r11
mov qword [rsp + 0x38], rax
mov r10d, 8
jmp 0x1000bfff6
mov r10, r13
add dword [rsp + 0x38], r11d
xor r11d, r11d
test r10, r10
je 0x1000c004c
movzx eax, byte [rsp + r11 + 0x38]
inc r11
add eax, r15d
add r9d, eax
add eax, edx
imul rax, rax, 0x7028c642
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
add eax, ecx
imul rax, rax, 0x7028c642
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov edx, dword [rsp + 0x20]
add edx, eax
add r9d, edx
cmp r11, r10
jb 0x1000bfffe
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x30], r9d
mov rcx, qword [rsp + 0x40]
add r10, rsi
jmp 0x1000bfeb6
mov r11, qword [rsp + 0x48]
mov r14, qword [rsp + 0x80]
xor r12d, r12d
sub r11, r10
mov rbp, qword [rsp + 0x70]
mov r8, r12
mov dil, r8b
je 0x1000c00c6
movzx eax, byte [r8 + r10]
inc r8
add eax, r15d
add r9d, eax
add eax, edx
imul rax, rax, 0x7028c642
mov qword [rsp + 0x20], rax
mov ecx, dword [rsp + 0x20]
shr rax, 0x20
add eax, ecx
imul rax, rax, 0x7028c642
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x20]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp r8, r11
jb 0x1000c0079
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x30], r9d
mov rsi, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x28]
mov rcx, r12
mov rax, rcx
inc rcx
and eax, 7
cmp rcx, 8
mov al, byte [rsp + rax + 0x30]
mov byte [rsp + rcx + 0x8f], al
jb 0x1000c00d2
mov eax, 0xe797695b
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rsi
mov r15, rbp
mov r10, rsi
mov r12, r14
and r12d, 7
je 0x1000c05a8
mov esi, ebx
xor r8d, r8d
not esi
mov dword [rsp + 0x40], r8d
xor r11d, r11d
mov dword [rsp + 0x50], r11d
xor r10d, r10d
test r12d, r12d
jle 0x1000c0166
lea r9d, [r8 + 0x38]
cmp r10d, r13d
movzx edx, byte [r15]
jge 0x1000c0145
lea ecx, [r9 - 0x20]
shl edx, cl
or r11d, edx
jmp 0x1000c014d
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r10d
inc r15
sub r9d, 8
cmp r10d, r12d
jl 0x1000c0131
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x40], r8d
movzx r11d, word [rsp + 0x92]
movzx r9d, word [rsp + 0x96]
mov edx, ebx
mov ecx, ebx
sub edx, r11d
movzx r8d, ax
rol edx, 3
shr ecx, 0xd
imul edx, r9d
xor edx, ecx
xor esi, edx
mov ebx, esi
mov edx, dword [rsp + 0x94]
movzx r10d, dx
mov ecx, eax
xor ecx, esi
rol ecx, 0xa
rol ebx, 3
imul ecx, r10d
xor ebx, ecx
xor ebx, dword [rsp + 0x28]
mov ecx, ebx
ror ecx, 5
sub ecx, r11d
imul ecx, r10d
xor esi, ecx
mov dword [rsp + 0x28], esi
mov ecx, esi
ror ecx, 2
mov esi, edx
xor esi, eax
xor esi, dword [rsp + 0x28]
xor ecx, r8d
imul ecx, r11d
xor ebx, ecx
xor esi, ebx
mov ecx, esi
mov edx, esi
xor edx, r8d
rol edx, 7
rol ecx, 0xe
imul edx, r10d
xor ecx, edx
xor ebx, ecx
mov edx, ebx
sub edx, dword [rsp + 0x94]
ror edx, 2
mov ecx, ebx
rol ecx, 5
imul edx, r11d
xor ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
xor edx, r11d
rol edx, 7
ror ecx, 0xd
imul edx, r8d
mov r8d, dword [rsp + 0x94]
sub edx, ecx
xor ebx, edx
mov edx, ebx
mov ecx, ebx
xor edx, r10d
shr ecx, 1
imul edx, r9d
xor edx, ecx
xor esi, edx
mov ecx, esi
mov edx, eax
xor edx, esi
rol edx, 0xb
ror ecx, 7
imul edx, r10d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
lea edx, [r8 + rbx]
ror edx, 6
ror ecx, 0xa
imul edx, r11d
sub edx, ecx
mov r11d, dword [rsp + 0x40]
xor esi, edx
mov ecx, eax
xor r9d, r9d
xor ecx, esi
xor esi, r11d
mov edx, r8d
sub edx, ecx
mov ecx, dword [rsp + 0x50]
xor edx, ecx
mov r8d, esi
xor ebx, edx
mov edx, ebx
test r12d, r12d
jle 0x1000c02b7
mov rcx, qword [rsp + 0x20]
cmp r9d, r13d
jge 0x1000c029d
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x1000c02aa
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r12d
jl 0x1000c028b
mov qword [rsp + 0x20], rcx
lea ecx, [r12 - 4]
test ecx, ecx
jle 0x1000c0590
sub r13d, ecx
shl r13d, 3
mov ecx, r13d
shr esi, cl
shl esi, cl
mov r10, qword [rsp + 0x20]
mov r12, r14
shr r12, 3
test r12, r12
je 0x1000c04d8
movzx ecx, word [rsp + 0x92]
mov r14d, dword [rsp + 0x50]
mov ebp, ecx
mov r13d, dword [rsp + 0x94]
mov dword [rsp + 0x28], ecx
mov ecx, r13d
neg ebp
xor ecx, eax
mov dword [rsp + 0x20], ecx
movzx ecx, ax
mov dword [rsp + 0x40], ecx
movzx ecx, r13w
mov dword [rsp + 0x48], ecx
movzx r8d, byte [r15 + 4]
movzx r9d, byte [r15]
movzx ecx, byte [r15 + 1]
shl r9d, 8
shl r8d, 8
add r15, 8
or r9d, ecx
movzx ecx, byte [r15 - 6]
shl r9d, 8
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r15 - 5]
or r9d, ecx
movzx ecx, byte [r15 - 3]
or r8d, ecx
movzx ecx, byte [r15 - 2]
xor ebx, r9d
shl r8d, 8
lea edx, [rbp + rbx]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r15 - 1]
or r8d, ecx
rol edx, 3
movzx ecx, word [rsp + 0x96]
imul edx, ecx
mov ecx, ebx
shr ecx, 0xd
xor edx, ecx
xor edx, r8d
xor esi, edx
mov ecx, esi
mov edx, eax
xor edx, esi
rol edx, 0xa
rol ecx, 3
imul edx, dword [rsp + 0x48]
xor ecx, edx
mov edx, dword [rsp + 0x28]
xor ebx, ecx
mov ecx, ebx
ror ecx, 5
sub ecx, edx
imul ecx, dword [rsp + 0x48]
xor esi, ecx
mov ecx, esi
ror ecx, 2
xor ecx, dword [rsp + 0x40]
imul ecx, edx
xor ebx, ecx
xor esi, ebx
xor esi, dword [rsp + 0x20]
mov ecx, esi
mov edx, esi
xor edx, dword [rsp + 0x40]
rol edx, 7
rol ecx, 0xe
imul edx, dword [rsp + 0x48]
xor ecx, edx
xor ebx, ecx
mov ecx, ebx
mov edx, ebx
sub edx, r13d
ror edx, 2
rol ecx, 5
imul edx, dword [rsp + 0x28]
xor ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
xor edx, dword [rsp + 0x28]
rol edx, 7
ror ecx, 0xd
imul edx, dword [rsp + 0x40]
sub edx, ecx
movzx ecx, word [rsp + 0x96]
xor ebx, edx
mov edx, ebx
xor edx, dword [rsp + 0x48]
imul edx, ecx
mov ecx, ebx
shr ecx, 1
xor edx, ecx
xor esi, edx
mov ecx, esi
mov edx, eax
xor edx, esi
rol edx, 0xb
ror ecx, 7
imul edx, dword [rsp + 0x48]
sub edx, ecx
xor ebx, edx
lea edx, [r13 + rbx]
mov ecx, ebx
ror edx, 6
ror ecx, 0xa
imul edx, dword [rsp + 0x28]
sub edx, ecx
xor esi, edx
mov ecx, eax
mov edx, r13d
xor ecx, esi
xor esi, r11d
mov byte [r10 + 7], sil
sub edx, ecx
xor edx, r14d
xor ebx, edx
mov byte [r10 + 3], bl
xor dil, bl
mov r11d, r8d
mov r14d, r9d
ror ebx, 8
xor dil, sil
mov byte [r10 + 2], bl
ror esi, 8
xor dil, bl
ror ebx, 8
xor dil, sil
mov byte [r10 + 6], sil
mov byte [r10 + 1], bl
ror esi, 8
mov byte [r10 + 5], sil
xor dil, bl
ror ebx, 8
xor dil, sil
mov byte [r10], bl
ror esi, 8
mov byte [r10 + 4], sil
mov cl, sil
add r10, 8
xor cl, bl
xor dil, cl
ror ebx, 8
ror esi, 8
sub r12, 1
jne 0x1000c031c
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
mov al, byte [r14 + rbp + 8]
xor al, dil
je 0x1000c05d1
call fcn.1000024bc
mov r11d, 0xffff
lea r10, [0x100059e28]
mov rsi, qword [rsp + 0x78]
mov qword [rsi + 0x10], r10
lea r8, [rsi + 0x18]
mov rcx, qword [0x1003feeb8]
and r8, 0xfffffffffffffff8
lea r9, [r8 + 0xfff]
mov rbx, rax
mov rax, 0xfffffffffffff000
and rbx, rax
and r9, rax
xor edi, edi
imul rcx, rcx, 0x343fd
shl rdi, 0x10
shr r11, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
test r11, r11
jne 0x1000c0529
movabs rax, 0x8000800080008001
mov qword [0x1003feeb8], rcx
mul rdi
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x98], rbx
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub rdi, rdx
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x60], r11
jmp 0x1000c05c7
xor esi, esi
test ecx, ecx
jns 0x1000c02d2
neg ecx
shl ecx, 3
shr ebx, cl
shl ebx, cl
jmp 0x1000c02d2
mov r11d, ebx
not r11d
mov dword [rsp + 0x50], ebx
xor esi, esi
xor ebx, ebx
jmp 0x1000c02d7
mov rax, qword [rsp + 0x60]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x1000c05bb
jmp 0x1000c06ea
mov rbx, rbp
mov r12, qword [rsp + 0x68]
sub rbx, r12
lea r15, [0x100000000]
mov rsi, r15
mov rax, qword [0x10014d838]
sub rsi, rax
jne 0x1000c05fb
test rbx, rbx
je 0x1000c06ce
mov r11, r12
xor edi, edi
mov rcx, qword [0x1000199f8]
sub r11, rbp
sub ebp, r15d
lea r13d, [r14 + rbp]
lea r14, [0x1000199f8]
lea r8d, [rcx - 1]
test r8d, r8d
js 0x1000c064e
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r14 + rdx*4 + 4]
and r9d, 0xfffffff
cmp ebp, r9d
jae 0x1000c0644
lea r8d, [rax - 1]
jmp 0x1000c0649
jbe 0x1000c0653
lea edi, [rax + 1]
cmp r8d, edi
jge 0x1000c0621
movsxd r10, edi
jmp 0x1000c06c7
movsxd r10, eax
jmp 0x1000c06c7
mov edx, dword [r14 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x1000c06ce
mov r8, rdx
mov edi, edx
sar edx, 0x1e
shl edi, 2
and r8d, 0xfffffff
and edx, 3
sar edi, 0x1e
add r8, r15
xor r9d, r9d
and edi, 3
sub edi, 1
je 0x1000c06a3
sub edi, 1
je 0x1000c069e
cmp edi, 1
jne 0x1000c06a9
mov r9, rsi
jmp 0x1000c06a9
mov r9, rbx
jmp 0x1000c06a9
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x1000c06b9
cmp edx, 1
jne 0x1000c06c4
add qword [r8 + r11], r9
jmp 0x1000c06bd
add dword [r8 + r11], r9d
mov rcx, qword [0x1000199f8]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x1000c0658
mov eax, dword [0x100015b94]
mov eax, 0xf6f11f46
mov rsi, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
lea r10, [r12 + rdx]
mov qword [rsi + 0x10], r10
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1002d7828
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret