Function at 0x1400818c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
lea rdi, [rcx + 0x1e0]
mov rcx, rdi
mov edx, 0xae7bd594
mov r8d, 0x75580b48
mov r9d, 0x2abca6a
call fcn.1400ae0c0
mov byte [rsi + 0x89c], 1
mov eax, dword [0x14058ef18]
mov ecx, dword [0x140592ae8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x140081aea
lea rcx, [0x14058ef10]
mov edx, 0xd1bdb7d2
mov r8d, 0xc44314bd
mov r9d, 0xdd097ab8
call fcn.1400ae880
mov ebx, eax
mov byte [rsi + 0x89c], 0
mov rcx, rdi
mov edx, 0x5032e64f
mov r8d, 0x7a61eb72
mov r9d, 0x659da83e
call fcn.1400ae300
test bl, bl
je 0x140081fc4
mov eax, 0xd0112b2
add eax, dword [0x1405109d4]
test dword [rsi + 0x87c], eax
je 0x14008198a
mov rcx, rsi
call fcn.14007f0a0
movaps xmm0, xmmword [0x140449a40]
movups xmmword [0x14058269f], xmm0
movups xmmword [0x14058268f], xmm0
movups xmmword [0x14058267f], xmm0
movups xmmword [0x14058266f], xmm0
cmp qword [0x14058f108], 0
jne 0x1400819e3
mov ecx, 0x700
mov edx, 0x10346645
mov r8d, 0x200db3aa
call fcn.1400abf80
mov qword [rbp - 8], rax
mov rcx, rax
call fcn.140095740
mov rax, qword [rbp - 8]
mov qword [0x14058f108], rax
mov rdi, qword [0x14058f108]
mov rsi, qword [rdi + 0x3b0]
test rsi, rsi
je 0x140081a06
mov rcx, rsi
call fcn.140097160
mov rcx, rsi
call fcn.1400ab280
mov qword [rdi + 0x3b0], 0
mov byte [0x14058f2a8], 1
mov rcx, qword [0x14058f3a0]
test rcx, rcx
je 0x140081a46
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 0xd0112a3
add edx, dword [0x1405109d4]
call qword [case.0x140114b5b.0]
mov qword [0x14058f3a0], 0
xor eax, eax
test al, al
nop word [rax + rax]
mov rax, qword [0x14058f108]
mov ecx, dword [0x14058ec90]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
jne 0x140081a50
test rax, rax
jne 0x140081bf7
mov ecx, 0x700
mov edx, 0x10346645
mov r8d, 0x200db3aa
call fcn.1400abf80
mov qword [rbp - 8], rax
mov rcx, rax
call fcn.140095740
mov ecx, dword [0x14058ec90]
mov edx, dword [0x1405109d4]
mov eax, edx
neg eax
mov r8d, eax
xor r8d, 0xf2feed5d
and eax, 0x72feed5d
lea eax, [r8 + rax*2]
mov r8d, ecx
xor r8d, eax
and eax, ecx
lea eax, [r8 + rax*2]
imul eax, ecx
mov ecx, edx
xor ecx, 0xd0112a4
and edx, 0xd0112a4
lea ecx, [rcx + rdx*2]
xor edx, edx
div ecx
test edx, edx
mov r9, qword [rbp - 8]
jne 0x140081bd0
jmp 0x140081b6e
mov dword [rsp + 0x20], 0x2c72bd4d
lea r8, [0x14058ef18]
mov ecx, 1
mov edx, 1
mov r9d, 0x1b2f3e2e
call fcn.1400ac2f0
mov eax, 0xd0112a1
add eax, dword [0x1405109d4]
cmp dword [0x14058ef18], eax
jne 0x140081928
lea rcx, [0x14058ef10]
call fcn.14034d970
lea rcx, [0x1400ab120]
mov edx, 0x82290aa6
mov r8d, 0x7fed356e
call fcn.1400ac210
mov dword [rsp + 0x20], 0x2c72bd4d
lea r8, [0x14058ef18]
mov ecx, 1
xor edx, edx
mov r9d, 0x1b2f3e2e
call fcn.1400ac2f0
jmp 0x140081928
mov qword [0x14058f108], r9
mov ecx, dword [0x14058ec90]
mov r8d, dword [0x1405109d4]
mov eax, ecx
sub eax, r8d
add eax, 0xf2feed5d
imul eax, ecx
mov ecx, r8d
xor ecx, 0xd0112a4
mov edx, r8d
and edx, 0xd0112a4
lea ecx, [rcx + rdx*2]
xor edx, edx
div ecx
neg r8d
mov eax, r8d
xor eax, 0xf2feed5e
and r8d, 0x72feed5e
lea eax, [rax + r8*2]
add eax, edx
je 0x140081bf7
nop word cs:[rax + rax]
mov qword [0x14058f108], r9
mov eax, dword [0x1405109d4]
mov ecx, eax
xor ecx, 0x72feed5d
and ecx, eax
xor eax, 0xd0112a2
add ecx, ecx
add ecx, eax
jne 0x140081bd0
jmp 0x140081b6e
mov rsi, qword [0x14058f108]
lea rdi, [rsi + 0x558]
mov rcx, qword [rsi + 0x558]
test rcx, rcx
je 0x140081c8d
cmp dword [rsi + 0x574], 1
jne 0x140081c28
mov r8, qword [rsi + 0x560]
xor edx, edx
call fcn.14042db60
mov rcx, qword [rdi]
test rcx, rcx
je 0x140081c40
mov edx, 0x41c5f78
mov r8d, 0xb308b7ae
call fcn.1400ab270
cmp qword [0x14058f108], 0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov byte [rsi + 0x570], 1
jne 0x140081caa
mov ecx, 0x700
mov edx, 0x10346645
mov r8d, 0x200db3aa
call fcn.1400abf80
mov qword [rbp - 8], rax
mov rcx, rax
call fcn.140095740
mov rax, qword [rbp - 8]
mov qword [0x14058f108], rax
jmp 0x140081caa
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
movzx eax, byte [0x1405109d0]
add al, 0xb9
mov byte [rsi + 0x570], al
mov rsi, qword [0x14058f108]
mov rax, qword [rsi + 0x370]
mov rcx, qword [rsi + 0x378]
sub rcx, rax
shr rcx, 5
imul ecx, ecx, 0xcccccccd
test ecx, ecx
jle 0x140081e7b
xor edi, edi
movabs r14, 0x891a0c6388521778
movabs r15, 0xcccccccccccccccd
jmp 0x140081d29
mov rcx, qword [0x1405109d8]
add rdi, r14
add rdi, rcx
mov rax, qword [rsi + 0x370]
mov rdx, qword [rsi + 0x378]
sub rdx, rax
sar rdx, 5
imul rdx, r15
add cl, 0x97
shl rdx, cl
sar rdx, 0x20
cmp rdi, rdx
jge 0x140081e7b
lea rcx, [rdi + rdi*4]
shl rcx, 5
cmp dword [rax + rcx + 0x88], 0
jne 0x140081d46
cmp qword [rax + rcx + 0x88], 0
je 0x140081d85
lea r8, [rax + rcx]
add r8, 0x80
mov edx, dword [rax + rcx + 0x24]
mov dword [rsp + 0x20], 0x59623984
mov rcx, rsi
mov r9d, 0x32ede982
call fcn.1400abd30
jmp 0x140081d85
cqo
idiv r8
cmp dword [0x1405109d4], 0xf2feed5e
je 0x140081cf0
mov eax, dword [0x14058ec94]
cmp eax, 0x61
jle 0x140081cf0
mov r8, qword [rsi + 0x378]
movzx ecx, byte [rsi + 0x370]
mov rax, r8
shl rax, cl
mov rdx, r8
mov ecx, eax
shl rdx, cl
mov rax, r8
mov ecx, edx
shl rax, cl
mov rdx, r8
mov ecx, eax
shl rdx, cl
mov rax, r8
mov ecx, edx
shl rax, cl
mov rcx, r8
neg rcx
sub r8, rax
imul r8, rax
mov rax, rcx
xor rax, r8
and rcx, r8
lea rdx, [rax + rcx*2]
sub rdx, r8
lea rcx, [rdx + rdx*4]
shl rcx, 5
lea rax, [rcx - 0x6400]
sub rdx, rax
imul rdx, rax
mov rax, rdx
shl rax, cl
sub eax, edx
mov r8, rdx
mov ecx, eax
shl r8, cl
mov rax, rdx
neg rax
xor rax, r8
lea rcx, [rdx - 1]
not r8
and r8, rcx
or r8, rax
not r8
lea rcx, [rax + r8*2]
sub rcx, rdx
sub rdx, rcx
imul rdx, rcx
sub rdx, rcx
imul rdx, rcx
mov rax, rdx
sub rax, rcx
neg rdx
imul rdx, rcx
add rax, rdx
mov r8, rax
mov ecx, edx
shl r8, cl
mov rcx, rax
or rcx, r8
shr rcx, 0x20
jne 0x140081d70
xor edx, edx
div r8d
jmp 0x140081d75
mov eax, dword [0x14058ec94]
cmp eax, 0x2b
jl 0x140081e86
mov eax, dword [0x14058ec94]
cmp eax, 0x5c
jg 0x140081e70
mov rax, qword [rsi + 0x398]
sub rax, qword [rsi + 0x390]
mov ecx, dword [0x14058ec94]
cmp ecx, 0x25
jg 0x140081e70
shr rax, 2
test eax, eax
jle 0x140081ee3
xor edi, edi
nop dword [rax]
mov dword [rsp + 0x20], 0x59623984
mov rcx, rsi
mov edx, edi
xor r8d, r8d
mov r9d, 0x32ede982
call fcn.1400abd30
inc edi
mov rax, qword [rsi + 0x398]
sub rax, qword [rsi + 0x390]
shr rax, 2
cmp edi, eax
jl 0x140081eb0
mov eax, dword [0x14058ec94]
cmp eax, 0x2f
nop dword [rax]
mov rsi, qword [0x14058f038]
mov eax, dword [0x14058ec94]
cmp eax, 0x5b
jg 0x140081ef0
test rsi, rsi
je 0x140081fc4
mov eax, dword [0x14058ec90]
mov ecx, eax
not ecx
add ecx, 2
imul ecx, eax
test cl, 1
je 0x140081f72
lea rcx, [rsi + 0x20]
mov rdi, qword [rsi + 0x20]
mov r8, qword [rdi + 8]
mov rdx, rcx
call fcn.140097d50
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x30]
mov rdi, qword [rsi + 0x30]
mov r8, qword [rdi + 8]
mov rdx, rcx
call fcn.140097dc0
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [rsi + 0x38], 0
mov byte [rsi + 0x11], 0
lea rcx, [rsi + 0x20]
mov rdi, qword [rsi + 0x20]
mov r8, qword [rdi + 8]
mov rdx, rcx
call fcn.140097d50
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x30]
mov rdi, qword [rsi + 0x30]
mov r8, qword [rdi + 8]
mov rdx, rcx
call fcn.140097dc0
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [rsi + 0x38], 0
mov byte [rsi + 0x11], 0
mov eax, dword [0x14058ec90]
nop word [rax + rax]
mov eax, dword [0x14058ec94]
cmp eax, 0x19
jg 0x140081fd0
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret