Function at 0x10008628c
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 [0x100404bb0]
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 0x10008634e
mov ecx, dword [0x10028bf00]
mov eax, dword [0x100015964]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x10008634e
mov rax, rdi
sub rax, r8
cqo
mov ecx, dword [0x100015964]
idiv rcx
mov edx, dword [0x100015964]
imul rdx, rax
add r8, rdx
jmp 0x100086351
mov r8, r12
cmp r8, r12
jne 0x100086360
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 [0x100015964]
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 0x1000863cd
mov rcx, qword [0x1003fe198]
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 0x10008639e
mov qword [0x1003fe198], 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, 0xf6058000
mov rdx, qword [r14 + rbp]
mov dil, r12b
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rdx
mov eax, 0x3947e348
mov rax, qword [0x10014dad0]
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 0x1000864ad
cmp r9, r12
mov r10, r12
jbe 0x1000867d6
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 0x100086445
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], r8d
jmp 0x1000867d6
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 0x10008651a
mov eax, dword [r8]
cmp rax, r10
jae 0x10008651f
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x10008650b
xor esi, esi
cmp r8, rcx
je 0x10008655d
mov eax, dword [r8]
cmp rax, r10
jne 0x10008655d
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x100086558
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rbx
jae 0x100086558
inc rsi
add rdx, 2
cmp rsi, rcx
jne 0x10008653f
mov rcx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x28]
mov r10d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x3c]
cmp r8, rcx
je 0x100086744
mov eax, dword [r8]
cmp rax, r15
ja 0x100086744
mov edx, dword [r8 + 4]
lea rax, [rdx - 8]
shr rax, 1
cmp rsi, rax
jne 0x1000865ad
add r8, rdx
cmp r8, rcx
je 0x100086744
mov eax, dword [r8]
cmp rax, r15
ja 0x100086744
xor esi, esi
jmp 0x100086581
mov eax, dword [r8]
cmp rax, r15
jne 0x1000865c9
movzx eax, word [r8 + rsi*2 + 8]
and eax, 0xfff
cmp rax, r12
jae 0x100086744
mov edx, 0xf000
mov rax, rsi
inc rsi
test word [r8 + rax*2 + 8], dx
je 0x10008656c
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 0x10008666f
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 0x100086606
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 0x10008668c
sub ebx, 0xa
neg ebx
sbb edx, edx
add edx, 3
jmp 0x100086691
mov edx, 2
mov r11, rbp
neg r11
sub edx, 2
je 0x1000866b7
cmp edx, 1
je 0x1000866a7
or r11, 0xffffffffffffffff
jmp 0x1000866bf
add rax, r11
mov r11d, 8
mov qword [rsp + 0x48], rax
jmp 0x1000866bf
add dword [rsp + 0x48], r11d
mov r11, r13
xor ebx, ebx
test r11, r11
je 0x10008672f
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 0x1000866c6
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x38], r10d
mov rcx, qword [rsp + 0x40]
add r11, r12
mov r12, qword [rsp + 0x88]
jmp 0x10008656c
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 0x1000867cd
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 0x100086764
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 0x1000867d9
mov eax, 0x313fcb12
mov r11, rsi
mov r12, r14
and r12d, 7
mov rax, qword [rsp + 0x98]
mov r15, rbp
mov qword [rsp + 0x40], rsi
je 0x100086cfd
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 0x10008686b
lea r9d, [r8 + 0x38]
movzx edx, byte [r15]
cmp r10d, r13d
jge 0x10008684b
lea ecx, [r9 - 0x20]
shl edx, cl
or esi, edx
jmp 0x100086853
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r10d
inc r15
sub r9d, 8
cmp r10d, r12d
jl 0x100086838
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 0x1000869cb
mov rcx, qword [rsp + 0x40]
cmp r9d, r13d
jge 0x1000869b1
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x1000869be
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r12d
jl 0x10008699f
mov qword [rsp + 0x40], rcx
lea ecx, [r12 - 4]
test ecx, ecx
jle 0x100086ce5
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 0x100086c2d
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 0x100086a1e
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov al, byte [r14 + rbp + 8]
xor al, dil
je 0x100086d26
call fcn.10000228c
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, [0x10006d7ac]
and rbx, rax
mov qword [rsi + 0x10], r10
mov rcx, qword [0x1003fe198]
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 0x100086c7e
mov qword [0x1003fe198], 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 0x100086d1c
xor ebx, ebx
test ecx, ecx
jns 0x1000869e6
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x1000869e6
mov r12d, ebx
mov dword [rsp + 0x20], ebx
not r12d
xor ebx, ebx
xor esi, esi
jmp 0x1000869f0
mov rax, qword [rsp + 0x60]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x100086d10
jmp 0x100086e3f
mov r12, qword [rsp + 0x58]
lea r15, [0x100000000]
mov rsi, r15
mov rax, qword [0x10014dad0]
mov rbx, rbp
sub rbx, r12
sub rsi, rax
jne 0x100086d50
test rbx, rbx
je 0x100086e23
mov r11, r12
mov rcx, qword [0x100019a28]
lea r8d, [rcx - 1]
xor edi, edi
sub r11, rbp
sub ebp, r15d
lea r13d, [r14 + rbp]
test r8d, r8d
lea r14, [0x100019a28]
js 0x100086da3
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 0x100086d99
lea r8d, [rax - 1]
jmp 0x100086d9e
jbe 0x100086da8
lea edi, [rax + 1]
cmp r8d, edi
jge 0x100086d76
movsxd r10, edi
jmp 0x100086e1c
movsxd r10, eax
jmp 0x100086e1c
mov edx, dword [r14 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x100086e23
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 0x100086df8
sub edi, 1
je 0x100086df3
cmp edi, 1
jne 0x100086dfe
mov r9, rsi
jmp 0x100086dfe
mov r9, rbx
jmp 0x100086dfe
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x100086e0e
cmp edx, 1
jne 0x100086e19
add qword [r8 + r11], r9
jmp 0x100086e12
add dword [r8 + r11], r9d
mov rcx, qword [0x100019a28]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x100086dad
mov eax, dword [0x100015964]
mov eax, 0xbcc259a4
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.1003005f0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret