Function at 0x140148b20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov eax, 0x100
and eax, dword [rcx + 0x160]
mov ecx, 0xb1908313
add ecx, dword [0x1404febb0]
mov dil, 1
cmp eax, ecx
je 0x140148ef5
mov rbx, qword [rsi + 0x128]
add rbx, qword [0x14055f2b8]
mov ecx, 0xf746bea8
mov edx, 0x53982ce4
call fcn.140124a70
cmp rbx, rax
jbe 0x140148b88
mov qword [rsi + 0x128], 0
mov ebx, dword [0x14055f35c]
add ebx, dword [rsi + 0x120]
and ebx, 4
mov r14d, 0xb1908313
add r14d, dword [0x1404febb0]
mov ecx, 0xf746bea8
mov edx, 0x53982ce4
call fcn.140124a70
mov rcx, qword [rsi + 0x128]
sub rax, rcx
cmp ebx, r14d
mov ecx, dword [rsi + 0x134]
lea edx, [rcx + rcx + 0x7d0]
lea ecx, [rcx + rcx + 0x1b58]
cmove ecx, edx
cmp rax, rcx
jb 0x140148ef5
movaps xmm0, xmmword [0x140420410]
movups xmmword [0x1405527ff], xmm0
movups xmmword [0x1405527ef], xmm0
movups xmmword [0x1405527df], xmm0
movups xmmword [0x1405527cf], xmm0
cmp qword [0x14055f270], 0
jne 0x140148c39
mov ecx, 0x700
mov edx, 0x53982ce4
mov r8d, 0xda597af5
call fcn.1400af2b0
mov qword [rbp - 0x10], rax
mov rcx, rax
call fcn.1400992b0
mov rax, qword [rbp - 0x10]
mov qword [0x14055f270], rax
mov rbx, qword [0x14055f270]
mov rdi, qword [rbx + 0x3b0]
test rdi, rdi
je 0x140148c5c
mov rcx, rdi
call fcn.14009ab60
mov rcx, rdi
call fcn.1400ac450
mov qword [rbx + 0x3b0], 0
movzx eax, byte [0x1404febb4]
add al, 0x65
mov byte [0x14055f410], al
cmp qword [0x14055f270], 0
jne 0x140148cac
mov ecx, 0x700
mov edx, 0x53982ce4
mov r8d, 0xda597af5
call fcn.1400af2b0
mov qword [rbp - 0x10], rax
mov rcx, rax
call fcn.1400992b0
mov rax, qword [rbp - 0x10]
mov qword [0x14055f270], rax
mov rdi, qword [0x14055f270]
lea rbx, [rdi + 0x558]
mov rcx, qword [rdi + 0x558]
test rcx, rcx
je 0x140148cf9
mov eax, 0xb1908314
add eax, dword [0x1404febb0]
cmp dword [rdi + 0x574], eax
jne 0x140148ce7
mov r8, qword [rdi + 0x560]
xor edx, edx
call fcn.140404f80
mov rcx, qword [rbx]
test rcx, rcx
je 0x140148cf9
mov edx, 0x9713f98a
call fcn.140154a20
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov byte [rdi + 0x570], 1
mov rcx, qword [0x14055f508]
test rcx, rcx
je 0x140148d3c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 0xb1908314
add edx, dword [0x1404febb0]
call qword [case.0x140119ecb.0]
mov qword [0x14055f508], 0
cmp qword [0x14055f270], 0
jne 0x140148d72
mov ecx, 0x700
mov edx, 0x53982ce4
mov r8d, 0xda597af5
call fcn.1400af2b0
mov qword [rbp - 0x10], rax
mov rcx, rax
call fcn.1400992b0
mov rax, qword [rbp - 0x10]
mov qword [0x14055f270], rax
mov rdi, qword [0x14055f270]
mov rax, qword [rdi + 0x370]
mov rcx, qword [rdi + 0x378]
sub rcx, rax
shr rcx, 5
imul ecx, ecx, 0xcccccccd
mov edx, 0xb1908313
add edx, dword [0x1404febb0]
cmp ecx, edx
jle 0x140148e38
xor ebx, ebx
movabs r14, 0x6beb9065485c4472
nop word cs:[rax + rax]
lea rcx, [rbx + rbx*4]
shl rcx, 5
cmp dword [rax + rcx + 0x88], 0
jne 0x140148ddd
cmp qword [rax + rcx + 0x88], 0
je 0x140148e02
lea r8, [rax + rcx]
add r8, 0x80
mov edx, dword [rax + rcx + 0x24]
mov dword [rsp + 0x20], 0xd6b41b70
mov rcx, rdi
mov r9d, 0xb9a251e5
call fcn.1400af380
add rbx, qword [0x1404feba8]
add rbx, r14
mov rax, qword [rdi + 0x370]
mov rcx, qword [rdi + 0x378]
sub rcx, rax
shr rcx, 5
imul ecx, ecx, 0xcccccccd
cmp byte [0x14055f358], 0
jne 0x140148dc0
movsxd rcx, ecx
cmp rbx, rcx
jl 0x140148dc0
mov rax, qword [rdi + 0x398]
sub rax, qword [rdi + 0x390]
shr rax, 2
test eax, eax
jle 0x140148eb4
xor ebx, ebx
mov eax, dword [0x1404febb0]
mov ecx, eax
xor ecx, 0x6b32d4f8
mov edx, eax
and edx, 0x6b32d4f8
lea r9d, [rcx + rdx*2]
add eax, 0x88449e83
mov dword [rsp + 0x20], eax
mov rcx, rdi
mov edx, ebx
xor r8d, r8d
call fcn.1400af380
mov eax, dword [0x1404febb0]
mov rdx, qword [rdi + 0x398]
add rdx, qword [0x14055f350]
sub rdx, qword [rdi + 0x390]
add ebx, eax
add ebx, 0xb1908314
movzx ecx, byte [0x1404feba8]
add cl, 0x73
shr rdx, cl
cmp ebx, edx
jl 0x140148e50
mov rax, qword [0x14055f1a0]
test rax, rax
je 0x140148ee3
mov rdi, qword [rax + 0x20]
mov rbx, qword [rdi]
cmp rbx, rdi
jne 0x140148f7c
mov rax, qword [0x14055f1a0]
mov rax, qword [rax + 0x30]
mov rcx, qword [rax]
cmp rcx, rax
jne 0x140148f18
mov rax, qword [rsi]
mov rax, qword [rax + 0x30]
mov rcx, rsi
call qword [case.0x140119ecb.0]
xor edi, edi
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rcx, rdx
cmp rdx, rax
je 0x140148ee3
mov dword [rcx + 0x20], 0xffffffff
mov r8, qword [rcx + 0x10]
cmp byte [r8 + 0x19], 0
je 0x140148f50
nop word [rax + rax]
mov rdx, qword [rcx + 8]
cmp byte [rdx + 0x19], 0
jne 0x140148f10
mov r8, rcx
mov rcx, rdx
cmp r8, qword [rdx + 0x10]
je 0x140148f30
mov rdx, rcx
jmp 0x140148f10
mov rdx, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x140148f50
jmp 0x140148f10
mov rax, rbx
nop word cs:[rax + rax]
mov rbx, rax
cmp rax, rdi
je 0x140148ed0
mov dword [rbx + 0x30], 0
mov dword [rbx + 0x28], 0
mov r8, qword [rbx + 0x58]
test r8, r8
je 0x140148f9e
mov rcx, qword [rbx + 0x50]
mov dl, 1
call fcn.140404f80
mov r8, qword [rbx + 0x98]
test r8, r8
je 0x140148fb8
mov rcx, qword [rbx + 0x90]
mov dl, 1
call fcn.140404f80
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x140149000
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140148f70
nop dword [rax]
mov rcx, rbx
mov rbx, rax
cmp rcx, qword [rax + 0x10]
jne 0x140148f5f
mov rax, qword [rbx + 8]
movzx ecx, byte [0x1404febb4]
add cl, 0x64
cmp byte [rax + 0x19], cl
je 0x140148fd0
jmp 0x140148f70
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140149000
jmp 0x140148f70