Function at 0x100062ae8
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
mov r14d, 0xfffffff
mov rax, qword [rcx + 0x10]
lea r13, [0x100000000]
lea r8, section..data
lea r9, [rax + 0xd]
mov qword [rsp + 0x78], rcx
mov r15d, dword [rax + 9]
mov ecx, dword [rax + 1]
mov r12d, dword [rax + 5]
mov qword [rsp + 0x60], rdx
lea rdi, [r9 - 1]
and r12, r14
and rcx, r14
and r15, r14
add r12, r13
xor ebp, ebp
cmp rdi, r8
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x70], r12
jb 0x100062ba7
mov ecx, dword [0x10028bffc]
mov eax, dword [0x100015b94]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x100062ba7
mov rax, rdi
mov ecx, dword [0x100015b94]
sub rax, r8
cqo
idiv rcx
mov edx, dword [0x100015b94]
imul rdx, rax
add r8, rdx
jmp 0x100062baa
mov r8, rbp
cmp r8, rbp
jne 0x100062bb9
mov r8, rdi
and r8, 0xffffffffffff0000
mov ebx, r12d
sub r9, r8
lea rax, [r9 - 0x40]
cmp rax, rbp
mov r9d, dword [0x100015b94]
cmovl rax, rbp
sub r9, r15
sub ebx, r13d
mov dword [rsp + 0x20], ebx
lea rdi, [r8 + rax]
xor eax, eax
inc r9
lea ecx, [rax + 0x40]
rep stosb byte [rdi], al
mov rdi, r9
cmp r9, rbp
je 0x100062c27
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, rbp
jne 0x100062bf8
mov qword [0x1003feeb8], rcx
xor edx, edx
mov ecx, ebx
div r9
lea rsi, [rdx + r8]
mov qword [rsp + 0x50], rsi
mov rdx, r15
mov r8, rsi
mov eax, 0x5b81963d
lea rcx, [rsp + 0x58]
mov rdx, qword [r12 + r15]
mov dil, bpl
mov qword [rsp + 0x58], rdx
mov eax, 0x9e5b6468
mov rax, qword [0x10014d838]
mov r11, qword [rsp + 0x58]
mov rcx, r13
mov r9d, dword [rsp + 0x5c]
mov qword [rsp + 0x28], rbp
and r11, r14
and r9, r14
mov r14d, 4
add r11, r13
sub rcx, rax
mov qword [rsp + 0x38], rcx
jne 0x100062d07
mov r10, rbp
cmp r9, rbp
jbe 0x100063027
mov eax, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x28]
movzx ecx, byte [r10 + r11]
inc r10
add ecx, 0x7cd8fefb
add r8d, ecx
add ecx, eax
mov eax, ecx
imul eax, eax, 0x42b2
rol eax, 0xb
ror ecx, 0xb
xor eax, ecx
imul rax, rax, 0x7cd8fefb
mov qword [rsp + 0x30], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x30]
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 0x100062c9f
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x28], r8d
jmp 0x100063027
movsxd rcx, dword [0x10000003c]
lea rax, [r11 + r9]
mov r8d, dword [rcx + r13 + 0xb0]
mov edx, dword [rcx + r13 + 0xb4]
add r8, r13
mov qword [rsp + 0x68], rax
mov eax, r11d
sub eax, r13d
mov r10d, eax
mov ecx, eax
lea rbp, [r9 + rcx]
mov rbx, rcx
mov rax, 0xfffffffffffff000
lea rcx, [rdx + r8]
mov qword [rsp + 0x30], rcx
and r10, rax
mov r13, rbp
sub rbx, r10
and r13, rax
sub rbp, r13
mov qword [rsp + 0x48], rbp
jmp 0x100062d71
mov eax, dword [r8]
cmp rax, r10
jae 0x100062d76
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x100062d62
xor esi, esi
cmp r8, rcx
je 0x100062db4
mov eax, dword [r8]
cmp rax, r10
jne 0x100062db4
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x100062daf
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rbx
jae 0x100062daf
inc rsi
add rdx, 2
cmp rsi, rcx
jne 0x100062d96
mov rcx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov r10d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x2c]
cmp r8, rcx
je 0x100062f96
mov eax, dword [r8]
cmp rax, r13
ja 0x100062f96
mov edx, dword [r8 + 4]
lea rax, [rdx - 8]
shr rax, 1
cmp rsi, rax
jne 0x100062e04
add r8, rdx
cmp r8, rcx
je 0x100062f96
mov eax, dword [r8]
cmp rax, r13
ja 0x100062f96
xor esi, esi
jmp 0x100062dd8
mov eax, dword [r8]
cmp rax, r13
jne 0x100062e20
movzx eax, word [r8 + rsi*2 + 8]
and eax, 0xfff
cmp rax, rbp
jae 0x100062f96
mov edx, 0xf000
mov rax, rsi
inc rsi
test word [r8 + rax*2 + 8], dx
je 0x100062dc3
movzx ebx, word [r8 + rax*2 + 8]
xor edi, edi
lea rax, [0x100000000]
mov ebp, ebx
and ebp, 0xfff
add ebp, dword [r8]
add rbp, rax
mov rax, rbp
sub rax, r11
je 0x100062ec4
mov r15, rax
movzx ecx, byte [rdi + r11]
inc rdi
add ecx, 0x7cd8fefb
add r10d, ecx
add ecx, r9d
mov eax, ecx
imul eax, eax, 0x42b2
rol eax, 0xb
ror ecx, 0xb
xor eax, ecx
imul rax, rax, 0x7cd8fefb
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x40]
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 rdi, r15
jb 0x100062e5b
mov dword [rsp + 0x2c], r9d
mov dword [rsp + 0x28], r10d
shr ebx, 0xc
cmp ebx, 3
mov rax, qword [rbp]
mov qword [rsp + 0x40], rax
je 0x100062ee1
sub ebx, 0xa
neg ebx
sbb edx, edx
add edx, 3
jmp 0x100062ee6
mov edx, 2
mov r11, r12
neg r11
sub edx, 2
je 0x100062f0c
cmp edx, 1
je 0x100062efc
or r11, 0xffffffffffffffff
jmp 0x100062f14
add rax, r11
mov r11d, 8
mov qword [rsp + 0x40], rax
jmp 0x100062f14
add dword [rsp + 0x40], r11d
mov r11, r14
xor ebx, ebx
test r11, r11
je 0x100062f84
movzx ecx, byte [rsp + rbx + 0x40]
inc rbx
add ecx, 0x7cd8fefb
add r10d, ecx
add ecx, r9d
mov eax, ecx
imul eax, eax, 0x42b2
rol eax, 0xb
ror ecx, 0xb
xor eax, ecx
imul rax, rax, 0x7cd8fefb
mov qword [rsp + 0x38], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x38]
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 0x100062f1b
mov dword [rsp + 0x2c], r9d
mov dword [rsp + 0x28], r10d
add r11, rbp
mov rbp, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
jmp 0x100062dc3
xor ebp, ebp
mov r12, qword [rsp + 0x70]
mov dil, bpl
mov r15, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x68]
mov r8, rbp
sub rbx, r11
je 0x10006301e
movzx ecx, byte [r11 + r8]
inc r8
add ecx, 0x7cd8fefb
add r10d, ecx
add ecx, r9d
mov eax, ecx
imul eax, eax, 0x42b2
rol eax, 0xb
ror ecx, 0xb
xor eax, ecx
imul rax, rax, 0x7cd8fefb
mov qword [rsp + 0x68], rax
mov ecx, dword [rsp + 0x68]
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 r8, rbx
jb 0x100062fb5
mov dword [rsp + 0x2c], r9d
mov dword [rsp + 0x28], r10d
mov rsi, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x20]
mov rcx, rbp
mov rax, rcx
inc rcx
and eax, 7
cmp rcx, 8
mov al, byte [rsp + rax + 0x28]
mov byte [rsp + rcx + 0x8f], al
jb 0x10006302a
mov eax, 0x454d4bbe
mov rax, qword [rsp + 0x90]
mov r13, r15
mov r8, r12
mov qword [rsp + 0x38], r12
mov r11, rsi
and r13d, 7
mov qword [rsp + 0x30], rsi
je 0x100063528
mov esi, ebx
xor r11d, r11d
test r13d, r13d
not esi
mov dword [rsp + 0x48], ebp
mov r9d, ebp
mov dword [rsp + 0x20], ebp
jle 0x1000630c1
lea r10d, [r11 + 0x38]
movzx edx, byte [r8]
cmp r11d, r14d
jge 0x10006309c
lea ecx, [r10 - 0x20]
shl edx, cl
or ebp, edx
jmp 0x1000630a4
mov ecx, r10d
shl edx, cl
or r9d, edx
inc r11d
inc r8
sub r10d, 8
cmp r11d, r13d
jl 0x100063089
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x48], r9d
mov qword [rsp + 0x38], r8
movzx r11d, ax
mov ecx, eax
movzx r9d, word [rsp + 0x96]
mov r8d, dword [rsp + 0x94]
mov edx, r8d
movzx r10d, r8w
xor edx, ebx
sub ecx, edx
xor esi, ecx
mov ebp, esi
mov edx, esi
mov ecx, r10d
sub edx, eax
ror edx, 1
ror ebp, 1
imul ecx, edx
add ebp, ecx
xor ebp, ebx
movzx ebx, word [rsp + 0x92]
mov ecx, ebp
sub ecx, ebx
xor ecx, r8d
xor esi, ecx
mov ecx, r11d
mov r8d, r9d
xor r8d, esi
mov edx, esi
rol r8d, 7
rol edx, 0xc
imul ecx, r8d
sub ecx, edx
xor ebp, ecx
mov ecx, r9d
mov edx, ebp
mov r8d, eax
sub r8d, ebp
ror r8d, 0xf
ror edx, 1
imul ecx, r8d
mov r8d, dword [rsp + 0x94]
add edx, ecx
xor esi, edx
mov ecx, esi
ror ecx, 0xa
xor ecx, r10d
imul ecx, r9d
xor ebp, ecx
mov ecx, ebx
add r8d, ebp
rol r8d, 9
mov edx, ebp
ror edx, 0xe
imul ecx, r8d
sub ecx, edx
xor esi, ecx
mov edx, esi
mov ecx, r10d
xor ecx, esi
ror edx, 5
imul ecx, r11d
xor edx, ecx
xor ebp, edx
mov ecx, ebp
mov edx, r10d
xor edx, ebp
shr ecx, 1
imul edx, r9d
add edx, ecx
xor esi, edx
mov edx, ebx
mov ecx, esi
xor edx, esi
shr ecx, 0xa
imul edx, r10d
xor edx, ecx
xor ebp, edx
mov ecx, r11d
xor ecx, ebp
rol ecx, 4
imul ebx, ecx
mov ecx, ebp
shr ecx, 8
xor r9d, r9d
add ebx, ecx
mov ecx, dword [rsp + 0x94]
xor esi, ebx
mov edx, esi
mov ebx, dword [rsp + 0x48]
xor ecx, esi
xor esi, ebx
ror ecx, 1
ror edx, 0xb
imul r11d, ecx
xor edx, r11d
xor edx, dword [rsp + 0x20]
xor ebp, edx
mov ecx, ebp
test r13d, r13d
mov edx, esi
jle 0x100063211
mov r8, qword [rsp + 0x30]
cmp r9d, r14d
jge 0x1000631f8
rol ecx, 8
mov byte [r8], cl
inc r8
xor dil, cl
jmp 0x100063204
rol edx, 8
mov byte [r8], dl
inc r8
xor dil, dl
inc r9d
cmp r9d, r13d
jl 0x1000631e5
mov qword [rsp + 0x30], r8
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x100063510
sub r14d, ecx
shl r14d, 3
mov ecx, r14d
shr esi, cl
shl esi, cl
mov r11, qword [rsp + 0x30]
mov r14d, dword [rsp + 0x20]
mov r8, qword [rsp + 0x38]
mov r13, r15
shr r13, 3
test r13, r13
je 0x100063458
movzx ecx, ax
mov r15d, dword [rsp + 0x94]
mov dword [rsp + 0x20], ecx
movzx r12d, r15w
movzx ecx, byte [r8 + 1]
movzx r10d, byte [r8]
movzx r9d, byte [r8 + 4]
add r8, 8
shl r10d, 8
shl r9d, 8
or r10d, ecx
shl r10d, 8
movzx ecx, byte [r8 - 6]
mov qword [rsp + 0x38], r8
mov edx, eax
or r10d, ecx
shl r10d, 8
movzx ecx, byte [r8 - 5]
or r10d, ecx
movzx ecx, byte [r8 - 3]
or r9d, ecx
xor ebp, r10d
shl r9d, 8
movzx ecx, byte [r8 - 2]
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r8 - 1]
or r9d, ecx
mov ecx, r15d
xor ecx, ebp
sub edx, ecx
xor edx, r9d
xor esi, edx
mov r8d, esi
sub r8d, eax
mov ecx, r12d
mov edx, esi
ror r8d, 1
ror edx, 1
imul ecx, r8d
add edx, ecx
xor ebp, edx
mov ecx, ebp
movzx edx, word [rsp + 0x92]
movzx r8d, word [rsp + 0x96]
sub ecx, edx
xor ecx, r15d
xor esi, ecx
xor r8d, esi
rol r8d, 7
mov ecx, dword [rsp + 0x20]
mov edx, esi
rol edx, 0xc
imul ecx, r8d
sub ecx, edx
mov r8d, eax
xor ebp, ecx
movzx ecx, word [rsp + 0x96]
mov edx, ebp
sub r8d, ebp
ror r8d, 0xf
ror edx, 1
imul ecx, r8d
add edx, ecx
xor esi, edx
movzx edx, word [rsp + 0x96]
mov ecx, esi
ror ecx, 0xa
xor ecx, r12d
imul ecx, edx
xor ebp, ecx
lea r8d, [r15 + rbp]
rol r8d, 9
movzx ecx, word [rsp + 0x92]
mov edx, ebp
ror edx, 0xe
imul ecx, r8d
sub ecx, edx
xor esi, ecx
movzx r8d, word [rsp + 0x92]
mov ecx, r12d
mov edx, esi
xor ecx, esi
ror edx, 5
imul ecx, dword [rsp + 0x20]
xor edx, ecx
xor ebp, edx
movzx ecx, word [rsp + 0x96]
mov edx, r12d
xor edx, ebp
imul edx, ecx
mov ecx, ebp
shr ecx, 1
add edx, ecx
xor esi, edx
mov ecx, esi
mov edx, r8d
xor edx, esi
shr ecx, 0xa
imul edx, r12d
xor edx, ecx
mov ecx, dword [rsp + 0x20]
xor ebp, edx
mov edx, r8d
xor ecx, ebp
rol ecx, 4
imul edx, ecx
mov ecx, ebp
shr ecx, 8
add edx, ecx
mov ecx, dword [rsp + 0x20]
xor esi, edx
mov edx, r15d
xor edx, esi
mov r8d, esi
xor esi, ebx
mov ebx, r9d
ror edx, 1
mov byte [r11 + 7], sil
ror r8d, 0xb
imul ecx, edx
xor r8d, ecx
xor r8d, r14d
xor ebp, r8d
mov r14d, r10d
xor dil, bpl
mov r8, qword [rsp + 0x38]
mov byte [r11 + 3], bpl
ror ebp, 8
mov byte [r11 + 2], bpl
xor dil, sil
ror esi, 8
xor dil, bpl
ror ebp, 8
mov byte [r11 + 6], sil
xor dil, sil
mov byte [r11 + 1], bpl
ror esi, 8
xor dil, bpl
mov byte [r11 + 5], sil
ror ebp, 8
xor dil, sil
ror esi, 8
mov cl, sil
mov byte [r11], bpl
mov byte [r11 + 4], sil
add r11, 8
xor cl, bpl
xor dil, cl
ror ebp, 8
ror esi, 8
sub r13, 1
jne 0x10006325d
mov r12, qword [rsp + 0x70]
mov r15, qword [rsp + 0x80]
mov al, byte [r15 + r12 + 8]
xor al, dil
je 0x10006354a
call fcn.1000024bc
mov rbx, rax
mov rsi, qword [rsp + 0x78]
lea r8, [rsi + 0x18]
and r8, 0xfffffffffffffff8
mov r11d, 0xffff
lea r9, [r8 + 0xfff]
lea r10, [0x100059e28]
mov qword [rsi + 0x10], r10
mov rcx, qword [0x1003feeb8]
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 0x1000634a9
mov qword [0x1003feeb8], rcx
movabs rax, 0x8000800080008001
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 0x100063540
xor esi, esi
test ecx, ecx
jns 0x10006322b
neg ecx
shl ecx, 3
shr ebp, cl
shl ebp, cl
jmp 0x10006322b
mov r14d, ebx
mov esi, ebp
not ebx
jmp 0x10006323a
mov rax, qword [rsp + 0x60]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x100063534
jmp 0x100063662
mov rbp, qword [rsp + 0x50]
mov rbx, r12
lea r14, [0x100000000]
mov rax, qword [0x10014d838]
sub rbx, rbp
mov rsi, r14
sub rsi, rax
jne 0x100063574
test rbx, rbx
je 0x100063647
mov rcx, qword [0x1000199f8]
mov r11, rbp
lea r8d, [rcx - 1]
xor edi, edi
sub r11, r12
sub r12d, r14d
test r8d, r8d
lea r13d, [r15 + r12]
lea r15, [0x1000199f8]
js 0x1000635c7
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r15 + rdx*4 + 4]
and r9d, 0xfffffff
cmp r12d, r9d
jae 0x1000635bd
lea r8d, [rax - 1]
jmp 0x1000635c2
jbe 0x1000635cc
lea edi, [rax + 1]
cmp r8d, edi
jge 0x10006359a
movsxd r10, edi
jmp 0x100063640
movsxd r10, eax
jmp 0x100063640
mov edx, dword [r15 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x100063647
mov r8, rdx
mov edi, edx
sar edx, 0x1e
shl edi, 2
and r8d, 0xfffffff
and edx, 3
sar edi, 0x1e
add r8, r14
xor r9d, r9d
and edi, 3
sub edi, 1
je 0x10006361c
sub edi, 1
je 0x100063617
cmp edi, 1
jne 0x100063622
mov r9, rsi
jmp 0x100063622
mov r9, rbx
jmp 0x100063622
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x100063632
cmp edx, 1
jne 0x10006363d
add qword [r8 + r11], r9
jmp 0x100063636
add dword [r8 + r11], r9d
mov rcx, qword [0x1000199f8]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x1000635d1
mov eax, dword [0x100015b94]
mov eax, 0xdfc45a14
mov rsi, qword [rsp + 0x78]
mov r10, qword [rsp + 0x88]
add r10, rbp
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