Function at 0x10030ef24
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
mov qword [rsp + 0x88], rcx
lea rax, [rcx + 0x18]
lea r15, [0x100000000]
lea r8, section..data
mov r13d, 0xfffffff
mov qword [rsp + 0x78], rax
mov rax, qword [rax]
mov ecx, dword [rax + 9]
mov r14d, dword [rax + 5]
mov ebp, dword [rax + 1]
mov qword [rsp + 0x68], rdx
and rbp, r13
lea r9, [rax + 0xd]
lea rdi, [r9 - 1]
and rcx, r13
and r14, r13
add rbp, r15
xor r12d, r12d
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x90], r14
cmp rdi, r8
jb 0x10030eff1
mov ecx, dword [0x10028bffc]
mov eax, dword [0x100015b94]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x10030eff1
mov ecx, dword [0x100015b94]
mov rax, rdi
sub rax, r8
cqo
idiv rcx
mov edx, dword [0x100015b94]
imul rdx, rax
add r8, rdx
jmp 0x10030eff4
mov r8, r12
cmp r8, r12
jne 0x10030f003
mov r8, rdi
and r8, 0xffffffffffff0000
sub r9, r8
lea rax, [r9 - 0x40]
mov r9d, dword [0x100015b94]
cmp rax, r12
mov ebx, ebp
cmovl rax, r12
sub r9, r14
sub ebx, r15d
mov dword [rsp + 0x38], ebx
lea rdi, [r8 + rax]
xor eax, eax
lea ecx, [rax + 0x40]
rep stosb byte [rdi], al
inc r9
cmp r9, r12
mov rdi, r9
je 0x10030f070
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 0x10030f041
mov qword [0x1003feeb8], rcx
mov ecx, ebx
xor edx, edx
div r9
lea rsi, [rdx + r8]
mov r8, rsi
mov rdx, r14
mov qword [rsp + 0x60], rsi
mov eax, 0xe6392fbd
lea rcx, [rsp + 0x58]
mov rdx, qword [r14 + rbp]
mov qword [rsp + 0x58], rdx
mov dil, r12b
mov eax, 0xea87bcfd
mov r11, qword [rsp + 0x58]
mov rax, qword [0x10014d838]
mov rcx, r15
and r11, r13
mov r8d, dword [rsp + 0x5c]
and r8, r13
mov qword [rsp + 0x28], r12
mov r13d, 4
add r11, r15
sub rcx, rax
mov qword [rsp + 0x40], rcx
jne 0x10030f148
mov r10, r12
cmp r8, r12
jbe 0x10030f456
mov ecx, dword [rsp + 0x2c]
mov r9d, dword [rsp + 0x28]
movzx eax, byte [r11 + r10]
inc r10
add eax, 0x72d985af
add r9d, eax
add eax, ecx
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x30]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov ecx, edx
sar ecx, 0x1f
btr ecx, 0x1f
add ecx, edx
add r9d, ecx
cmp r10, r8
jb 0x10030f0e8
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x28], r9d
jmp 0x10030f456
lea rax, [r11 + r8]
movsxd rcx, dword [0x10000003c]
mov r9d, dword [rcx + r15 + 0xb0]
mov edx, dword [rcx + r15 + 0xb4]
mov qword [rsp + 0x70], rax
add r9, r15
mov eax, r11d
sub eax, r15d
mov ecx, eax
mov r10d, eax
mov rbx, rcx
mov rax, 0xfffffffffffff000
lea r12, [r8 + rcx]
lea rcx, [rdx + r9]
mov r15, r12
mov qword [rsp + 0x30], rcx
and r10, rax
sub rbx, r10
and r15, rax
sub r12, r15
mov qword [rsp + 0x50], r12
jmp 0x10030f1b2
mov eax, dword [r9]
cmp rax, r10
jae 0x10030f1b7
mov eax, dword [r9 + 4]
add r9, rax
cmp r9, rcx
jne 0x10030f1a3
xor esi, esi
cmp r9, rcx
je 0x10030f1f5
mov eax, dword [r9]
cmp rax, r10
jne 0x10030f1f5
mov ecx, dword [r9 + 4]
sub rcx, 8
shr rcx, 1
je 0x10030f1f0
lea rdx, [r9 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rbx
jae 0x10030f1f0
inc rsi
add rdx, 2
cmp rsi, rcx
jne 0x10030f1d7
mov rcx, qword [rsp + 0x30]
mov r10d, dword [rsp + 0x28]
mov rbp, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x2c]
cmp r9, rcx
je 0x10030f3c9
mov eax, dword [r9]
cmp rax, r15
ja 0x10030f3c9
mov edx, dword [r9 + 4]
lea rax, [rdx - 8]
shr rax, 1
cmp rsi, rax
jne 0x10030f245
add r9, rdx
cmp r9, rcx
je 0x10030f3c9
mov eax, dword [r9]
cmp rax, r15
ja 0x10030f3c9
xor esi, esi
jmp 0x10030f219
mov eax, dword [r9]
cmp rax, r15
jne 0x10030f261
movzx eax, word [r9 + rsi*2 + 8]
and eax, 0xfff
cmp rax, r12
jae 0x10030f3c9
mov rax, rsi
inc rsi
mov edx, 0xf000
test word [r9 + rax*2 + 8], dx
je 0x10030f204
movzx ebx, word [r9 + rax*2 + 8]
lea rax, [0x100000000]
mov r12d, ebx
xor edi, edi
and r12d, 0xfff
add r12d, dword [r9]
add r12, rax
mov rax, r12
sub rax, r11
je 0x10030f2ff
mov r14, rax
movzx eax, byte [r11 + rdi]
inc rdi
add eax, 0x72d985af
add r10d, eax
add eax, r8d
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
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 r8d, edx
sar r8d, 0x1f
btr r8d, 0x1f
add r8d, edx
add r10d, r8d
cmp rdi, r14
jb 0x10030f29e
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x28], r10d
shr ebx, 0xc
cmp ebx, 3
mov rax, qword [r12]
mov qword [rsp + 0x48], rax
je 0x10030f31c
sub ebx, 0xa
neg ebx
sbb edx, edx
add edx, 3
jmp 0x10030f321
mov edx, 2
mov r11, rbp
neg r11
sub edx, 2
je 0x10030f347
cmp edx, 1
je 0x10030f337
or r11, 0xffffffffffffffff
jmp 0x10030f34f
add rax, r11
mov r11d, 8
mov qword [rsp + 0x48], rax
jmp 0x10030f34f
add dword [rsp + 0x48], r11d
mov r11, r13
xor ebx, ebx
test r11, r11
je 0x10030f3b7
movzx eax, byte [rsp + rbx + 0x48]
inc rbx
add eax, 0x72d985af
add r10d, eax
add eax, r8d
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
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 r8d, edx
sar r8d, 0x1f
btr r8d, 0x1f
add r8d, edx
add r10d, r8d
cmp rbx, r11
jb 0x10030f356
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x28], r10d
add r11, r12
mov rcx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x50]
jmp 0x10030f204
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x90]
xor r12d, r12d
sub rbx, r11
mov r9, r12
mov dil, r9b
je 0x10030f44d
movzx eax, byte [r11 + r9]
inc r9
add eax, 0x72d985af
add r10d, eax
add eax, r8d
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
mov qword [rsp + 0x70], rax
mov ecx, dword [rsp + 0x70]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r8d, edx
sar r8d, 0x1f
btr r8d, 0x1f
add r8d, edx
add r10d, r8d
cmp r9, rbx
jb 0x10030f3ec
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x28], r10d
mov rsi, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x38]
mov rcx, r12
mov rax, rcx
inc rcx
and eax, 7
mov al, byte [rsp + rax + 0x28]
mov byte [rsp + rcx + 0x9f], al
cmp rcx, 8
jb 0x10030f459
mov eax, 0xa3ed3459
mov r12, r14
mov r10, rsi
and r12d, 7
mov rax, qword [rsp + 0xa0]
mov r15, rbp
mov qword [rsp + 0x30], rsi
je 0x10030f958
not ebx
xor r8d, r8d
xor r11d, r11d
mov dword [rsp + 0x40], r8d
xor r10d, r10d
test r12d, r12d
mov dword [rsp + 0x50], r11d
jle 0x10030f4eb
lea r9d, [r8 + 0x38]
movzx edx, byte [r15]
cmp r10d, r13d
jge 0x10030f4ca
lea ecx, [r9 - 0x20]
shl edx, cl
or r11d, edx
jmp 0x10030f4d2
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r10d
inc r15
sub r9d, 8
cmp r10d, r12d
jl 0x10030f4b6
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x40], r8d
movzx r8d, word [rsp + 0xa6]
mov esi, ebx
movzx r9d, word [rsp + 0xa2]
movzx r11d, ax
sub esi, dword [rsp + 0xa4]
mov ecx, eax
mov edx, dword [rsp + 0xa4]
movzx r10d, word [rsp + 0xa4]
sub esi, r11d
xor esi, dword [rsp + 0x38]
xor edx, esi
sub ecx, edx
xor ebx, ecx
mov ecx, ebx
sub ecx, r10d
xor ecx, eax
xor esi, ecx
mov edx, esi
xor edx, r8d
mov ecx, esi
rol edx, 7
rol ecx, 0xf
imul edx, r9d
add ecx, edx
xor ebx, ecx
mov ecx, ebx
mov edx, dword [rsp + 0xa4]
sub edx, ebx
rol edx, 6
ror ecx, 9
imul edx, r11d
sub edx, ecx
xor esi, edx
mov ecx, esi
mov edx, esi
xor edx, r11d
rol edx, 5
ror ecx, 1
imul edx, r8d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
ror ecx, 2
sub ecx, r10d
imul ecx, r8d
xor esi, ecx
mov edx, esi
mov ecx, esi
xor edx, r10d
shr ecx, 0xc
imul edx, r9d
xor edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, dword [rsp + 0xa4]
xor edx, ebx
ror edx, 6
rol ecx, 4
imul edx, r11d
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
ror edx, 3
xor ecx, r11d
imul ecx, r8d
add edx, ecx
xor ebx, edx
mov edx, ebx
sub edx, eax
rol edx, 4
mov ecx, ebx
ror ecx, 0xc
imul edx, r10d
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
sub edx, r10d
imul edx, r9d
shr ecx, 0xe
sub edx, ecx
xor r9d, r9d
xor ebx, edx
mov ecx, ebx
mov edx, dword [rsp + 0xa4]
sub edx, ebx
ror edx, 0xc
rol ecx, 7
imul edx, r11d
add ecx, edx
mov r11d, dword [rsp + 0x40]
xor ebx, r11d
xor ecx, dword [rsp + 0x50]
mov r8d, ebx
xor esi, ecx
mov edx, esi
test r12d, r12d
jle 0x10030f648
mov rcx, qword [rsp + 0x30]
cmp r9d, r13d
jge 0x10030f62e
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x10030f63b
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r12d
jl 0x10030f61c
mov qword [rsp + 0x30], rcx
lea ecx, [r12 - 4]
test ecx, ecx
jle 0x10030f940
sub r13d, ecx
shl r13d, 3
mov ecx, r13d
shr ebx, cl
shl ebx, cl
mov r10, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
mov r12, r14
shr r12, 3
test r12, r12
je 0x10030f882
movzx r14d, word [rsp + 0xa4]
movzx ecx, word [rsp + 0xa6]
movzx ebp, ax
mov dword [rsp + 0x40], ecx
movzx ecx, word [rsp + 0xa2]
mov dword [rsp + 0x38], ecx
mov edx, dword [rsp + 0xa4]
movzx ecx, byte [r15 + 1]
movzx r8d, byte [r15 + 4]
movzx r9d, byte [r15]
shl r9d, 8
shl r8d, 8
or r9d, ecx
movzx ecx, byte [r15 + 2]
add r15, 8
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r15 - 5]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r15 - 3]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r15 - 2]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r15 - 1]
or r8d, ecx
xor ebx, r8d
mov ecx, ebx
sub ecx, dword [rsp + 0xa4]
sub ecx, ebp
xor ecx, r9d
xor esi, ecx
xor edx, esi
mov ecx, eax
sub ecx, edx
xor ebx, ecx
mov ecx, ebx
sub ecx, r14d
xor ecx, eax
xor esi, ecx
mov edx, esi
movzx ecx, word [rsp + 0xa6]
xor edx, ecx
mov ecx, esi
rol edx, 7
rol ecx, 0xf
imul edx, dword [rsp + 0x38]
add ecx, edx
xor ebx, ecx
mov edx, dword [rsp + 0xa4]
sub edx, ebx
rol edx, 6
mov ecx, ebx
ror ecx, 9
imul edx, ebp
sub edx, ecx
xor esi, edx
mov ecx, esi
mov edx, esi
xor edx, ebp
rol edx, 5
ror ecx, 1
imul edx, dword [rsp + 0x40]
sub edx, ecx
xor ebx, edx
movzx edx, word [rsp + 0xa6]
mov ecx, ebx
ror ecx, 2
sub ecx, r14d
imul ecx, edx
xor esi, ecx
movzx ecx, word [rsp + 0xa2]
mov edx, esi
xor edx, r14d
imul edx, ecx
mov ecx, esi
shr ecx, 0xc
xor edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0xa4]
xor edx, ebx
mov ecx, ebx
ror edx, 6
rol ecx, 4
imul edx, ebp
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
xor ecx, ebp
ror edx, 3
imul ecx, dword [rsp + 0x40]
add edx, ecx
xor ebx, edx
mov edx, ebx
sub edx, eax
mov ecx, ebx
rol edx, 4
ror ecx, 0xc
imul edx, r14d
add ecx, edx
xor esi, ecx
movzx ecx, word [rsp + 0xa2]
mov edx, esi
sub edx, r14d
imul edx, ecx
mov ecx, esi
shr ecx, 0xe
sub edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0xa4]
sub edx, ebx
mov ecx, ebx
xor ebx, r11d
ror edx, 0xc
mov r11d, r8d
mov byte [r10 + 7], bl
rol ecx, 7
imul edx, ebp
add ecx, edx
xor ecx, r13d
mov r13d, r9d
xor esi, ecx
mov byte [r10 + 3], sil
xor dil, sil
ror esi, 8
mov byte [r10 + 2], sil
xor dil, bl
ror ebx, 8
xor dil, sil
ror esi, 8
mov byte [r10 + 6], bl
mov byte [r10 + 1], sil
xor dil, bl
ror ebx, 8
mov byte [r10 + 5], bl
xor dil, sil
ror esi, 8
mov byte [r10], sil
xor dil, bl
ror ebx, 8
mov cl, bl
mov byte [r10 + 4], bl
add r10, 8
xor cl, sil
xor dil, cl
ror esi, 8
ror ebx, 8
sub r12, 1
jne 0x10030f6a1
mov r14, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x80]
mov al, byte [r14 + rbp + 8]
xor al, dil
je 0x10030f980
call fcn.1000024bc
lea r10, [0x100059e28]
mov r11, rax
mov rax, 0xfffffffffffff000
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x88]
mov ebx, 0xffff
mov r8, rsi
mov qword [rbp + 0x10], r10
and r8, 0xfffffffffffffff8
mov rcx, qword [0x1003feeb8]
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 0x10030f8d9
mov qword [0x1003feeb8], rcx
movabs rax, 0x8000800080008001
mul rdi
mov rax, qword [rsp + 0x68]
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub rdi, rdx
mov qword [rax + 0x98], r11
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x68], rbx
jmp 0x10030f976
xor ebx, ebx
test ecx, ecx
jns 0x10030f663
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x10030f663
mov r13d, ebx
mov r11d, ebx
xor ebx, ebx
not r11d
xor esi, esi
jmp 0x10030f66d
mov rax, qword [rsp + 0x68]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x10030f96a
jmp 0x10030faa1
mov r12, qword [rsp + 0x60]
mov rbx, rbp
sub rbx, r12
mov rax, qword [0x10014d838]
lea r15, [0x100000000]
mov rsi, r15
sub rsi, rax
jne 0x10030f9aa
test rbx, rbx
je 0x10030fa7d
mov r11, r12
xor edi, edi
mov rcx, qword [0x1000199f8]
sub r11, rbp
lea r8d, [rcx - 1]
sub ebp, r15d
test r8d, r8d
lea r13d, [r14 + rbp]
lea r14, [0x1000199f8]
js 0x10030f9fd
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 0x10030f9f3
lea r8d, [rax - 1]
jmp 0x10030f9f8
jbe 0x10030fa02
lea edi, [rax + 1]
cmp r8d, edi
jge 0x10030f9d0
movsxd r10, edi
jmp 0x10030fa76
movsxd r10, eax
jmp 0x10030fa76
mov edx, dword [r14 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x10030fa7d
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 0x10030fa52
sub edi, 1
je 0x10030fa4d
cmp edi, 1
jne 0x10030fa58
mov r9, rsi
jmp 0x10030fa58
mov r9, rbx
jmp 0x10030fa58
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x10030fa68
cmp edx, 1
jne 0x10030fa73
add qword [r8 + r11], r9
jmp 0x10030fa6c
add dword [r8 + r11], r9d
mov rcx, qword [0x1000199f8]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x10030fa07
mov eax, dword [0x100015b94]
mov eax, 0xf9940cef
mov rbp, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x78]
lea r10, [r12 + rdx]
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