Function at 0x1000861ec
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, 0xb0
mov rax, qword [0x1003fe1f8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rcx + 0x10]
lea r15, [0x100000000]
mov qword [rsp + 0x70], rcx
mov ebp, dword [rax + 9]
mov r13d, 0xfffffff
mov r14d, dword [rax + 5]
and rbp, r13
lea r9, [rax + 0xd]
lea r8, section..data
mov ecx, dword [rax + 1]
lea rdi, [r9 - 1]
shr rcx, 1
and r14, r13
and rcx, r13
add rbp, r15
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x60], rdx
xor r12d, r12d
mov qword [rsp + 0x78], rbp
cmp rdi, r8
mov qword [rsp + 0x80], r14
jb 0x1000862ae
mov ecx, dword [0x10028bffc]
mov eax, dword [0x100015b94]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x1000862ae
mov rax, rdi
sub rax, r8
cqo
mov ecx, dword [0x100015b94]
idiv rcx
mov edx, dword [0x100015b94]
imul rdx, rax
add r8, rdx
jmp 0x1000862b1
mov r8, r12
cmp r8, r12
jne 0x1000862c0
mov r8, rdi
and r8, 0xffffffffffff0000
mov ebx, ebp
sub r9, r8
lea rax, [r9 - 0x40]
cmp rax, r12
cmovl rax, r12
lea rdi, [r8 + rax]
mov r9d, dword [0x100015b94]
sub r9, r14
sub ebx, r15d
xor eax, eax
mov dword [rsp + 0x20], ebx
inc r9
lea ecx, [rax + 0x40]
rep stosb byte [rdi], al
cmp r9, r12
mov rdi, r9
je 0x10008632d
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 0x1000862fe
mov qword [0x1003feeb8], rcx
xor edx, edx
div r9
mov ecx, ebx
lea rsi, [rdx + r8]
mov qword [rsp + 0x58], rsi
mov r8, rsi
mov rdx, r14
mov eax, 0x1b969e1c
mov rdx, qword [r14 + rbp]
mov dil, r12b
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rdx
mov eax, 0x758c16b0
mov rax, qword [0x10014d838]
mov rcx, r15
mov r9d, dword [rsp + 0x54]
mov r11, qword [rsp + 0x50]
and r11, r13
and r9, r13
mov qword [rsp + 0x38], r12
mov r13d, 4
add r11, r15
sub rcx, rax
mov qword [rsp + 0x28], rcx
jne 0x10008640d
cmp r9, r12
mov r10, r12
jbe 0x100086736
mov r8d, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
movzx ecx, byte [r10 + r11]
inc r10
add ecx, 0x7e62aa84
add r8d, ecx
add ecx, eax
mov eax, ecx
imul eax, eax, 0x1f9e
rol eax, 4
ror ecx, 4
xor eax, ecx
imul rax, rax, 0x7e62aa84
mov qword [rsp + 0x40], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x40]
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov eax, edx
sar eax, 0x1f
btr eax, 0x1f
add eax, edx
add r8d, eax
cmp r10, r9
jb 0x1000863a5
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], r8d
jmp 0x100086736
movsxd rcx, dword [0x10000003c]
mov r8d, dword [rcx + r15 + 0xb0]
mov edx, dword [rcx + r15 + 0xb4]
lea rax, [r11 + r9]
mov qword [rsp + 0x68], rax
mov eax, r11d
add r8, r15
sub eax, r15d
mov ecx, eax
lea r12, [r9 + rcx]
mov r10d, eax
mov rbx, rcx
mov rax, 0xfffffffffffff000
mov r15, r12
and r10, rax
sub rbx, r10
lea rcx, [rdx + r8]
and r15, rax
sub r12, r15
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x88], r12
jmp 0x10008647a
mov eax, dword [r8]
cmp rax, r10
jae 0x10008647f
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x10008646b
xor esi, esi
cmp r8, rcx
je 0x1000864bd
mov eax, dword [r8]
cmp rax, r10
jne 0x1000864bd
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1000864b8
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rbx
jae 0x1000864b8
inc rsi
add rdx, 2
cmp rsi, rcx
jne 0x10008649f
mov rcx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x28]
mov r10d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x3c]
cmp r8, rcx
je 0x1000866a4
mov eax, dword [r8]
cmp rax, r15
ja 0x1000866a4
mov edx, dword [r8 + 4]
lea rax, [rdx - 8]
shr rax, 1
cmp rsi, rax
jne 0x10008650d
add r8, rdx
cmp r8, rcx
je 0x1000866a4
mov eax, dword [r8]
cmp rax, r15
ja 0x1000866a4
xor esi, esi
jmp 0x1000864e1
mov eax, dword [r8]
cmp rax, r15
jne 0x100086529
movzx eax, word [r8 + rsi*2 + 8]
and eax, 0xfff
cmp rax, r12
jae 0x1000866a4
mov edx, 0xf000
mov rax, rsi
inc rsi
test word [r8 + rax*2 + 8], dx
je 0x1000864cc
xor edi, edi
movzx ebx, word [r8 + rax*2 + 8]
lea rax, [0x100000000]
mov r12d, ebx
and r12d, 0xfff
add r12d, dword [r8]
add r12, rax
mov rax, r12
sub rax, r11
je 0x1000865cf
mov r14, rax
movzx ecx, byte [rdi + r11]
inc rdi
add ecx, 0x7e62aa84
add r10d, ecx
add ecx, r9d
mov eax, ecx
imul eax, eax, 0x1f9e
rol eax, 4
ror ecx, 4
xor eax, ecx
imul rax, rax, 0x7e62aa84
mov qword [rsp + 0x48], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x48]
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r9d, edx
sar r9d, 0x1f
btr r9d, 0x1f
add r9d, edx
add r10d, r9d
cmp rdi, r14
jb 0x100086566
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x38], r10d
mov rax, qword [r12]
mov qword [rsp + 0x48], rax
shr ebx, 0xc
cmp ebx, 3
je 0x1000865ec
sub ebx, 0xa
neg ebx
sbb edx, edx
add edx, 3
jmp 0x1000865f1
mov edx, 2
mov r11, rbp
neg r11
sub edx, 2
je 0x100086617
cmp edx, 1
je 0x100086607
or r11, 0xffffffffffffffff
jmp 0x10008661f
add rax, r11
mov r11d, 8
mov qword [rsp + 0x48], rax
jmp 0x10008661f
add dword [rsp + 0x48], r11d
mov r11, r13
xor ebx, ebx
test r11, r11
je 0x10008668f
movzx ecx, byte [rsp + rbx + 0x48]
inc rbx
add ecx, 0x7e62aa84
add r10d, ecx
add ecx, r9d
mov eax, ecx
imul eax, eax, 0x1f9e
rol eax, 4
ror ecx, 4
xor eax, ecx
imul rax, rax, 0x7e62aa84
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x28]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r9d, edx
sar r9d, 0x1f
btr r9d, 0x1f
add r9d, edx
add r10d, r9d
cmp rbx, r11
jb 0x100086626
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x38], r10d
mov rcx, qword [rsp + 0x40]
add r11, r12
mov r12, qword [rsp + 0x88]
jmp 0x1000864cc
mov r14, qword [rsp + 0x80]
xor r12d, r12d
mov r8, r12
mov rbx, qword [rsp + 0x68]
mov dil, r8b
sub rbx, r11
mov rbp, qword [rsp + 0x78]
je 0x10008672d
movzx ecx, byte [r11 + r8]
inc r8
add ecx, 0x7e62aa84
add r10d, ecx
add ecx, r9d
mov eax, ecx
imul eax, eax, 0x1f9e
rol eax, 4
ror ecx, 4
xor eax, ecx
imul rax, rax, 0x7e62aa84
mov qword [rsp + 0x68], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x68]
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r9d, edx
sar r9d, 0x1f
btr r9d, 0x1f
add r9d, edx
add r10d, r9d
cmp r8, rbx
jb 0x1000866c4
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x38], r10d
mov ebx, dword [rsp + 0x20]
mov rsi, qword [rsp + 0x58]
mov rcx, r12
mov rax, rcx
inc rcx
and eax, 7
cmp rcx, 8
mov al, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x97], al
jb 0x100086739
mov eax, 0x1684c0c9
mov r11, rsi
mov r12, r14
and r12d, 7
mov rax, qword [rsp + 0x98]
mov r15, rbp
mov qword [rsp + 0x40], rsi
je 0x100086c5d
mov r11d, ebx
xor r8d, r8d
xor esi, esi
mov dword [rsp + 0x28], r8d
xor r10d, r10d
test r12d, r12d
mov dword [rsp + 0x20], esi
not r11d
jle 0x1000867cb
lea r9d, [r8 + 0x38]
movzx edx, byte [r15]
cmp r10d, r13d
jge 0x1000867ab
lea ecx, [r9 - 0x20]
shl edx, cl
or esi, edx
jmp 0x1000867b3
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r10d
inc r15
sub r9d, 8
cmp r10d, r12d
jl 0x100086798
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x28], r8d
movzx r10d, word [rsp + 0x9c]
mov esi, dword [rsp + 0x9c]
mov ecx, eax
mov r8d, dword [rsp + 0x9c]
movzx r9d, word [rsp + 0x9a]
xor ecx, r11d
sub esi, ecx
xor esi, ebx
mov ebx, dword [rsp + 0x9c]
xor ebx, eax
xor ebx, r11d
xor ebx, esi
mov ecx, ebx
movzx r11d, ax
mov edx, r11d
xor edx, ebx
shr ecx, 8
imul edx, r10d
add edx, ecx
mov ecx, r9d
xor esi, edx
mov edx, esi
sub r8d, esi
ror r8d, 3
ror edx, 8
imul ecx, r8d
mov r8d, dword [rsp + 0x9c]
add edx, ecx
xor ebx, edx
mov edx, ebx
mov ecx, r11d
xor r8d, ebx
ror r8d, 6
rol edx, 5
imul ecx, r8d
add edx, ecx
movzx r8d, word [rsp + 0x9e]
xor esi, edx
mov ecx, esi
ror ecx, 0xa
sub ecx, r8d
imul ecx, r10d
xor ebx, ecx
mov ecx, r8d
mov edx, ebx
xor ecx, ebx
ror edx, 0xf
imul ecx, r10d
sub ecx, edx
xor esi, ecx
mov edx, r10d
xor edx, esi
mov ecx, esi
shr ecx, 0xb
imul edx, r9d
xor edx, ecx
mov ecx, r9d
xor ebx, edx
xor ecx, ebx
mov edx, r11d
rol ecx, 4
imul edx, ecx
mov ecx, ebx
shr ecx, 0xc
add edx, ecx
xor esi, edx
lea ecx, [rax + rsi]
rol ecx, 0xf
mov edx, esi
ror edx, 0xe
imul r8d, ecx
add edx, r8d
xor ebx, edx
mov edx, dword [rsp + 0x20]
mov ecx, ebx
sub ecx, r10d
sub ecx, eax
xor esi, ecx
mov ecx, esi
not ecx
ror ecx, 0xd
add ecx, r9d
imul ecx, r11d
xor r9d, r9d
xor ebx, ecx
xor r10d, ebx
mov ecx, ebx
xor ebx, dword [rsp + 0x28]
rol r10d, 6
mov r8d, ebx
rol ecx, 0xe
imul r11d, r10d
add ecx, r11d
xor ecx, edx
xor esi, ecx
mov edx, esi
test r12d, r12d
jle 0x10008692b
mov rcx, qword [rsp + 0x40]
cmp r9d, r13d
jge 0x100086911
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x10008691e
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r12d
jl 0x1000868ff
mov qword [rsp + 0x40], rcx
lea ecx, [r12 - 4]
test ecx, ecx
jle 0x100086c45
sub r13d, ecx
shl r13d, 3
mov ecx, r13d
shr ebx, cl
shl ebx, cl
mov r12d, dword [rsp + 0x28]
mov r11, qword [rsp + 0x40]
mov r13, r14
shr r13, 3
test r13, r13
je 0x100086b8d
movzx ecx, ax
movzx r8d, word [rsp + 0x9c]
mov ebp, dword [rsp + 0x9c]
mov r14d, dword [rsp + 0x20]
xor ebp, eax
mov dword [rsp + 0x28], ecx
movzx r9d, byte [r15 + 4]
mov edx, dword [rsp + 0x9c]
movzx ecx, byte [r15 + 1]
movzx r10d, byte [r15]
shl r10d, 8
shl r9d, 8
or r10d, ecx
movzx ecx, byte [r15 + 2]
add r15, 8
shl r10d, 8
or r10d, ecx
shl r10d, 8
movzx ecx, byte [r15 - 5]
or r10d, ecx
movzx ecx, byte [r15 - 3]
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r15 - 2]
or r9d, ecx
movzx ecx, byte [r15 - 1]
shl r9d, 8
or r9d, ecx
xor ebx, r9d
mov ecx, eax
xor ecx, ebx
xor ebx, ebp
sub edx, ecx
xor edx, r10d
xor esi, edx
mov edx, dword [rsp + 0x28]
xor ebx, esi
mov ecx, ebx
xor edx, ebx
shr ecx, 8
imul edx, r8d
add edx, ecx
xor esi, edx
movzx ecx, word [rsp + 0x9a]
mov r8d, dword [rsp + 0x9c]
mov edx, esi
sub r8d, esi
ror r8d, 3
ror edx, 8
imul ecx, r8d
mov r8d, dword [rsp + 0x9c]
add edx, ecx
mov ecx, dword [rsp + 0x28]
xor ebx, edx
xor r8d, ebx
ror r8d, 6
mov edx, ebx
rol edx, 5
imul ecx, r8d
movzx r8d, word [rsp + 0x9c]
add edx, ecx
xor esi, edx
mov ecx, esi
movzx edx, word [rsp + 0x9e]
ror ecx, 0xa
sub ecx, edx
imul ecx, r8d
xor ebx, ecx
mov edx, ebx
movzx ecx, word [rsp + 0x9e]
xor ecx, ebx
ror edx, 0xf
imul ecx, r8d
sub ecx, edx
mov edx, r8d
movzx r8d, word [rsp + 0x9a]
xor esi, ecx
xor edx, esi
mov ecx, esi
shr ecx, 0xb
imul edx, r8d
xor edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0x28]
mov ecx, r8d
xor ecx, ebx
rol ecx, 4
imul edx, ecx
mov ecx, ebx
shr ecx, 0xc
add edx, ecx
movzx ecx, word [rsp + 0x9e]
xor esi, edx
lea edx, [rax + rsi]
rol edx, 0xf
mov r8d, esi
ror r8d, 0xe
imul ecx, edx
add r8d, ecx
movzx edx, word [rsp + 0x9c]
xor ebx, r8d
movzx r8d, word [rsp + 0x9a]
mov ecx, ebx
sub ecx, edx
sub ecx, eax
xor esi, ecx
mov ecx, esi
not ecx
ror ecx, 0xd
add ecx, r8d
imul ecx, dword [rsp + 0x28]
xor ebx, ecx
mov ecx, dword [rsp + 0x28]
xor edx, ebx
mov r8d, ebx
xor ebx, r12d
rol edx, 6
rol r8d, 0xe
imul ecx, edx
mov byte [r11 + 7], bl
mov r12d, r9d
add r8d, ecx
xor r8d, r14d
mov r14d, r10d
xor esi, r8d
movzx r8d, word [rsp + 0x9c]
mov byte [r11 + 3], sil
xor dil, sil
ror esi, 8
xor dil, bl
ror ebx, 8
mov byte [r11 + 2], sil
xor dil, sil
mov byte [r11 + 6], bl
ror esi, 8
xor dil, bl
mov byte [r11 + 1], sil
ror ebx, 8
xor dil, sil
mov byte [r11 + 5], bl
ror esi, 8
mov byte [r11], sil
xor dil, bl
ror ebx, 8
mov cl, bl
mov byte [r11 + 4], bl
add r11, 8
xor cl, sil
xor dil, cl
ror esi, 8
ror ebx, 8
sub r13, 1
jne 0x10008697e
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov al, byte [r14 + rbp + 8]
xor al, dil
je 0x100086c86
call fcn.1000024bc
mov rbx, rax
mov r11d, 0xffff
mov rsi, qword [rsp + 0x70]
lea r8, [rsi + 0x18]
and r8, 0xfffffffffffffff8
lea r9, [r8 + 0xfff]
mov rax, 0xfffffffffffff000
lea r10, [0x100059e28]
and rbx, rax
mov qword [rsi + 0x10], r10
mov rcx, qword [0x1003feeb8]
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 0x100086bde
mov qword [0x1003feeb8], rcx
movabs rax, 0x8000800080008001
mul rdi
shr rdx, 0xf
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x98], rbx
imul rdx, rdx, 0xffff
sub rdi, rdx
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x60], r11
jmp 0x100086c7c
xor ebx, ebx
test ecx, ecx
jns 0x100086946
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x100086946
mov r12d, ebx
mov dword [rsp + 0x20], ebx
not r12d
xor ebx, ebx
xor esi, esi
jmp 0x100086950
mov rax, qword [rsp + 0x60]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x100086c70
jmp 0x100086d9f
mov r12, qword [rsp + 0x58]
lea r15, [0x100000000]
mov rsi, r15
mov rax, qword [0x10014d838]
mov rbx, rbp
sub rbx, r12
sub rsi, rax
jne 0x100086cb0
test rbx, rbx
je 0x100086d83
mov r11, r12
mov rcx, qword [0x1000199f8]
lea r8d, [rcx - 1]
xor edi, edi
sub r11, rbp
sub ebp, r15d
lea r13d, [r14 + rbp]
test r8d, r8d
lea r14, [0x1000199f8]
js 0x100086d03
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 0x100086cf9
lea r8d, [rax - 1]
jmp 0x100086cfe
jbe 0x100086d08
lea edi, [rax + 1]
cmp r8d, edi
jge 0x100086cd6
movsxd r10, edi
jmp 0x100086d7c
movsxd r10, eax
jmp 0x100086d7c
mov edx, dword [r14 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x100086d83
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 0x100086d58
sub edi, 1
je 0x100086d53
cmp edi, 1
jne 0x100086d5e
mov r9, rsi
jmp 0x100086d5e
mov r9, rbx
jmp 0x100086d5e
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x100086d6e
cmp edx, 1
jne 0x100086d79
add qword [r8 + r11], r9
jmp 0x100086d72
add dword [r8 + r11], r9d
mov rcx, qword [0x1000199f8]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x100086d0d
mov eax, dword [0x100015b94]
mov eax, 0x5e0a11c8
mov rsi, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x90]
lea r10, [r12 + rdx]
mov qword [rsi + 0x10], r10
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1002d7828
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret