Function at 0x100064844
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 + 0xa8], rax
lea r15, [0x100000000]
lea r8, section..data
lea rax, [rcx + 0x18]
mov qword [rsp + 0x88], rcx
mov r13d, 0xfffffff
mov qword [rsp + 0x80], rax
mov rax, qword [rax]
mov esi, dword [rax + 1]
shr rsi, 1
mov ecx, dword [rax + 9]
and rcx, r13
lea r9, [rax + 0xd]
mov r14d, dword [rax + 5]
lea rdi, [r9 - 1]
and r14, r13
and rsi, r13
mov qword [rsp + 0x68], rdx
add rsi, r15
xor r12d, r12d
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x78], r14
cmp rdi, r8
mov qword [rsp + 0x90], rsi
jb 0x100064914
mov eax, dword [0x100015b94]
mov ecx, dword [0x10028bffc]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x100064914
mov rax, rdi
mov ecx, dword [0x100015b94]
sub rax, r8
cqo
idiv rcx
mov edx, dword [0x100015b94]
imul rdx, rax
add r8, rdx
jmp 0x100064917
mov r8, r12
cmp r8, r12
jne 0x100064926
mov r8, rdi
and r8, 0xffffffffffff0000
mov ebx, esi
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
xor eax, eax
lea ecx, [rax + 0x40]
mov dword [rsp + 0x28], ebx
inc r9
rep stosb byte [rdi], al
cmp r9, r12
mov rdi, r9
je 0x100064993
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 0x100064964
mov qword [0x1003feeb8], rcx
xor edx, edx
div r9
mov ecx, ebx
lea rbp, [rdx + r8]
mov qword [rsp + 0x60], rbp
mov rdx, r14
mov r8, rbp
mov eax, 0xac59ba0c
mov rdx, qword [r14 + rsi]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rdx
mov dil, r12b
mov eax, 0xbbbcd15b
mov r9d, dword [rsp + 0x74]
mov rax, qword [0x10014d838]
mov rcx, r15
mov r10, qword [rsp + 0x70]
and r10, r13
and r9, r13
add r10, r15
mov qword [rsp + 0x30], r12
mov r13d, 4
sub rcx, rax
mov qword [rsp + 0x20], rcx
jne 0x100064a8e
cmp r9, r12
mov r11, r12
jbe 0x100064de4
mov ebx, 0xb0d52e05
mov ecx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
movzx eax, byte [r11 + r10]
inc r11
sub eax, 0x4f2ad1fb
add r8d, eax
add eax, ecx
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
add eax, ecx
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
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
imul rax, rbx
mov qword [rsp + 0x20], rax
mov ecx, dword [rsp + 0x20]
shr rax, 0x20
add ecx, eax
add r8d, ecx
cmp r11, r9
jb 0x100064a14
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x30], r8d
jmp 0x100064de0
movsxd rcx, dword [0x10000003c]
mov r8d, dword [rcx + r15 + 0xb0]
lea rax, [r10 + r9]
mov edx, dword [rcx + r15 + 0xb4]
mov qword [rsp + 0x58], rax
add r8, r15
mov eax, r10d
sub eax, r15d
mov r11d, eax
mov ecx, eax
lea r12, [r9 + rcx]
mov r15, r12
mov rax, 0xfffffffffffff000
mov rbx, rcx
lea rcx, [rdx + r8]
mov qword [rsp + 0x50], rcx
and r11, rax
sub rbx, r11
and r15, rax
sub r12, r15
mov qword [rsp + 0x40], r12
jmp 0x100064af8
mov eax, dword [r8]
cmp rax, r11
jae 0x100064afd
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x100064ae9
xor ebp, ebp
cmp r8, rcx
je 0x100064b3b
mov eax, dword [r8]
cmp rax, r11
jne 0x100064b3b
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x100064b36
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rbx
jae 0x100064b36
inc rbp
add rdx, 2
cmp rbp, rcx
jne 0x100064b1d
mov rcx, qword [rsp + 0x50]
mov ebx, 0xb0d52e05
mov edx, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x30]
mov r14, qword [rsp + 0x20]
cmp r8, rcx
je 0x100064d46
mov eax, dword [r8]
cmp rax, r15
ja 0x100064d46
mov edi, dword [r8 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp rbp, rax
jne 0x100064b8f
add r8, rdi
cmp r8, rcx
je 0x100064d46
mov eax, dword [r8]
cmp rax, r15
ja 0x100064d46
xor ebp, ebp
jmp 0x100064b63
mov eax, dword [r8]
cmp rax, r15
jne 0x100064bab
movzx eax, word [r8 + rbp*2 + 8]
and eax, 0xfff
cmp rax, r12
jae 0x100064d46
mov rax, rbp
mov edi, 0xf000
inc rbp
test word [r8 + rax*2 + 8], di
je 0x100064b4e
movzx r11d, word [r8 + rax*2 + 8]
mov r12d, r11d
xor edi, edi
and r12d, 0xfff
add r12d, dword [r8]
lea rax, [0x100000000]
add r12, rax
mov rax, r12
sub rax, r10
je 0x100064c5d
mov rsi, rax
movzx eax, byte [rdi + r10]
inc rdi
sub eax, 0x4f2ad1fb
add r9d, eax
add eax, edx
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
add eax, ecx
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
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
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov edx, dword [rsp + 0x20]
add edx, eax
add r9d, edx
cmp rdi, rsi
jb 0x100064be8
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x30], r9d
shr r11d, 0xc
mov rax, qword [r12]
cmp r11d, 3
mov qword [rsp + 0x48], rax
je 0x100064c80
sub r11d, 0xa
neg r11d
sbb r10d, r10d
add r10d, 3
jmp 0x100064c86
mov r10d, 2
mov r11, r14
neg r11
sub r10d, 2
je 0x100064cae
cmp r10d, 1
je 0x100064c9e
or r10, 0xffffffffffffffff
jmp 0x100064cb6
add rax, r11
mov r10d, 8
mov qword [rsp + 0x48], rax
jmp 0x100064cb6
add dword [rsp + 0x48], r11d
mov r10, r13
xor r11d, r11d
test r10, r10
je 0x100064d34
movzx eax, byte [rsp + r11 + 0x48]
inc r11
sub eax, 0x4f2ad1fb
add r9d, eax
add eax, edx
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
add eax, ecx
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
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
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov edx, dword [rsp + 0x20]
add edx, eax
add r9d, edx
cmp r11, r10
jb 0x100064cbe
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x30], r9d
mov rcx, qword [rsp + 0x50]
add r10, r12
mov r12, qword [rsp + 0x40]
jmp 0x100064b4e
xor r12d, r12d
mov r14, qword [rsp + 0x78]
mov r8, r12
mov rsi, qword [rsp + 0x90]
mov dil, r8b
mov r11, qword [rsp + 0x58]
sub r11, r10
je 0x100064ddb
movzx eax, byte [r8 + r10]
inc r8
sub eax, 0x4f2ad1fb
add r9d, eax
add eax, edx
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
add eax, ecx
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x20]
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
imul rax, rbx
mov qword [rsp + 0x20], rax
shr rax, 0x20
mov edx, dword [rsp + 0x20]
add edx, eax
add r9d, edx
cmp r8, r11
jb 0x100064d66
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x30], r9d
mov rbp, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x28]
mov rcx, r12
mov rax, rcx
inc rcx
and eax, 7
mov al, byte [rsp + rax + 0x30]
mov byte [rsp + rcx + 0x9f], al
cmp rcx, 8
jb 0x100064de7
mov eax, 0xd94cd2cd
mov rax, qword [rsp + 0xa0]
mov r15, rsi
mov r11, rbp
mov r12, r14
xor r10d, r10d
and r12d, 7
mov qword [rsp + 0x20], rbp
mov ebp, ebx
not ebp
je 0x1000652e8
xor r8d, r8d
mov dword [rsp + 0x40], r8d
xor r11d, r11d
test r12d, r12d
mov dword [rsp + 0x38], r11d
jle 0x100064e7b
lea r9d, [r10 + 0x38]
cmp r10d, r13d
movzx edx, byte [r15]
jge 0x100064e5a
lea ecx, [r9 - 0x20]
shl edx, cl
or r11d, edx
jmp 0x100064e62
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r10d
inc r15
sub r9d, 8
cmp r10d, r12d
jl 0x100064e46
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x40], r8d
movzx r8d, word [rsp + 0xa2]
mov ecx, ebx
movzx r10d, word [rsp + 0xa6]
mov r9d, dword [rsp + 0xa4]
movzx r11d, r9w
mov edx, r11d
xor edx, ebx
rol edx, 4
ror ecx, 8
imul edx, r10d
sub edx, ecx
xor ebp, edx
mov ebx, ebp
mov ecx, ebp
sub ecx, eax
rol ecx, 8
rol ebx, 3
imul ecx, r11d
add ebx, ecx
xor ebx, dword [rsp + 0x28]
lea edx, [r9 + rbx]
ror edx, 4
mov ecx, ebx
ror ecx, 0xf
imul edx, r8d
sub edx, ecx
xor ebp, edx
mov ecx, ebp
mov edx, r9d
sub edx, ebp
movzx r9d, ax
ror edx, 2
rol ecx, 7
imul edx, r9d
xor ecx, edx
mov edx, eax
xor ebx, ecx
mov ecx, ebx
sub edx, ebx
rol edx, 0xc
ror ecx, 4
imul edx, r10d
add ecx, edx
xor ebp, ecx
mov edx, eax
xor edx, ebp
rol edx, 0xb
mov ecx, ebp
ror ecx, 8
imul edx, r11d
xor ecx, edx
xor ebx, ecx
mov ecx, r9d
xor ecx, ebx
mov edx, ebx
ror edx, 4
imul ecx, r8d
mov r8d, dword [rsp + 0xa4]
sub ecx, edx
mov edx, eax
xor ebp, ecx
mov ecx, ebp
sub ecx, r8d
sub ecx, r9d
xor ebx, ecx
mov ecx, ebx
sub edx, ebx
ror edx, 1
ror ecx, 6
imul edx, r10d
sub edx, ecx
xor ebp, edx
mov edx, r8d
mov ecx, ebp
not ecx
ror ecx, 0xe
add ecx, r11d
imul ecx, r10d
mov r10d, r8d
xor r10d, eax
xor ebx, ecx
xor r10d, ebp
mov ebp, dword [rsp + 0x40]
xor r10d, ebx
mov ecx, r10d
xor edx, r10d
xor r10d, ebp
rol edx, 0xf
mov r8d, r10d
ror ecx, 8
imul edx, r9d
add ecx, edx
mov edx, dword [rsp + 0x38]
xor ecx, edx
xor r9d, r9d
xor ebx, ecx
test r12d, r12d
mov edx, ebx
jle 0x100064fce
mov rcx, qword [rsp + 0x20]
cmp r9d, r13d
jge 0x100064fb4
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x100064fc1
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r12d
jl 0x100064fa2
mov qword [rsp + 0x20], rcx
lea ecx, [r12 - 4]
test ecx, ecx
jle 0x1000652cf
sub r13d, ecx
shl r13d, 3
mov ecx, r13d
shr r10d, cl
shl r10d, cl
mov r11, qword [rsp + 0x20]
mov r13, r14
shr r13, 3
test r13, r13
je 0x10006520e
mov esi, dword [rsp + 0x38]
mov r12d, dword [rsp + 0xa4]
movzx edx, r12w
movzx ecx, word [rsp + 0xa2]
mov dword [rsp + 0x50], ecx
movzx ecx, word [rsp + 0xa6]
mov dword [rsp + 0x40], ecx
mov ecx, r12d
mov dword [rsp + 0x58], edx
xor ecx, eax
mov dword [rsp + 0x20], ecx
movzx ecx, ax
mov r14d, dword [rsp + 0x20]
mov dword [rsp + 0x28], ecx
movzx r8d, byte [r15 + 4]
movzx ecx, byte [r15 + 1]
movzx r9d, byte [r15]
shl r9d, 8
shl r8d, 8
add r15, 8
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r15 - 6]
or r9d, ecx
movzx ecx, byte [r15 - 5]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r15 - 3]
or r8d, ecx
xor ebx, r9d
movzx ecx, byte [r15 - 2]
xor edx, ebx
shl r8d, 8
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r15 - 1]
or r8d, ecx
mov ecx, ebx
rol edx, 4
ror ecx, 8
imul edx, dword [rsp + 0x40]
sub edx, ecx
xor edx, r8d
xor r10d, edx
mov ecx, r10d
mov edx, r10d
sub edx, eax
rol edx, 8
rol ecx, 3
imul edx, dword [rsp + 0x58]
add ecx, edx
xor ebx, ecx
lea edx, [r12 + rbx]
ror edx, 4
mov ecx, ebx
ror ecx, 0xf
imul edx, dword [rsp + 0x50]
sub edx, ecx
xor r10d, edx
mov edx, r12d
sub edx, r10d
mov ecx, r10d
ror edx, 2
rol ecx, 7
imul edx, dword [rsp + 0x28]
xor ecx, edx
xor ebx, ecx
mov ecx, ebx
mov edx, eax
sub edx, ebx
rol edx, 0xc
ror ecx, 4
imul edx, dword [rsp + 0x40]
add ecx, edx
xor r10d, ecx
mov ecx, r10d
mov edx, eax
xor edx, r10d
rol edx, 0xb
ror ecx, 8
imul edx, dword [rsp + 0x58]
xor ecx, edx
xor ebx, ecx
mov ecx, dword [rsp + 0x28]
mov edx, ebx
xor ecx, ebx
ror edx, 4
imul ecx, dword [rsp + 0x50]
sub ecx, edx
mov edx, eax
xor r10d, ecx
mov ecx, r10d
sub ecx, r12d
sub ecx, dword [rsp + 0x28]
xor ebx, ecx
sub edx, ebx
mov ecx, ebx
ror edx, 1
ror ecx, 6
imul edx, dword [rsp + 0x40]
sub edx, ecx
xor r10d, edx
mov ecx, r10d
not ecx
xor r10d, r14d
ror ecx, 0xe
movzx edx, word [rsp + 0xa6]
add ecx, dword [rsp + 0x58]
imul ecx, edx
mov edx, r12d
xor ebx, ecx
xor r10d, ebx
xor edx, r10d
mov ecx, r10d
xor r10d, ebp
rol edx, 0xf
mov byte [r11 + 7], r10b
ror ecx, 8
mov ebp, r8d
imul edx, dword [rsp + 0x28]
add ecx, edx
mov edx, dword [rsp + 0x58]
xor ecx, esi
xor ebx, ecx
mov byte [r11 + 3], bl
mov esi, r9d
xor dil, bl
ror ebx, 8
xor dil, r10b
ror r10d, 8
xor dil, bl
mov byte [r11 + 2], bl
ror ebx, 8
xor dil, r10b
mov byte [r11 + 6], r10b
ror r10d, 8
mov byte [r11 + 1], bl
xor dil, bl
mov byte [r11 + 5], r10b
ror ebx, 8
mov byte [r11], bl
xor dil, r10b
ror r10d, 8
mov byte [r11 + 4], r10b
add r11, 8
mov cl, r10b
xor cl, bl
xor dil, cl
ror ebx, 8
ror r10d, 8
sub r13, 1
jne 0x100065041
mov rsi, qword [rsp + 0x90]
mov r14, qword [rsp + 0x78]
mov al, byte [r14 + rsi + 8]
xor al, dil
je 0x100065309
call fcn.1000024bc
mov rbp, qword [rsp + 0x88]
mov r11, rax
mov ebx, 0xffff
mov rax, 0xfffffffffffff000
mov rsi, qword [rsp + 0x80]
lea r10, [0x100059e28]
mov r8, rsi
mov qword [rbp + 0x10], r10
mov rcx, qword [0x1003feeb8]
and r8, 0xfffffffffffffff8
and r11, rax
lea r9, [r8 + 0xfff]
and r9, rax
xor edi, edi
imul rcx, rcx, 0x343fd
shl rdi, 0x10
shr rbx, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
test rbx, rbx
jne 0x100065268
movabs rax, 0x8000800080008001
mov qword [0x1003feeb8], rcx
mul rdi
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub rdi, rdx
inc rdi
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x98], r11
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x68], rbx
jmp 0x1000652ff
xor r10d, r10d
test ecx, ecx
jns 0x100064feb
neg ecx
shl ecx, 3
shr ebx, cl
shl ebx, cl
jmp 0x100064feb
mov dword [rsp + 0x38], ebx
xor ebx, ebx
jmp 0x100064ff0
mov rax, qword [rsp + 0x68]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x1000652f3
jmp 0x10006542d
mov rax, qword [0x10014d838]
mov r12, qword [rsp + 0x60]
mov rbx, rsi
sub rbx, r12
lea r15, [0x100000000]
mov rbp, r15
sub rbp, rax
jne 0x100065333
test rbx, rbx
je 0x100065406
xor edi, edi
mov r11, r12
mov rcx, qword [0x1000199f8]
lea r8d, [rcx - 1]
sub r11, rsi
sub esi, r15d
test r8d, r8d
lea r13d, [r14 + rsi]
lea r14, [0x1000199f8]
js 0x100065386
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 esi, r9d
jae 0x10006537c
lea r8d, [rax - 1]
jmp 0x100065381
jbe 0x10006538b
lea edi, [rax + 1]
cmp r8d, edi
jge 0x100065359
movsxd r10, edi
jmp 0x1000653ff
movsxd r10, eax
jmp 0x1000653ff
mov edx, dword [r14 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x100065406
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 0x1000653db
sub edi, 1
je 0x1000653d6
cmp edi, 1
jne 0x1000653e1
mov r9, rbp
jmp 0x1000653e1
mov r9, rbx
jmp 0x1000653e1
mov r9, rbp
sub r9, rbx
sub edx, 2
je 0x1000653f1
cmp edx, 1
jne 0x1000653fc
add qword [r8 + r11], r9
jmp 0x1000653f5
add dword [r8 + r11], r9d
mov rcx, qword [0x1000199f8]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x100065390
mov eax, dword [0x100015b94]
mov eax, 0xbedd05c5
mov rdx, qword [rsp + 0x98]
lea r10, [r12 + rdx]
mov rbp, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov qword [rbp + 0x10], r10
add qword [rsi], 0xd
mov rcx, qword [rsp + 0xa8]
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