Function at 0x14005c140
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, 0x118
movapd xmmword [rsp + 0x100], xmm8
movapd xmmword [rsp + 0xf0], xmm7
movapd xmmword [rsp + 0xe0], xmm6
mov rsi, r9
mov rdi, rcx
movzx r13d, byte [rcx + 0x17]
test r13b, r13b
js 0x14005c188
and r13d, 0x7f
mov rbx, rdi
jmp 0x14005c18f
mov r13, qword [rdi + 8]
mov rbx, qword [rdi]
test r13, r13
js 0x14005d595
test rbx, rbx
jne 0x14005c1a6
test r13, r13
jne 0x14005d628
mov r12b, 1
cmp edx, r8d
jg 0x14005d5b2
mov ebp, edx
mov edx, r8d
test ebp, ebp
jle 0x14005d016
cmp edx, 0x7fffffff
je 0x14005d598
mov r14d, edx
cmp rsi, 0x3eb
jae 0x14005d393
cmp r14d, ebp
je 0x14005d5bd
cmp rsi, 3
jb 0x14005d5f6
test r12b, r12b
je 0x14005d5f6
mov eax, r14d
sub eax, ebp
add eax, 2
cdqe
cmp rsi, rax
ja 0x14005d5f6
mov ebx, dword [rsp + 0x180]
lea rax, [0x140115120]
mov qword [rsp + 0x88], rax
movabs r12, 0xfffffffc00000000
mov rax, rdi
and rax, r12
cmp rax, qword [0x140131e48]
je 0x14005d311
mov qword [rsp + 0x90], rdi
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x9c], ebp
mov dword [rsp + 0xa0], r14d
mov qword [rsp + 0xa8], rsi
mov dword [rsp + 0xb0], ebx
test rdi, rdi
je 0x14005d5a3
movzx ebx, byte [rdi + 0x17]
test bl, bl
jns 0x14005c29a
mov rbx, qword [rdi + 8]
test rbx, rbx
js 0x14005d5ac
mov rdi, qword [rdi]
je 0x14005c29a
test rdi, rdi
je 0x14005d62b
xorpd xmm0, xmm0
lea rsi, [rsp + 0x40]
movupd xmmword [rsi + 0x34], xmm0
movupd xmmword [rsi + 0x28], xmm0
movupd xmmword [rsi + 0x18], xmm0
movupd xmmword [rsi + 8], xmm0
movupd xmmword [rsi - 8], xmm0
movapd xmm6, xmmword [0x14011b910]
movupd xmmword [rsi - 0x18], xmm6
test rbx, rbx
je 0x14005c303
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], eax
mov r8, rbx
cmp rbx, 0x40
jae 0x14005cf7a
mov dword [rsp + 0x80], ebx
mov rcx, rsi
mov rdx, rdi
call fcn.1400986f0
mov eax, dword [rsp + 0x80]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x38]
mov ebp, dword [rsp + 0x3c]
mov byte [rsp + rax + 0x40], 0x80
cmp rax, 0x38
jae 0x14005cf4a
cmp rcx, 0x38
je 0x14005c33e
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.140098da0
lea rdi, [rsp + 0x28]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r14d, 1
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140043280
mov rdi, qword [rdi]
mov rbx, qword [0x140149670]
movabs r13, 0xaaaaaaaaaaaaaaaa
movabs r15, 0x7fffffffffffffff
cmp rbx, 1
jbe 0x14005d0bf
mov rbp, rbx
and rbp, r12
cmp rbp, qword [0x140131e48]
je 0x14005d5c9
test rbx, rbx
je 0x14005d5a6
lea rcx, [rsp + 0x28]
mov qword [rcx], r13
mov rax, qword [fcn.14005e6e0]
call qword [0x140154008]
cmp byte [rbx + 8], 0
je 0x14005c53e
lea r14, [rbx + 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [rbx + 0x28]
cmp eax, 0x7fffffff
jae 0x14005d081
inc eax
mov dword [rbx + 0x28], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [fcn.14005e6e0]
lea r14, [rsp + 0xb8]
mov rcx, r14
call qword [0x140154008]
mov rax, qword [r14]
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, r15
sub rax, rcx
cmovo rax, rdx
lock add qword [rbx], rax
mov r14, qword [0x1401496b0]
test r14, r14
je 0x14005c585
mov rax, qword [0x140149670]
cmp rax, 1
jbe 0x14005d1e9
mov r8, qword [r14 + 8]
test r8, r8
je 0x14005c585
bswap rdi
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 0x14005d02e
mov rcx, rdi
cmp rdi, r8
jb 0x14005c4cc
mov rax, rdi
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [r14]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14005c585
mov r10, qword [rax]
test r10, r10
je 0x14005c585
xor r14d, r14d
mov rax, qword [r10 + 8]
cmp rdi, rax
jne 0x14005c558
cmp qword [r10 + 0x10], rdi
jne 0x14005c574
mov r14, qword [r10 + 0x18]
cmp byte [rbx + 8], 0
je 0x14005c5a3
lea rdi, [rbx + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov ecx, dword [rbx + 0x28]
mov eax, ecx
and eax, 0x7fffffff
dec eax
and ecx, 0x80000000
or ecx, eax
mov dword [rbx + 0x28], ecx
js 0x14005d05a
cmp eax, 0x7ffffffe
jne 0x14005c5a7
jmp 0x14005d054
lea r14, [rbx + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x14005c3ec
jmp 0x14005d03a
cmp r9d, 1
jbe 0x14005d048
cmp rax, r8
jb 0x14005c56f
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x14005c4fe
mov r10, qword [r10]
test r10, r10
jne 0x14005c4eb
jmp 0x14005c4fe
xor r14d, r14d
jmp 0x14005c4fe
mov ecx, 1
lea rdx, [0x14006ad80]
cmp rax, rdx
je 0x14005c5f3
jmp 0x14005d071
lea rdi, [rbx + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp rbp, qword [0x140131e48]
je 0x14005d5d6
test r14, r14
je 0x14005c6d5
mov esi, dword [rsp + 0x98]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
mov ecx, 2
lea rdx, [0x140053450]
cmp rax, rdx
je 0x14005c5f3
xor ecx, ecx
lea rdx, [fcn.1400942e0]
cmp rax, rdx
jne 0x14005c58d
cmp esi, ecx
jne 0x14005d54e
mov r9, qword [rsp + 0xa8]
test r9, r9
je 0x14005c67e
mov edx, dword [rsp + 0x9c]
mov r8d, dword [rsp + 0xa0]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
lea rcx, [0x1400533f0]
cmp rax, rcx
jne 0x14005d62e
mov rax, qword [r14 + 0x18]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
mov r10, qword [rcx + 8]
sub r10, rax
mov rcx, r10
sar rcx, 2
lea r11, [rcx - 1]
cmp r11, r9
jne 0x14005d54e
cmp r11, 2
jb 0x14005d5e3
cmp r10, 4
jbe 0x14005d5a9
cmp dword [rax + 4], edx
jne 0x14005d54e
mov eax, dword [rax + rcx*4 - 8]
cmp eax, r8d
jne 0x14005d54e
lea rax, [0x140115120]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x90]
and r12, rcx
cmp r12, qword [0x140131e48]
je 0x14005d0b1
mov rax, r14
movaps xmm6, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x14005d647
movzx ebx, byte [rdi + 0x17]
test bl, bl
jns 0x14005c709
mov rbx, qword [rdi + 8]
test rbx, rbx
js 0x14005d651
mov rdi, qword [rdi]
je 0x14005c709
test rdi, rdi
je 0x14005d660
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x74], xmm0
movupd xmmword [rsp + 0x68], xmm0
movupd xmmword [rsp + 0x58], xmm0
movupd xmmword [rsp + 0x48], xmm0
movupd xmmword [rsp + 0x38], xmm0
movupd xmmword [rsp + 0x28], xmm6
test rbx, rbx
je 0x14005c76b
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], eax
mov r8, rbx
cmp rbx, 0x40
jae 0x14005cfe9
mov dword [rsp + 0x80], ebx
mov rcx, rsi
mov rdx, rdi
call fcn.1400986f0
mov eax, dword [rsp + 0x80]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x38]
mov ebp, dword [rsp + 0x3c]
mov byte [rsp + rax + 0x40], 0x80
cmp rax, 0x38
jae 0x14005cfb9
cmp rcx, 0x38
je 0x14005c7a6
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.140098da0
lea rdi, [rsp + 0x28]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140043280
mov ecx, dword [rdi]
bswap ecx
call fcn.14006b010
test al, al
je 0x14005d585
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
lea rcx, [0x1400ef3b0]
cmp rax, rcx
jne 0x14005ca05
mov ecx, 0x20
call fcn.140094aec
mov rsi, rax
mov rbx, qword [rsp + 0xa8]
mov r14, rbx
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r14
je 0x14005d50e
mov rax, r14
shr rax, 0x3e
jne 0x14005d65d
lea rcx, [r14*4]
call fcn.140094aec
mov rdi, rax
mov qword [rsi], rax
mov qword [rsi + 8], rax
lea r15, [rax + r14*4]
mov qword [rsi + 0x10], r15
lea rax, [rbx*4 + 4]
xor ecx, ecx
nop word cs:[rax + rax]
mov rdx, rdi
add rdx, rcx
je 0x14005d525
mov dword [rdx], 0
add rcx, 4
cmp rax, rcx
jne 0x14005c860
mov qword [rsi + 8], r15
mov qword [rsi + 0x18], 0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0xa0]
call fcn.1400c6e10
mov rbx, r15
sub rbx, rdi
cmp rbx, 4
jbe 0x14005d657
mov r14d, dword [rsp + 0x9c]
mov dword [rdi + 4], r14d
sar rbx, 2
lea rax, [rbx - 1]
cmp rax, 3
jb 0x14005c985
movapd xmm6, xmm0
add rbx, 0xfffffffffffffffd
mov r15d, 2
lea rdi, [rsp + 0x28]
movdqa xmm7, xmmword [0x140116a10]
movapd xmm8, xmmword [0x140116a20]
nop word [rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14d
call fcn.1400c6e10
movsd qword [rsp + 0x28], xmm0
mov rcx, rdi
call fcn.14005ae20
mov r13, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, r13
sar rax, 2
cmp rax, r15
jbe 0x14005d522
movsd xmm1, qword [rsp + 0x28]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, rbx
punpckldq xmm2, xmm7
subpd xmm2, xmm8
movapd xmm3, xmm2
unpckhpd xmm3, xmm2
addsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, xmm1
call fcn.1400c7340
call fcn.1400c6d9c
cvttsd2si eax, xmm0
cmp r14d, eax
lea ecx, [r14 + 1]
cmovl ecx, eax
mov dword [r13 + r15*4], ecx
inc r15
mov r14d, ecx
dec rbx
jne 0x14005c8f0
mov rdi, qword [rsi]
mov r15, qword [rsi + 8]
cmp r15, rdi
je 0x14005d65a
mov dword [r15 - 4], 0x7fffffff
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
mov rdx, r8
sub rdx, rcx
je 0x14005d64a
mov rax, rdx
shr rax, 2
mov r9, rcx
not r9
add r9, r8
je 0x14005cbf3
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
lea r10, [0x14011fee0]
movzx r11d, al
movzx edi, byte [rcx + r8]
xor edi, r11d
shr eax, 8
xor eax, dword [r10 + rdi*4]
movzx r11d, al
movzx edi, byte [rcx + r8 + 1]
xor edi, r11d
shr eax, 8
xor eax, dword [r10 + rdi*4]
add r8, 2
cmp r9, r8
jne 0x14005c9d0
jmp 0x14005cbf6
lea rcx, [0x1400c9300]
cmp rax, rcx
jne 0x14005ccba
mov ecx, 0x20
call fcn.140094aec
mov rsi, rax
mov rdi, qword [rsp + 0xa8]
mov rbx, rdi
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc rbx
je 0x14005d518
mov rax, rbx
shr rax, 0x3e
jne 0x14005d666
lea rcx, [rbx*4]
call fcn.140094aec
mov qword [rsi], rax
mov qword [rsi + 8], rax
lea r8, [rax + rbx*4]
mov qword [rsi + 0x10], r8
lea rcx, [rdi*4 + 4]
xor edx, edx
mov r9, rax
add r9, rdx
je 0x14005d5af
mov dword [r9], 0
add rdx, 4
cmp rcx, rdx
jne 0x14005ca79
mov qword [rsi + 8], r8
mov qword [rsi + 0x18], 0
mov rcx, r8
sub rcx, rax
sar rcx, 2
lea rdx, [rcx - 1]
cmp rdx, 2
jb 0x14005cb74
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x9c]
cvtsi2sd xmm1, dword [rsp + 0xa0]
add rcx, 0xfffffffffffffffd
movq xmm2, rcx
punpckldq xmm2, xmmword [0x140116a10]
subpd xmm2, xmmword [0x140116a20]
haddpd xmm2, xmm2
mov eax, 1
movdqa xmm3, xmmword [0x140116a10]
movapd xmm4, xmmword [0x140116a20]
movsd xmm5, qword [0x14011b920]
mov r8, qword [rsi]
mov r9, qword [rsi + 8]
sub r9, r8
sar r9, 2
cmp r9, rax
jbe 0x14005d625
movq xmm6, rcx
punpckldq xmm6, xmm3
subpd xmm6, xmm4
haddpd xmm6, xmm6
lea r9, [rax - 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 + rax*4], r9d
dec rcx
inc rax
cmp rax, rdx
jne 0x14005cb08
mov rax, qword [rsi]
mov r8, qword [rsi + 8]
cmp r8, rax
je 0x14005d663
mov dword [r8 - 4], 0x7fffffff
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
mov rdx, r8
sub rdx, rcx
je 0x14005d64a
mov rax, rdx
shr rax, 2
mov r9, rcx
not r9
add r9, r8
je 0x14005cbf3
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
mov r10d, 0xff
lea r11, [0x14011fee0]
mov edi, eax
and edi, r10d
movzx ebx, byte [rcx + r8]
xor ebx, edi
shr eax, 8
xor eax, dword [r11 + rbx*4]
mov edi, eax
and edi, r10d
movzx ebx, byte [rcx + r8 + 1]
xor ebx, edi
shr eax, 8
xor eax, dword [r11 + rbx*4]
add r8, 2
cmp r9, r8
jne 0x14005cbc1
jmp 0x14005cbf6
xor r8d, r8d
test dl, 1
je 0x14005cc12
movzx edx, al
movzx ecx, byte [rcx + r8]
xor ecx, edx
lea rdx, [0x14011fee0]
shr eax, 8
xor eax, dword [rdx + rcx*4]
mov dword [rsi + 0x18], eax
mov rcx, rsi
call fcn.14007d770
cmp qword [rsp + 0xa8], 0
je 0x14005ce5c
lea rdi, [rsp + 0x88]
and byte [rdi + 0x28], 0xbf
mov rcx, qword [rdi]
mov r9, qword [rcx + 8]
lea rsi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
mov r8, rax
mov rax, r9
call qword [0x140154008]
mov rsi, qword [rsi]
mov eax, dword [rdi + 0x28]
lock or dword [rsi + 0x10], eax
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.1400c98d0]
cmp rax, rcx
jne 0x14005cc83
mov rcx, rsi
call fcn.14006b330
mov r14, rax
jmp 0x14005c5c6
lea rcx, [0x1400c95c0]
cmp rax, rcx
jne 0x14005cebc
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
call qword [0x140154008]
cmp eax, 5
je 0x14005cc73
mov r8, qword [rsp + 0xb8]
test r8, r8
je 0x14005cc73
jmp 0x14005ced2
lea rcx, [0x1400ef540]
cmp rax, rcx
jne 0x14005ce46
mov ecx, 0x20
call fcn.140094aec
mov rsi, rax
mov ecx, 0x10
call fcn.140094aec
mov qword [rsi], rax
mov qword [rsi + 8], rax
lea rcx, [rax + 0x10]
mov qword [rsi + 0x10], rcx
test rax, rax
je 0x14005d654
mov dword [rax], 0
cmp rax, 0xfffffffffffffffc
je 0x14005d654
mov dword [rax + 4], 0
cmp rax, 0xfffffffffffffff8
je 0x14005d654
mov dword [rax + 8], 0
add rax, 0xc
je 0x14005d654
mov dword [rax], 0
mov qword [rsi + 8], rcx
mov qword [rsi + 0x18], 0
mov eax, 1
movdqa xmm0, xmmword [0x140116a10]
movapd xmm1, xmmword [0x140116a20]
movsd xmm2, qword [0x14011b920]
mov ecx, 1
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sar r8, 2
cmp r8, rcx
jbe 0x14005d644
movq xmm3, rax
punpckldq xmm3, xmm0
subpd xmm3, xmm1
haddpd xmm3, xmm3
lea r8, [rcx - 1]
movq xmm4, r8
punpckldq xmm4, xmm0
subpd xmm4, xmm1
haddpd xmm4, xmm4
addsd xmm4, xmm4
addsd xmm4, xmm3
addsd xmm4, xmm2
cvttsd2si r8d, xmm4
mov dword [rdx + rcx*4], r8d
dec rax
inc rcx
cmp rcx, 3
jne 0x14005cd5f
mov rax, qword [rsi + 8]
cmp rax, qword [rsi]
je 0x14005d669
mov dword [rax - 4], 0x7fffffff
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
mov rdx, r8
sub rdx, rcx
je 0x14005d64a
mov rax, rdx
shr rax, 2
mov r9, rcx
not r9
add r9, r8
je 0x14005cbf3
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
mov r10d, 0xff
lea r11, [0x14011fee0]
mov edi, eax
and edi, r10d
movzx ebx, byte [rcx + r8]
xor ebx, edi
shr eax, 8
xor eax, dword [r11 + rbx*4]
mov edi, eax
and edi, r10d
movzx ebx, byte [rcx + r8 + 1]
xor ebx, edi
shr eax, 8
xor eax, dword [r11 + rbx*4]
add r8, 2
cmp r9, r8
jne 0x14005ce11
jmp 0x14005cbf6
lea rcx, [rsp + 0x88]
call qword [0x140154008]
mov rsi, rax
jmp 0x14005cc15
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 2
lea rdx, [rcx - 1]
mov qword [rsp + 0xa8], rdx
mov rdx, qword [rax]
mov r8, qword [rax + 8]
sub r8, rdx
cmp r8, 4
jbe 0x14005d66c
mov edx, dword [rdx + 4]
mov dword [rsp + 0x9c], edx
lea r8, [rcx - 2]
mov rdx, qword [rax]
mov r9, qword [rax + 8]
sub r9, rdx
sar r9, 2
cmp r9, r8
jbe 0x14005d66f
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsp + 0xa0], ecx
jmp 0x14005cc2c
lea rcx, [rsp + 0x88]
mov rdx, rsi
call qword [0x140154008]
jmp 0x14005cc73
mov rdi, qword [r8 + 8]
test rdi, rdi
je 0x14005cc73
lea rbx, [rsi + 0x28]
xor r13d, r13d
lea r14, [rsp + 0x28]
lea r15, [rsp + 0xb8]
add r8, r13
mov qword [rsp + 0xb8], r8
mov rcx, rbx
mov rdx, r14
mov r9, r15
call fcn.140035d60
mov rcx, qword [rsp + 0x28]
add rcx, 0x28
mov rdx, rdi
call fcn.14008c8d0
mov r8, qword [rsp + 0xb8]
mov rdi, qword [r8 + r13 + 0x18]
add r13, 0x10
test rdi, rdi
jne 0x14005cef3
jmp 0x14005cc73
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.140098da0
jmp 0x14005cf60
cmp eax, 0x3f
je 0x14005cf60
add rcx, rsi
cmp eax, 0x3c
jne 0x14005cf38
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rsi
call fcn.140043280
xor ecx, ecx
jmp 0x14005c32b
shr r8, 6
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.140043280
mov r8, rbx
and r8, 0x3f
je 0x14005c303
and rbx, 0xffffffffffffffc0
add rdi, rbx
mov ebx, r8d
jmp 0x14005c2f1
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.140098da0
jmp 0x14005cfcf
cmp eax, 0x3f
je 0x14005cfcf
add rcx, rsi
cmp eax, 0x3c
jne 0x14005cfa7
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rsi
call fcn.140043280
xor ecx, ecx
jmp 0x14005c793
shr r8, 6
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.140043280
mov r8, rbx
and r8, 0x3f
je 0x14005c76b
and rbx, 0xffffffffffffffc0
add rdi, rbx
mov ebx, r8d
jmp 0x14005c759
mov ebp, 1
mov r14d, 1
test edx, edx
jg 0x14005c1bf
jmp 0x14005c1ce
lea rcx, [r8 - 1]
and rcx, rdi
jmp 0x14005c4cc
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14005c3ec
lea rdx, [r8 - 1]
and rax, rdx
jmp 0x14005c56f
lea rcx, [rbx + 0x18]
jmp 0x14005d066
test eax, eax
jne 0x14005c5a7
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_WakeConditionVariable]
jmp 0x14005c5a7
mov rcx, r14
call qword [0x140154008]
mov ecx, eax
jmp 0x14005c5f3
lea rax, [rbx + 0x18]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
mov rdx, r14
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableSRW]
mov eax, dword [rbx + 0x28]
cmp eax, 0x7ffffffe
jbe 0x14005c3de
jmp 0x14005d08a
call fcn.14005b760
jmp 0x14005c6a5
mov al, 1
jmp 0x14005d11b
xor eax, eax
lock cmpxchg qword [0x140149670], r14
jne 0x14005d153
mov qword [0x140149678], 0
mov rcx, qword [0x1401494f0]
test rcx, rcx
je 0x14005d0f7
lea rdx, str.enable_benchmarking
call fcn.14008b930
test al, al
jne 0x14005d0bb
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x28], r13
mov edx, 8
mov rcx, rbx
call fcn.14006e390
mov rax, qword [rsp + 0x28]
cmp rax, 0xfffffffffffffffd
ja 0x14005d0fc
and al, 1
mov byte [0x140149680], al
lea rbx, [0x140149678]
xorpd xmm0, xmm0
movupd xmmword [0x140149688], xmm0
movupd xmmword [0x140149694], xmm0
mov qword [0x1401496a8], 0
mov qword [0x140149670], rbx
jmp 0x14005c388
mov rax, qword [0x140149670]
cmp rax, 1
jne 0x14005d1cd
lea rcx, [rsp + 0x28]
mov qword [rcx], r13
mov rax, qword [fcn.14005e6e0]
call qword [0x140154008]
lea rbx, [rsp + 0xb8]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [fcn.14005e6e0]
mov rcx, rbx
call qword [0x140154008]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, r15
sub rax, rcx
cmovo rax, rdx
cmp rax, 0x3e7
jg 0x14005d1d9
xor ecx, ecx
call r14
mov rax, qword [0x140149670]
cmp rax, 1
je 0x14005d184
mov rbx, qword [0x140149670]
jmp 0x14005c388
mov ecx, 0x3e8
call fcn.1400ee440
jmp 0x14005d1c0
mov al, 1
jmp 0x14005d24a
mov ecx, 1
xor eax, eax
lock cmpxchg qword [0x140149670], rcx
jne 0x14005d282
mov qword [0x140149678], 0
mov rcx, qword [0x1401494f0]
test rcx, rcx
je 0x14005d226
lea rdx, str.enable_benchmarking
call fcn.14008b930
test al, al
jne 0x14005d1e5
lea r15, [rsp + 0x28]
mov qword [rsp + 0x28], r13
mov edx, 8
mov rcx, r15
call fcn.14006e390
mov rax, qword [rsp + 0x28]
cmp rax, 0xfffffffffffffffd
ja 0x14005d22b
and al, 1
mov byte [0x140149680], al
lea rax, [0x140149678]
xorpd xmm0, xmm0
movupd xmmword [0x140149688], xmm0
movupd xmmword [0x140149694], xmm0
mov qword [0x1401496a8], 0
mov qword [0x140149670], rax
jmp 0x14005c443
mov rax, qword [0x140149670]
cmp rax, 1
jne 0x14005d2f9
lea rcx, [rsp + 0x28]
mov qword [rcx], r13
mov rax, qword [fcn.14005e6e0]
call qword [0x140154008]
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [fcn.14005e6e0]
lea rcx, [rsp + 0xb8]
call qword [0x140154008]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, r15
sub rax, rcx
cmovo rax, rdx
cmp rax, 0x3e7
jg 0x14005d305
xor ecx, ecx
call r13
mov rax, qword [0x140149670]
cmp rax, 1
je 0x14005d2ab
mov rax, qword [0x140149670]
jmp 0x14005c443
mov ecx, 0x3e8
call fcn.1400ee440
jmp 0x14005d2ec
mov rcx, rdi
call fcn.14005ae30
jmp 0x14005c23d
mov r8, r13
shr r8, 6
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.140043280
mov r8, r13
and r8, 0x3f
je 0x14005d400
mov rdx, r13
and rdx, 0xffffffffffffffc0
add rdx, rbx
mov eax, r8d
jmp 0x14005d3f1
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.140098da0
jmp 0x14005d379
cmp eax, 0x3f
je 0x14005d379
add rcx, r15
cmp eax, 0x3c
jne 0x14005d351
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, r15
call fcn.140043280
xor ecx, ecx
jmp 0x14005d433
xorps xmm0, xmm0
lea r15, [rsp + 0x40]
movups xmmword [r15 + 0x34], xmm0
movups xmmword [r15 + 0x28], xmm0
movups xmmword [r15 + 0x18], xmm0
movups xmmword [r15 + 8], xmm0
movups xmmword [r15 - 8], xmm0
movapd xmm0, xmmword [0x14011b910]
movupd xmmword [r15 - 0x18], xmm0
test r13, r13
je 0x14005d400
lea eax, [r13*8]
mov rcx, r13
shr rcx, 0x1d
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], eax
mov eax, r13d
mov r8, r13
mov rdx, rbx
cmp r13, 0x40
jae 0x14005d31e
mov dword [rsp + 0x80], eax
mov rcx, r15
call fcn.1400986f0
mov eax, dword [rsp + 0x80]
lea rcx, [rax + 1]
mov edx, dword [rsp + 0x38]
mov dword [rsp + 0x20], edx
mov edx, dword [rsp + 0x3c]
mov dword [rsp + 0xcc], edx
mov byte [rsp + rax + 0x40], 0x80
cmp rax, 0x38
jae 0x14005d363
cmp rcx, 0x38
je 0x14005d446
mov r8d, 0x38
sub r8, rcx
add rcx, r15
xor edx, edx
call fcn.140098da0
mov rdx, r15
lea r15, [rsp + 0x28]
mov eax, dword [rsp + 0x20]
mov dword [r15 + 0x50], eax
mov eax, dword [rsp + 0xcc]
mov dword [r15 + 0x54], eax
mov r8d, 1
mov rcx, r15
call fcn.140043280
mov rax, qword [r15]
bswap rax
mov qword [rsp + 0x20], rax
lea rdx, str.Histogram.TooManyBuckets.1000
lea r15, [rsp + 0x28]
mov rcx, r15
call fcn.1400c8790
mov rcx, r15
mov edx, 1
call fcn.14000bf70
mov r15, rax
lea rax, [rsp + 0x28]
cmp byte [rax + 0x17], 0
jns 0x14005d4b3
mov rcx, qword [rsp + 0x28]
call fcn.140094ae4
mov rax, qword [r15]
mov rax, qword [rax + 0x28]
mov rcx, r15
mov rdx, qword [rsp + 0x20]
call qword [0x140154008]
lea rax, str.Blink.UseCounter
lea rdx, [rsp + 0x88]
mov qword [rdx], rax
mov qword [rdx + 8], 0x10
lea rcx, [rsp + 0xb8]
mov qword [rcx], rbx
mov qword [rcx + 8], r13
xor r8d, r8d
call fcn.14008de10
test al, al
jne 0x14005c1db
mov esi, 0x66
xor r12d, r12d
jmp 0x14005c1db
xor edi, edi
xor r15d, r15d
jmp 0x14005c87f
xor eax, eax
xor r8d, r8d
jmp 0x14005ca99
int3
int3
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
test rax, rax
js 0x14005d672
je 0x14005d56d
test rcx, rcx
jne 0x14005d56d
jmp 0x14005d675
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x14005d592
movzx ecx, byte [rax + 0x17]
test cl, cl
js 0x14005d528
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x28]
call fcn.140091dd0
lea rcx, [0x14011b928]
mov edx, eax
call fcn.14000bf00
call fcn.1400f5280
mov r14, rax
jmp 0x14005c67e
int3
int3
mov r14d, 0x7ffffffe
jmp 0x14005c1ce
int3
int3
int3
int3
int3
xor r12d, r12d
mov ebp, r8d
jmp 0x14005c1b7
lea r14d, [rbp + 1]
xor r12d, r12d
jmp 0x14005c1e4
mov rcx, rbx
call fcn.14005ae30
jmp 0x14005c39b
mov rcx, rbx
call fcn.14005b760
jmp 0x14005c5bd
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x14005c675
jmp 0x14005d54e
lea rcx, [rsp + 0xd0]
mov qword [rcx], rbx
mov qword [rcx + 8], r13
call fcn.140091dd0
lea rcx, str.Histogram.BadConstructionArguments
mov edx, eax
call fcn.14000bf00
call fcn.1400f5280
mov r14, rax
jmp 0x14005c6a5
int3
int3
int3
mov rcx, r14
call qword [0x140154008]
test al, al
jne 0x14005c67e
jmp 0x14005d54e
int3
int3
xor eax, eax
jmp 0x14005cc12
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3