Function at 0x140234ae0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, r8
mov rdi, rdx
mov r13, rcx
mov rax, qword [rcx]
movsxd rcx, dword [rax + 4]
mov r15, qword [r13 + rcx + 0x28]
test r15, r15
setg cl
xor edx, edx
sub r15, r8
seta r8b
mov r14d, 0
cmova r14, r15
xor r8b, cl
cmovne r14, rdx
mov qword [rbp - 0x10], r13
movsxd rax, dword [rax + 4]
mov rbx, qword [r13 + rax + 0x48]
test rbx, rbx
je 0x140234b95
mov r12d, 0xd87c9fe1
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [case.0x1400f5c95.0]
mov eax, dword [0x14051e254]
cmp eax, 0x16
jl 0x140234b95
nop dword [rax + rax]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [case.0x1400f5c95.0]
mov eax, dword [0x14051e254]
mov ecx, dword [0x1404e1540]
add ecx, r12d
cmp eax, ecx
jge 0x140234b70
jmp 0x140234b50
mov eax, 0xd87c9fa3
lea rcx, [fcn.140234ae0]
add ecx, ecx
add ecx, 0x2460
nop dword [rax]
mov edx, dword [0x1404e1540]
add edx, eax
mov r8d, ecx
xor r8d, edx
not r8d
test r8d, edx
jne 0x140234bb0
mov rax, qword [r13]
movsxd rax, dword [rax + 4]
cmp dword [r13 + rax + 0x10], 0
je 0x140234bdf
mov byte [rbp - 8], 0
jmp 0x140234c63
mov ecx, dword [0x14051e250]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, 0xd87c9fa2
add ecx, dword [0x1404e1540]
cmp edx, ecx
nop dword [rax + rax]
mov rcx, qword [r13 + rax + 0x50]
test rcx, rcx
sete dl
or dl, byte [0x14051d886]
cmp rcx, r13
sete r8b
mov r9d, dword [0x14051e250]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
jne 0x140234c00
or dl, r8b
test dl, 1
je 0x140234c4c
movzx eax, byte [0x1404e1544]
mov ecx, eax
xor cl, 0x9a
and al, 0x1a
add al, al
add al, cl
mov byte [rbp - 8], al
jmp 0x140234c63
call fcn.1400d77d0
mov rax, qword [r13]
movsxd rax, dword [rax + 4]
cmp dword [r13 + rax + 0x10], 0
sete byte [rbp - 8]
mov eax, 0xd87c9fa3
lea rcx, [fcn.140234ae0]
add ecx, ecx
add ecx, 0x2160
nop word [rax + rax]
mov edx, dword [0x14051e250]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x140234cad
movzx edx, byte [rbp - 8]
movzx r8d, byte [0x1404e1544]
mov r9d, dword [0x14051e254]
cmp r9d, 0x44
jle 0x140234cbb
mov edx, dword [0x1404e1540]
add edx, eax
test ecx, edx
jne 0x140234c80
jmp 0x140234c94
add r8b, 0x99
mov ecx, 4
cmp dl, r8b
je 0x140234f90
test r14, r14
mov qword [rbp], r13
je 0x140234dab
mov rax, qword [r13]
movsxd rax, dword [rax + 4]
mov eax, dword [r13 + rax + 0x18]
mov ecx, eax
not ecx
xor eax, 0x1c0
and ecx, 0xfffffe3f
or ecx, eax
not ecx
mov eax, 0xd87c9fe2
add eax, dword [0x1404e1540]
cmp ecx, eax
je 0x140234dab
xor r14d, r14d
jmp 0x140234d3b
dec r8d
mov dword [rdx], r8d
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rcx]
lea r8, [rdx + 1]
mov qword [rcx], r8
mov byte [rdx], al
dec r15
je 0x140234dab
mov rax, qword [r13]
movsxd rax, dword [rax + 4]
mov rcx, qword [r13 + rax + 0x48]
movzx eax, byte [r13 + rax + 0x58]
mov rdx, qword [rcx + 0x40]
cmp qword [rdx], 0
je 0x140234d64
mov rdx, qword [rcx + 0x58]
mov r8d, dword [rdx]
test r8d, r8d
jg 0x140234d20
movzx edx, al
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov r8, qword [case.0x1400f5c95.0]
mov dword [rbp + 0xc], 0
call r8
cmp eax, 0xffffffff
mov r13, qword [rbp]
jne 0x140234d36
mov edi, 4
mov r14, r15
jmp 0x140234dfe
mov eax, dword [0x14051e254]
cmp eax, 0x27
jge 0x140234da0
mov rax, qword [r13]
movsxd rax, dword [rax + 4]
mov rcx, qword [r13 + rax + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
mov edx, dword [0x14051e250]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x140234da0
mov r9, qword [case.0x1400f5c95.0]
mov dword [rbp + 0xc], 0
mov rdx, rdi
mov r8, rsi
call r9
mov ecx, 4
xor edi, edi
cmp rax, rsi
mov r13, qword [rbp]
jne 0x140234f7f
movabs rsi, 0xca7af61daad93fd7
lea rbx, [fcn.140234ae0]
jmp 0x140234e2a
add r14, qword [0x1404e1538]
add r14, rsi
test r14, r14
je 0x140234f76
mov rax, qword [r13]
movsxd rax, dword [rax + 4]
mov r8, qword [r13 + rax + 0x48]
movzx eax, byte [r13 + rax + 0x58]
mov rcx, qword [r8 + 0x40]
cmp qword [rcx], 0
je 0x140234ec0
cmp dword [0x1404e1540], 0x2783605e
jne 0x140234e6e
mov rdx, qword [r8 + 0x58]
mov r9d, dword [rdx]
mov ecx, dword [0x14051e254]
cmp ecx, 0x2f
jle 0x140234ea0
mov ecx, dword [0x1404e1540]
lea edx, [rcx - 0x2783605d]
lea r9d, [rbx + rbx]
add r9d, 0x31c0
and r9d, edx
mov edx, ecx
xor edx, 0xd87c9fa2
and ecx, 0x587c9fa2
lea ecx, [rdx + rcx*2]
cmp r9d, ecx
jne 0x140234e50
jmp 0x140234e5c
test r9d, r9d
jle 0x140234ec0
mov ecx, dword [0x14051e254]
cmp ecx, 0x5a
jle 0x140234ef0
jmp 0x140234f1f
movzx edx, al
mov rax, qword [r8]
mov rax, qword [rax + 0x18]
mov r9, qword [case.0x1400f5c95.0]
mov dword [rbp + 0xc], edi
mov rcx, r8
call r9
cmp eax, 0xffffffff
mov r13, qword [rbp]
jne 0x140234e20
jmp 0x140234f7a
lea ecx, [r9 - 1]
mov dword [rdx], ecx
mov rcx, qword [r8 + 0x40]
mov r10, qword [rcx]
lea r11, [r10 + 1]
mov qword [rcx], r11
mov byte [r10], al
mov ecx, dword [0x14051e250]
lea r10d, [rcx + 1]
imul r10d, ecx
test r10b, 1
je 0x140234e20
mov ecx, dword [0x1404e1540]
mov r10d, ecx
xor r10d, 0xd87c9fa1
and ecx, 0x587c9fa1
lea ecx, [r10 + rcx*2]
mov r10d, r9d
sub r10d, ecx
mov ecx, r10d
neg ecx
mov r11d, ecx
sub r11d, r9d
imul r11d, ecx
sub r11d, r10d
shl r11d, cl
mov r10d, r11d
shl r10d, cl
sub r10d, r11d
mov dword [rdx], r10d
mov rcx, qword [r8 + 0x40]
mov r10, qword [rcx]
lea r11, [r10 + 1]
mov qword [rcx], r11
mov byte [r10], al
jmp 0x140234ef0
mov ecx, edi
jmp 0x140234f7f
mov ecx, 4
mov rax, qword [r13]
movsxd rax, dword [rax + 4]
mov qword [r13 + rax + 0x28], 0
mov rax, qword [r13]
movsxd rax, dword [rax + 4]
or ecx, dword [r13 + rax + 0x10]
xor edx, edx
cmp qword [r13 + rax + 0x48], 0
sete dl
shl edx, 2
mov r14d, ecx
xor r14d, 0xffffffe8
and r14d, ecx
or r14d, edx
mov dword [r13 + rax + 0x10], r14d
and r14d, dword [r13 + rax + 0x14]
jne 0x14023501a
mov ecx, 0x5e7bbb1a
mov edx, 0x5e7bbb1a
call fcn.1400a94c0
test al, al
jne 0x140234fe0
mov rcx, qword [rbp - 0x10]
call fcn.1400d7a50
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rax + rcx + 0x48]
test rcx, rcx
je 0x1402351c3
mov eax, dword [0x14051e250]
mov edx, dword [0x1404e1540]
add edx, eax
dec edx
imul edx, eax
test dl, 1
jne 0x1402351b0
jmp 0x140235184
xor r15d, r15d
mov r12d, r14d
not r12d
mov eax, r14d
xor eax, 4
and r12d, 0xfffffffb
or r12d, eax
lea rsi, [rbp - 0x30]
nop word cs:[rax + rax]
test r15b, r15b
jne 0x1402350d3
xor ecx, ecx
mov edx, 1
mov r8d, 0x9f59efe8
mov r9d, 0xde02135a
call fcn.140238d10
mov rdi, rax
xor ecx, ecx
mov edx, 1
mov r8d, 0x8a96c84f
mov r9d, 0xcc91983c
call fcn.1402387d0
mov rbx, rax
test r14b, 2
cmovne rbx, rdi
mov ecx, 1
mov edx, 1
mov r8d, 0x53ac9ecc
mov r9d, 0xc9fdb0f1
call fcn.140238f50
mov rdi, rax
cmp r12d, 0xffffffff
cmove rdi, rbx
mov rcx, rsi
mov edx, 1
call fcn.14008a390
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x20], xmm0
mov eax, dword [0x14051e250]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14023514d
xor ecx, ecx
mov edx, 1
mov r8d, 0x9f59efe8
mov r9d, 0xde02135a
call fcn.140238d10
xor ecx, ecx
mov edx, 1
mov r8d, 0x8a96c84f
mov r9d, 0xcc91983c
call fcn.1402387d0
mov ecx, 1
mov edx, 1
mov r8d, 0x53ac9ecc
mov r9d, 0xc9fdb0f1
call fcn.140238f50
mov rcx, rsi
mov edx, 1
call fcn.14008a390
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x20], xmm0
mov eax, dword [0x14051e250]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140235040
jmp 0x140235049
lea rcx, [rbp - 0x58]
lea rdx, [rbp - 0x20]
mov r8, rdi
call fcn.14008ae20
lea rax, [0x1403ebf98]
mov qword [rbp - 0x58], rax
lea rdx, [0x140447098]
lea rcx, [rbp - 0x58]
call fcn.1403d150c
mov ecx, dword [rbp + 0xc]
mov r13, qword [rbp]
jmp 0x140234f90
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, dword [0x14051e250]
mov r8d, dword [0x1404e1540]
neg r8d
add r8d, edx
inc r8d
imul r8d, edx
test r8b, 1
je 0x1402351bd
nop dword [rax + rax]
mov eax, dword [0x14051e254]
cmp eax, 0x3c
jge 0x1402351b0
jmp 0x140235184
call qword [case.0x1400f5c95.0]
mov rax, r13
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret