Function at 0x140080930
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movapd xmmword [rsp + 0xc0], xmm8
movapd xmmword [rsp + 0xb0], xmm7
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x140139028]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, qword [rcx + 8]
mov r14, qword [rcx + 0x10]
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x84], xmm0
movupd xmmword [rsp + 0x78], xmm0
movupd xmmword [rsp + 0x68], xmm0
movupd xmmword [rsp + 0x58], xmm0
movupd xmmword [rsp + 0x48], xmm0
movapd xmm6, xmmword [0x140126eb0]
movupd xmmword [rsp + 0x38], xmm6
lea rdi, [rsp + 0x50]
test r14, r14
je 0x1400809ef
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], eax
mov r8, r14
cmp r14, 0x40
jae 0x140080d28
mov dword [rsp + 0x90], r14d
mov rcx, rdi
mov rdx, rbx
call fcn.1400a3450
mov eax, dword [rsp + 0x90]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x4c]
mov byte [rsp + rax + 0x50], 0x80
cmp rax, 0x38
jae 0x140080cf8
cmp rcx, 0x38
je 0x140080a2a
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1400a3b00
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x8c], ebp
lea rcx, [rsp + 0x38]
mov r8d, 1
mov rdx, rdi
call fcn.140043c40
mov r15, qword [rsp + 0x38]
mov rbx, qword [0x14014acb0]
cmp rbx, 1
jbe 0x140081349
movabs r12, 0xfffffffc00000000
mov r13, rbx
and r13, r12
cmp r13, qword [0x14013b508]
jne 0x140080a82
mov rcx, rbx
call fcn.140058e70
test rbx, rbx
je 0x1400814da
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140081305
mov r14, qword [0x14014acc0]
test r14, r14
je 0x140080cad
mov rax, qword [0x14014acb0]
cmp rax, 1
jbe 0x14008137b
mov r8, qword [r14 + 8]
test r8, r8
je 0x140080cad
bswap r15
mov rax, r8
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, r8
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x140081313
mov rcx, r15
cmp r15, r8
jb 0x140080b46
mov rax, r15
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [r14]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140080cad
mov r10, qword [rax]
test r10, r10
je 0x140080cad
xor r14d, r14d
mov rax, qword [r10 + 8]
cmp r15, rax
jne 0x140080cb5
cmp qword [r10 + 0x10], r15
jne 0x140080cd5
mov r14, qword [r10 + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp r13, qword [0x14013b508]
jne 0x140080b9a
mov rcx, rbx
call fcn.140058fd0
test r14, r14
je 0x140080d89
mov edi, dword [rsi + 0x18]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [fcn.14009ebf0]
cmp rax, rdx
jne 0x140080c7e
cmp edi, ecx
jne 0x140081496
mov r9, qword [rsi + 0x28]
test r9, r9
je 0x140080c3e
mov edx, dword [rsi + 0x1c]
mov r8d, dword [rsi + 0x20]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
lea rcx, [0x140053280]
cmp rax, rcx
jne 0x140081485
mov rax, qword [r14 + 0x18]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov r10, rcx
sar r10, 2
lea r11, [r10 - 1]
cmp r11, r9
jne 0x140081496
cmp r11, 2
jb 0x1400814f0
cmp r10, 1
jbe 0x1400814dd
cmp dword [rax + 4], edx
jne 0x140081496
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x140081496
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a19c0
mov rax, r14
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
lea rdx, [0x14005ac90]
cmp rax, rdx
je 0x140080bbf
mov ecx, 2
lea rdx, [0x1400532f0]
cmp rax, rdx
je 0x140080bbf
jmp 0x140081339
xor r14d, r14d
jmp 0x140080b80
cmp r9d, 1
jbe 0x14008131f
cmp rax, r8
jb 0x140080ccc
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x140080b80
mov r10, qword [r10]
test r10, r10
jne 0x140080b65
jmp 0x140080b80
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400a3b00
jmp 0x140080d0e
cmp eax, 0x3f
je 0x140080d0e
add rcx, rdi
cmp eax, 0x3c
jne 0x140080ce6
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x38]
mov r8d, 1
mov rdx, rdi
call fcn.140043c40
xor ecx, ecx
jmp 0x140080a17
shr r8, 6
lea rcx, [rsp + 0x38]
mov rdx, rbx
call fcn.140043c40
mov r8, r14
and r8, 0x3f
je 0x1400809ef
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
jmp 0x1400809dc
cmp eax, 0x3f
je 0x140080d6f
add rcx, rdi
cmp eax, 0x3c
jne 0x1400812c3
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x38]
mov r8d, 1
mov rdx, rdi
call fcn.140043c40
xor ecx, ecx
jmp 0x140080e21
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x84], xmm0
movupd xmmword [rsp + 0x78], xmm0
movupd xmmword [rsp + 0x68], xmm0
movupd xmmword [rsp + 0x58], xmm0
movupd xmmword [rsp + 0x48], xmm0
movupd xmmword [rsp + 0x38], xmm6
test r14, r14
je 0x140080df8
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], eax
mov r8, r14
cmp r14, 0x40
jae 0x1400812d8
mov dword [rsp + 0x90], r14d
mov rcx, rdi
mov rdx, rbx
call fcn.1400a3450
mov eax, dword [rsp + 0x90]
lea rcx, [rax + 1]
mov ebp, dword [rsp + 0x48]
mov r14d, dword [rsp + 0x4c]
mov byte [rsp + rax + 0x50], 0x80
cmp rax, 0x38
jae 0x140080d55
cmp rcx, 0x38
je 0x140080e34
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1400a3b00
lea rbx, [rsp + 0x38]
mov dword [rbx + 0x50], ebp
mov dword [rbx + 0x54], r14d
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140043c40
mov ebx, dword [rbx]
mov rdi, qword [0x14014acb0]
cmp rdi, 1
jbe 0x140081453
and r12, rdi
cmp r12, qword [0x14013b508]
jne 0x140080e78
mov rcx, rdi
call fcn.140058e70
test rdi, rdi
je 0x140081500
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140081401
mov rax, qword [0x14014acc0]
mov bpl, 1
test rax, rax
je 0x140080eb1
mov rcx, qword [rax + 0xa0]
test rcx, rcx
jne 0x14008150d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp r12, qword [0x14013b508]
jne 0x140080ecb
mov rcx, rdi
call fcn.140058fd0
test bpl, bpl
je 0x1400814ba
mov rax, qword [rsi]
mov rax, qword [rax]
lea rcx, [0x140036900]
cmp rax, rcx
jne 0x140081140
mov ecx, 0x20
call fcn.14009f7f4
mov rdi, rax
mov rdx, qword [rsi + 0x28]
inc rdx
mov rcx, rax
call fcn.14005a5a0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x20]
call fcn.1400d04f0
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
sub rcx, rax
cmp rcx, 4
jbe 0x1400814c7
mov r15d, dword [rsi + 0x1c]
mov dword [rax + 4], r15d
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov r14, rax
sub r14, rcx
sar r14, 2
lea rdx, [r14 - 1]
cmp rdx, 3
jb 0x140081015
movapd xmm6, xmm0
add r14, 0xfffffffffffffffd
mov r12d, 2
lea rbx, [rsp + 0x38]
movdqa xmm7, xmmword [0x14011cf40]
movapd xmm8, xmmword [0x14011cf50]
nop word cs:[rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r15d
call fcn.1400d04f0
movsd qword [rsp + 0x38], xmm0
mov rcx, rbx
call fcn.140058e60
mov r13, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, r13
sar rax, 2
cmp rax, r12
jbe 0x1400814c7
movsd xmm1, qword [rsp + 0x38]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, r14
punpckldq xmm2, xmm7
subpd xmm2, xmm8
movapd xmm3, xmm2
unpckhpd xmm3, xmm2
addsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, xmm1
call fcn.1400d0a20
call fcn.1400d0488
cvttsd2si eax, xmm0
cmp r15d, eax
lea ecx, [r15 + 1]
cmovl ecx, eax
mov dword [r13 + r12*4], ecx
inc r12
mov r15d, ecx
dec r14
jne 0x140080f80
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
cmp rax, rcx
je 0x1400814c7
mov dword [rax - 4], 0x7fffffff
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, r8
je 0x140081503
js 0x14008150a
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x14008140f
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x14008109e
lea r8, [0x140128580]
nop word cs:[rax + rax]
movzx r9d, byte [rdx]
movzx r10d, cl
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
movzx r9d, byte [rdx + 1]
movzx r10d, cl
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
add rdx, 2
cmp rdx, rax
jne 0x140081070
mov dword [rdi + 0x18], ecx
mov rcx, rdi
call fcn.14005a640
cmp qword [rsi + 0x28], 0
je 0x1400813ad
and byte [rsi + 0x30], 0xbf
mov rcx, qword [rsi]
mov r9, qword [rcx + 8]
lea rdi, [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
mov r8, rax
mov rax, r9
call qword [0x14012df48]
mov rdi, qword [rdi]
mov eax, dword [rsi + 0x30]
lock or dword [rdi + 0x10], eax
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.1400d4990]
cmp rax, rcx
jne 0x140081103
mov rcx, rdi
call fcn.14005aca0
mov r14, rax
jmp 0x140080ba3
lea rcx, [section..text]
cmp rax, rcx
jne 0x140081528
mov rcx, rsi
mov rdx, rdi
call section..text
jmp 0x1400810f3
lea rcx, [fcn.14005b4b0]
cmp rax, rcx
jne 0x14008132b
mov rcx, rsi
call fcn.14005b4b0
mov rdi, rax
jmp 0x1400810a1
lea rcx, [0x1400d3f20]
cmp rax, rcx
jne 0x140081120
mov ecx, 0x20
call fcn.14009f7f4
mov rdi, rax
mov rdx, qword [rsi + 0x28]
inc rdx
mov rcx, rax
call fcn.14005a5a0
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
mov rax, rdx
sub rax, r8
sar rax, 2
lea rcx, [rax - 1]
cmp rcx, 2
jb 0x140081237
cvtsi2sd xmm0, dword [rsi + 0x1c]
cvtsi2sd xmm1, dword [rsi + 0x20]
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x14011cf40]
subpd xmm2, xmmword [0x14011cf50]
haddpd xmm2, xmm2
mov edx, 1
movdqa xmm3, xmmword [0x14011cf40]
movapd xmm4, xmmword [0x14011cf50]
movsd xmm5, qword [0x140126ec0]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
sub r9, r8
sar r9, 2
cmp r9, rdx
jbe 0x1400814c7
movq xmm6, rax
punpckldq xmm6, xmm3
subpd xmm6, xmm4
haddpd xmm6, xmm6
lea r9, [rdx - 1]
movq xmm7, r9
punpckldq xmm7, xmm3
subpd xmm7, xmm4
haddpd xmm7, xmm7
mulsd xmm6, xmm0
mulsd xmm7, xmm1
addsd xmm7, xmm6
divsd xmm7, xmm2
addsd xmm7, xmm5
cvttsd2si r9d, xmm7
mov dword [r8 + rdx*4], r9d
dec rax
inc rdx
cmp rdx, rcx
jne 0x1400811cb
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
cmp rdx, r8
je 0x1400814c7
mov dword [rdx - 4], 0x7fffffff
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, r8
je 0x140081503
js 0x140081525
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x140081431
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x14008109e
lea r8, [0x140128580]
nop word [rax + rax]
movzx r9d, byte [rdx]
movzx r10d, cl
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
movzx r9d, byte [rdx + 1]
movzx r10d, cl
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
add rdx, 2
cmp rdx, rax
jne 0x140081290
jmp 0x14008109e
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400a3b00
jmp 0x140080d6f
shr r8, 6
lea rcx, [rsp + 0x38]
mov rdx, rbx
call fcn.140043c40
mov r8, r14
and r8, 0x3f
je 0x140080df8
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
jmp 0x140080de5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140080a9c
lea rcx, [r8 - 1]
and rcx, r15
jmp 0x140080b46
lea rdx, [r8 - 1]
and rax, rdx
jmp 0x140080ccc
mov rcx, rsi
call qword [0x14012df48]
jmp 0x140081138
mov rcx, r14
call qword [0x14012df48]
mov ecx, eax
jmp 0x140080bbf
lea rcx, [0x14014acb0]
call fcn.140009c50
test al, al
je 0x140081539
mov qword [0x14014acb8], 0
lea rbx, [0x14014acb8]
mov qword [0x14014acb0], rbx
jmp 0x140080a61
lea rcx, [0x14014acb0]
call fcn.140009c50
test al, al
je 0x140081545
mov qword [0x14014acb8], 0
lea rax, [0x14014acb8]
mov qword [0x14014acb0], rax
jmp 0x140080abd
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 2
lea rdx, [rcx - 1]
mov qword [rsi + 0x28], rdx
mov rdx, qword [rax]
mov r8, qword [rax + 8]
sub r8, rdx
cmp r8, 4
jbe 0x1400814dd
mov edx, dword [rdx + 4]
mov dword [rsi + 0x1c], edx
lea r8, [rcx - 2]
mov rdx, qword [rax]
mov r9, qword [rax + 8]
sub r9, rdx
sar r9, 2
cmp r9, r8
jbe 0x1400814dd
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsi + 0x20], ecx
jmp 0x1400810b4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140080e92
movzx edx, byte [r8]
movzx r9d, cl
xor r9d, edx
lea rdx, [0x140128580]
shr ecx, 8
xor ecx, dword [rdx + r9*4]
lea rdx, [r8 + 1]
jmp 0x140081051
movzx edx, byte [r8]
movzx r9d, cl
xor r9d, edx
lea rdx, [0x140128580]
shr ecx, 8
xor ecx, dword [rdx + r9*4]
lea rdx, [r8 + 1]
jmp 0x140081273
lea rcx, [0x14014acb0]
call fcn.140009c50
test al, al
je 0x140081551
mov qword [0x14014acb8], 0
lea rdi, [0x14014acb8]
mov qword [0x14014acb0], rdi
jmp 0x140080e64
mov rcx, r14
call qword [0x14012df48]
test al, al
jne 0x140080c3e
add rsi, 8
movupd xmm0, xmmword [rsi]
lea rcx, [rsp + 0x20]
movapd xmmword [rcx], xmm0
call fcn.140081980
lea rcx, [0x140126ec8]
mov edx, eax
call fcn.1400096e0
call fcn.1400d31c0
mov r14, rax
jmp 0x140080c3e
lea rcx, [0x14011bc04]
lea rdx, str....._third_partylibc_srcinclude_vector:1393:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1400d43e0
int3
lea rcx, [0x14011bc04]
lea rdx, str....._third_partylibc_srcinclude_vector:1400:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1400d43e0
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x140080c35
jmp 0x140081496
int3
xor ecx, ecx
jmp 0x14008109e
int3
bswap ebx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov edx, ebx
call qword [0x14012df48]
mov ebp, eax
jmp 0x140080eb1
int3
mov rcx, rsi
mov rdx, rdi
call qword [0x14012df48]
jmp 0x1400810f3
mov rbx, qword [0x14014acb0]
jmp 0x140080a61
mov rax, qword [0x14014acb0]
jmp 0x140080abd
mov rdi, qword [0x14014acb0]
jmp 0x140080e64