Function at 0x140059510
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, 0x128
movapd xmmword [rsp + 0x110], xmm9
movapd xmmword [rsp + 0x100], xmm8
movaps xmmword [rsp + 0xf0], xmm7
movapd xmmword [rsp + 0xe0], xmm6
mov rsi, r9
mov rdi, rcx
movzx r12d, byte [rcx + 0x17]
test r12b, r12b
js 0x1400595d1
and r12d, 0x7f
mov rbx, rdi
jmp 0x1400595d8
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400980c0
jmp 0x140059589
cmp eax, 0x3f
je 0x140059589
add rcx, rsi
cmp eax, 0x3c
jne 0x140059561
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rsi
call fcn.140041980
xor ecx, ecx
jmp 0x14005976c
lea r14, [rbx + 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [rbx + 0x28]
cmp eax, 0x7fffffff
jae 0x14005a424
inc eax
mov dword [rbx + 0x28], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x140059819
mov r12, qword [rdi + 8]
mov rbx, qword [rdi]
test r12, r12
js 0x14005a9e1
test rbx, rbx
jne 0x1400595ef
test r12, r12
jne 0x14005aa71
mov r13b, 1
cmp edx, r8d
jg 0x14005a9fe
mov ebp, edx
mov edx, r8d
test ebp, ebp
jle 0x14005a3d3
cmp edx, 0x7fffffff
je 0x14005a9e4
mov r14d, edx
cmp rsi, 0x3eb
jae 0x14005a6f2
cmp r14d, ebp
je 0x14005aa09
cmp rsi, 3
jb 0x14005aa42
test r13b, r13b
je 0x14005aa42
mov eax, r14d
sub eax, ebp
add eax, 2
cdqe
cmp rsi, rax
ja 0x14005aa42
mov ebx, dword [rsp + 0x190]
lea rax, [0x140114028]
mov qword [rsp + 0x80], rax
movabs r13, 0xfffffffc00000000
mov rax, rdi
and rax, r13
cmp rax, qword [0x14012fdc8]
je 0x14005a464
mov qword [rsp + 0x88], rdi
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], ebp
mov dword [rsp + 0x98], r14d
mov qword [rsp + 0xa0], rsi
mov dword [rsp + 0xa8], ebx
test rdi, rdi
je 0x14005a9ef
movzx ebx, byte [rdi + 0x17]
test bl, bl
jns 0x1400596e3
mov rbx, qword [rdi + 8]
test rbx, rbx
js 0x14005a9f8
mov rdi, qword [rdi]
je 0x1400596e3
test rdi, rdi
je 0x14005aa74
xorpd xmm0, xmm0
lea rsi, [rsp + 0x38]
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
movaps xmm7, xmmword [0x14011a860]
movups xmmword [rsi - 0x18], xmm7
test rbx, rbx
je 0x140059747
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x30], eax
mov r8, rbx
cmp rbx, 0x40
jae 0x14005a31d
mov dword [rsp + 0x78], ebx
mov rcx, rsi
mov rdx, rdi
call fcn.140097a10
mov eax, dword [rsp + 0x78]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x30]
mov ebp, dword [rsp + 0x34]
mov byte [rsp + rax + 0x38], 0x80
cmp rax, 0x38
jae 0x140059573
cmp rcx, 0x38
je 0x14005977f
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.1400980c0
lea rdi, [rsp + 0x20]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r14d, 1
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140041980
mov rdi, qword [rdi]
mov rbx, qword [0x140147630]
movabs rbp, 0xaaaaaaaaaaaaaaaa
movabs r15, 0x7fffffffffffffff
cmp rbx, 1
jbe 0x14005a475
mov r12, rbx
and r12, r13
cmp r12, qword [0x14012fdc8]
je 0x14005aa15
test rbx, rbx
je 0x14005a9f2
lea rcx, [rsp + 0x20]
mov qword [rcx], rbp
mov rax, qword [fcn.140085890]
call qword [0x140152008]
cmp byte [rbx + 8], 0
jne 0x1400595a3
lea r14, [rbx + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14005a3b9
mov rax, qword [fcn.140085890]
lea r14, [rsp + 0xb8]
mov rcx, r14
call qword [0x140152008]
mov rax, qword [r14]
mov rcx, qword [rsp + 0x20]
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 [0x140147670]
test r14, r14
je 0x140059a6b
mov rax, qword [0x140147630]
cmp rax, 1
jbe 0x14005a59f
mov r8, qword [r14 + 8]
test r8, r8
je 0x140059a6b
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 0x14005a3c7
mov rcx, rdi
cmp rdi, r8
jb 0x1400598f9
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 0x140059a6b
mov r10, qword [rax]
test r10, r10
je 0x140059a6b
xor r14d, r14d
mov rax, qword [r10 + 8]
cmp rdi, rax
jne 0x140059adc
cmp qword [r10 + 0x10], rdi
jne 0x140059afc
mov r14, qword [r10 + 0x18]
cmp byte [rbx + 8], 0
jne 0x140059aa2
lea rdi, [rbx + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp r12, qword [0x14012fdc8]
je 0x14005aa22
test r14, r14
je 0x140059b0d
mov edi, dword [rsp + 0x90]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [fcn.140093490]
cmp rax, rdx
jne 0x140059a73
cmp edi, ecx
jne 0x14005a88f
mov r9, qword [rsp + 0xa0]
test r9, r9
je 0x140059a0b
mov edx, dword [rsp + 0x94]
mov r8d, dword [rsp + 0x98]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
lea rcx, [0x140051ad0]
cmp rax, rcx
jne 0x14005aa77
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 0x14005a88f
cmp r11, 2
jb 0x14005aa2f
cmp r10, 4
jbe 0x14005a9f5
cmp dword [rax + 4], edx
jne 0x14005a88f
mov eax, dword [rax + rcx*4 - 8]
cmp eax, r8d
jne 0x14005a88f
lea rax, [0x140114028]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x88]
and r13, rcx
cmp r13, qword [0x14012fdc8]
je 0x14005a45a
mov rax, r14
movaps xmm6, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm9, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140059933
mov ecx, 1
lea rdx, [0x140075670]
cmp rax, rdx
je 0x140059980
mov ecx, 2
lea rdx, [0x140051b30]
cmp rax, rdx
je 0x140059980
jmp 0x14005a3f7
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 0x14005a40d
cmp eax, 0x7ffffffe
jne 0x140059941
jmp 0x14005a407
cmp r9d, 1
jbe 0x14005a3eb
cmp rax, r8
jb 0x140059af3
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x140059933
mov r10, qword [r10]
test r10, r10
jne 0x140059918
jmp 0x140059933
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x14005aa8d
movzx ebx, byte [rdi + 0x17]
test bl, bl
jns 0x140059b41
mov rbx, qword [rdi + 8]
test rbx, rbx
js 0x14005aa97
mov rdi, qword [rdi]
je 0x140059b41
test rdi, rdi
je 0x14005aaa6
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x6c], xmm0
movupd xmmword [rsp + 0x60], xmm0
movupd xmmword [rsp + 0x50], xmm0
movupd xmmword [rsp + 0x40], xmm0
movupd xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm7
test rbx, rbx
je 0x140059b9f
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x30], eax
mov r8, rbx
cmp rbx, 0x40
jae 0x14005a38c
mov dword [rsp + 0x78], ebx
mov rcx, rsi
mov rdx, rdi
call fcn.140097a10
mov eax, dword [rsp + 0x78]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x30]
mov ebp, dword [rsp + 0x34]
mov byte [rsp + rax + 0x38], 0x80
cmp rax, 0x38
jae 0x14005a35c
cmp rcx, 0x38
je 0x140059bd7
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.1400980c0
lea rdi, [rsp + 0x20]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140041980
mov ecx, dword [rdi]
bswap ecx
call fcn.140075680
test al, al
je 0x14005a97f
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
lea rcx, [0x140034650]
cmp rax, rcx
jne 0x140059f04
mov ecx, 0x20
call fcn.140093d8c
mov rdi, rax
mov r14, qword [rsp + 0xa0]
mov r15, r14
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r15
je 0x14005a9cb
mov rax, r15
shr rax, 0x3e
jne 0x14005aaa3
lea rcx, [r15*4]
call fcn.140093d8c
mov rbx, rax
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea r12, [rax + r15*4]
mov qword [rdi + 0x10], r12
lea rax, [r14*4 + 4]
xor ecx, ecx
nop word cs:[rax + rax]
mov rdx, rbx
add rdx, rcx
je 0x14005a9d8
mov dword [rdx], 0
add rcx, 4
cmp rax, rcx
jne 0x140059c90
mov qword [rdi + 8], r12
mov qword [rdi + 0x18], 0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x98]
call fcn.1400c6130
mov r14, r12
sub r14, rbx
cmp r14, 4
jbe 0x14005aa9d
mov r15d, dword [rsp + 0x94]
mov dword [rbx + 4], r15d
sar r14, 2
lea rax, [r14 - 1]
cmp rax, 3
jb 0x140059db6
movapd xmm6, xmm0
add r14, 0xfffffffffffffffd
mov r12d, 2
lea rbx, [rsp + 0x20]
movdqa xmm8, xmmword [0x140115370]
movapd xmm9, xmmword [0x140115380]
nop dword [rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r15d
call fcn.1400c6130
movsd qword [rsp + 0x20], xmm0
mov rcx, rbx
call fcn.140057b20
mov rbp, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, rbp
sar rax, 2
cmp rax, r12
jbe 0x14005a9d5
movsd xmm1, qword [rsp + 0x20]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, r14
punpckldq xmm2, xmm8
subpd xmm2, xmm9
movapd xmm3, xmm2
unpckhpd xmm3, xmm2
addsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, xmm1
call fcn.1400c6660
call fcn.1400c60bc
cvttsd2si eax, xmm0
cmp r15d, eax
lea ecx, [r15 + 1]
cmovl ecx, eax
mov dword [rbp + r12*4], ecx
inc r12
mov r15d, ecx
dec r14
jne 0x140059d20
mov rbx, qword [rdi]
mov r12, qword [rdi + 8]
cmp r12, rbx
je 0x14005aaa0
mov dword [r12 - 4], 0x7fffffff
mov rcx, qword [rdi]
mov r8, qword [rdi + 8]
mov rdx, r8
sub rdx, rcx
je 0x14005aa90
mov rax, rdx
shr rax, 2
neg r8
xor r8, rcx
cmp r8, 0xffffffffffffffff
je 0x14005a2ab
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
lea r10, [0x14011efa0]
nop word cs:[rax + rax]
movzx r11d, al
movzx ebx, byte [rcx + r8]
xor ebx, r11d
shr eax, 8
xor eax, dword [r10 + rbx*4]
movzx r11d, al
movzx ebx, byte [rcx + r8 + 1]
xor ebx, r11d
shr eax, 8
xor eax, dword [r10 + rbx*4]
add r8, 2
cmp r9, r8
jne 0x140059e10
test dl, 1
je 0x140059e5c
movzx edx, al
movzx ecx, byte [rcx + r8]
xor ecx, edx
lea rdx, [0x14011efa0]
shr eax, 8
xor eax, dword [rdx + rcx*4]
mov dword [rdi + 0x18], eax
mov rcx, rdi
call fcn.140079210
cmp qword [rsp + 0xa0], 0
je 0x14005a2b3
lea rbx, [rsp + 0x80]
and byte [rbx + 0x28], 0xbf
mov rcx, qword [rbx]
mov r9, qword [rcx + 8]
lea rdi, [rsp + 0x20]
mov rcx, rbx
mov rdx, rdi
mov r8, rax
mov rax, r9
call qword [0x140152008]
mov rdi, qword [rdi]
mov eax, dword [rbx + 0x28]
lock or dword [rdi + 0x10], eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.1400c8ac0]
cmp rax, rcx
jne 0x140059ecd
mov rcx, rdi
call fcn.1400759b0
mov r14, rax
jmp 0x140059960
lea rcx, [0x1400ee840]
cmp rax, rcx
jne 0x14005ab17
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [0x140152008]
cmp eax, 5
je 0x140059ebd
mov r8, qword [rsp + 0xb0]
test r8, r8
je 0x140059ebd
jmp 0x14005aaa9
lea rcx, [0x1400ee800]
cmp rax, rcx
jne 0x14005a105
mov ecx, 0x20
call fcn.140093d8c
mov rdi, rax
mov rbx, qword [rsp + 0xa0]
mov r14, rbx
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r14
je 0x14005a313
mov rax, r14
shr rax, 0x3e
jne 0x14005ab0e
lea rcx, [r14*4]
call fcn.140093d8c
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea r8, [rax + r14*4]
mov qword [rdi + 0x10], r8
lea rcx, [rbx*4 + 4]
xor edx, edx
nop dword [rax + rax]
mov r9, rax
add r9, rdx
je 0x14005a9db
mov dword [r9], 0
add rdx, 4
cmp rcx, rdx
jne 0x140059f80
mov qword [rdi + 8], r8
mov qword [rdi + 0x18], 0
mov rcx, r8
sub rcx, rax
sar rcx, 2
lea rdx, [rcx - 1]
cmp rdx, 2
jb 0x14005a082
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x94]
cvtsi2sd xmm1, dword [rsp + 0x98]
add rcx, 0xfffffffffffffffd
movq xmm2, rcx
punpckldq xmm2, xmmword [0x140115370]
subpd xmm2, xmmword [0x140115380]
haddpd xmm2, xmm2
mov eax, 1
movdqa xmm3, xmmword [0x140115370]
movapd xmm4, xmmword [0x140115380]
movsd xmm5, qword [0x14011a870]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
sub r9, r8
sar r9, 2
cmp r9, rax
jbe 0x14005a9de
movq xmm6, rcx
punpckldq xmm6, xmm3
subpd xmm6, xmm4
haddpd xmm6, xmm6
lea r9, [rax - 1]
movq xmm8, r9
punpckldq xmm8, xmm3
subpd xmm8, xmm4
haddpd xmm8, xmm8
mulsd xmm6, xmm0
mulsd xmm8, xmm1
addsd xmm8, xmm6
divsd xmm8, xmm2
addsd xmm8, xmm5
cvttsd2si r9d, xmm8
mov dword [r8 + rax*4], r9d
dec rcx
inc rax
cmp rax, rdx
jne 0x14005a00f
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
cmp r8, rax
je 0x14005ab11
mov dword [r8 - 4], 0x7fffffff
mov rcx, qword [rdi]
mov r8, qword [rdi + 8]
mov rdx, r8
sub rdx, rcx
je 0x14005aa90
mov rax, rdx
shr rax, 2
neg r8
xor r8, rcx
cmp r8, 0xffffffffffffffff
je 0x14005a2ab
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
lea r10, [0x14011efa0]
nop
movzx r11d, al
movzx ebx, byte [rcx + r8]
xor ebx, r11d
shr eax, 8
xor eax, dword [r10 + rbx*4]
movzx r11d, al
movzx ebx, byte [rcx + r8 + 1]
xor ebx, r11d
shr eax, 8
xor eax, dword [r10 + rbx*4]
add r8, 2
cmp r9, r8
jne 0x14005a0d0
jmp 0x140059e40
lea rcx, [0x1400ee900]
cmp rax, rcx
jne 0x14005a295
mov ecx, 0x20
call fcn.140093d8c
mov rdi, rax
mov ecx, 0x10
call fcn.140093d8c
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rcx, [rax + 0x10]
mov qword [rdi + 0x10], rcx
test rax, rax
je 0x14005aa9a
mov dword [rax], 0
cmp rax, 0xfffffffffffffffc
je 0x14005aa9a
mov dword [rax + 4], 0
cmp rax, 0xfffffffffffffff8
je 0x14005aa9a
mov dword [rax + 8], 0
add rax, 0xc
je 0x14005aa9a
mov dword [rax], 0
mov qword [rdi + 8], rcx
mov qword [rdi + 0x18], 0
mov eax, 1
movdqa xmm0, xmmword [0x140115370]
movapd xmm1, xmmword [0x140115380]
movsd xmm2, qword [0x14011a870]
mov ecx, 1
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
sub r8, rdx
sar r8, 2
cmp r8, rcx
jbe 0x14005a9fb
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 0x14005a1aa
mov rax, qword [rdi + 8]
cmp rax, qword [rdi]
je 0x14005ab14
mov dword [rax - 4], 0x7fffffff
mov rcx, qword [rdi]
mov r8, qword [rdi + 8]
mov rdx, r8
sub rdx, rcx
je 0x14005aa90
mov rax, rdx
shr rax, 2
neg r8
xor r8, rcx
cmp r8, 0xffffffffffffffff
je 0x14005a2ab
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
lea r10, [0x14011efa0]
nop word cs:[rax + rax]
movzx r11d, al
movzx ebx, byte [rcx + r8]
xor ebx, r11d
shr eax, 8
xor eax, dword [r10 + rbx*4]
movzx r11d, al
movzx ebx, byte [rcx + r8 + 1]
xor ebx, r11d
shr eax, 8
xor eax, dword [r10 + rbx*4]
add r8, 2
cmp r9, r8
jne 0x14005a260
jmp 0x140059e40
lea rcx, [rsp + 0x80]
call qword [0x140152008]
mov rdi, rax
jmp 0x140059e5f
xor r8d, r8d
jmp 0x140059e40
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 2
lea rdx, [rcx - 1]
mov qword [rsp + 0xa0], rdx
mov rdx, qword [rax]
mov r8, qword [rax + 8]
sub r8, rdx
cmp r8, 4
jbe 0x14005ab2d
mov edx, dword [rdx + 4]
mov dword [rsp + 0x94], edx
lea r8, [rcx - 2]
mov rdx, qword [rax]
mov r9, qword [rax + 8]
sub r9, rdx
sar r9, 2
cmp r9, r8
jbe 0x14005ab30
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsp + 0x98], ecx
jmp 0x140059e76
xor eax, eax
xor r8d, r8d
jmp 0x140059fa0
shr r8, 6
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140041980
mov r8, rbx
and r8, 0x3f
je 0x140059747
and rbx, 0xffffffffffffffc0
add rdi, rbx
mov ebx, r8d
jmp 0x140059738
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400980c0
jmp 0x14005a372
cmp eax, 0x3f
je 0x14005a372
add rcx, rsi
cmp eax, 0x3c
jne 0x14005a34a
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rsi
call fcn.140041980
xor ecx, ecx
jmp 0x140059bc4
shr r8, 6
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140041980
mov r8, rbx
and r8, 0x3f
je 0x140059b9f
and rbx, 0xffffffffffffffc0
add rdi, rbx
mov ebx, r8d
jmp 0x140059b90
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140059819
lea rcx, [r8 - 1]
and rcx, rdi
jmp 0x1400598f9
mov ebp, 1
mov r14d, 1
test edx, edx
jg 0x140059608
jmp 0x140059617
lea rdx, [r8 - 1]
and rax, rdx
jmp 0x140059af3
mov rcx, r14
call qword [0x140152008]
mov ecx, eax
jmp 0x140059980
lea rcx, [rbx + 0x18]
jmp 0x14005a419
test eax, eax
jne 0x140059941
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_WakeConditionVariable]
jmp 0x140059941
lea rax, [rbx + 0x18]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
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 0x1400595be
jmp 0x14005a430
call fcn.140057c80
jmp 0x140059a32
mov rcx, rdi
call fcn.140057b30
jmp 0x140059686
mov al, 1
jmp 0x14005a4d1
xor eax, eax
lock cmpxchg qword [0x140147630], r14
jne 0x14005a509
mov qword [0x140147638], 0
mov rcx, qword [0x1401474c0]
test rcx, rcx
je 0x14005a4ad
lea rdx, str.enable_benchmarking
call fcn.140087ed0
test al, al
jne 0x14005a471
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x20], rbp
mov edx, 8
mov rcx, rbx
call fcn.1400683a0
mov rax, qword [rsp + 0x20]
cmp rax, 0xfffffffffffffffd
ja 0x14005a4b2
and al, 1
mov byte [0x140147640], al
lea rbx, [0x140147638]
xorpd xmm0, xmm0
movupd xmmword [0x140147648], xmm0
movupd xmmword [0x140147654], xmm0
mov qword [0x140147668], 0
mov qword [0x140147630], rbx
jmp 0x1400597c9
mov rax, qword [0x140147630]
cmp rax, 1
jne 0x14005a583
lea rcx, [rsp + 0x20]
mov qword [rcx], rbp
mov rax, qword [fcn.140085890]
call qword [0x140152008]
lea rbx, [rsp + 0xb8]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [fcn.140085890]
mov rcx, rbx
call qword [0x140152008]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x20]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, r15
sub rax, rcx
cmovo rax, rdx
cmp rax, 0x3e7
jg 0x14005a58f
xor ecx, ecx
call r14
mov rax, qword [0x140147630]
cmp rax, 1
je 0x14005a53a
mov rbx, qword [0x140147630]
jmp 0x1400597c9
mov ecx, 0x3e8
call fcn.1400ed5a0
jmp 0x14005a576
mov al, 1
jmp 0x14005a600
mov ecx, 1
xor eax, eax
lock cmpxchg qword [0x140147630], rcx
jne 0x14005a638
mov qword [0x140147638], 0
mov rcx, qword [0x1401474c0]
test rcx, rcx
je 0x14005a5dc
lea rdx, str.enable_benchmarking
call fcn.140087ed0
test al, al
jne 0x14005a59b
lea r15, [rsp + 0x20]
mov qword [rsp + 0x20], rbp
mov edx, 8
mov rcx, r15
call fcn.1400683a0
mov rax, qword [rsp + 0x20]
cmp rax, 0xfffffffffffffffd
ja 0x14005a5e1
and al, 1
mov byte [0x140147640], al
lea rax, [0x140147638]
xorpd xmm0, xmm0
movupd xmmword [0x140147648], xmm0
movupd xmmword [0x140147654], xmm0
mov qword [0x140147668], 0
mov qword [0x140147630], rax
jmp 0x140059870
mov rax, qword [0x140147630]
cmp rax, 1
jne 0x14005a6ae
lea rcx, [rsp + 0x20]
mov qword [rcx], rbp
mov rax, qword [fcn.140085890]
call qword [0x140152008]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [fcn.140085890]
lea rcx, [rsp + 0xb8]
call qword [0x140152008]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x20]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, r15
sub rax, rcx
cmovo rax, rdx
cmp rax, 0x3e7
jg 0x14005a6ba
xor ecx, ecx
call rbp
mov rax, qword [0x140147630]
cmp rax, 1
je 0x14005a661
mov rax, qword [0x140147630]
jmp 0x140059870
mov ecx, 0x3e8
call fcn.1400ed5a0
jmp 0x14005a6a1
mov r8, r12
shr r8, 6
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140041980
mov r8, r12
and r8, 0x3f
je 0x14005a75c
mov rdx, r12
and rdx, 0xffffffffffffffc0
add rdx, rbx
mov eax, r8d
jmp 0x14005a750
xorps xmm0, xmm0
lea r15, [rsp + 0x38]
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 [0x14011a860]
movupd xmmword [r15 - 0x18], xmm0
test r12, r12
je 0x14005a75c
lea eax, [r12*8]
mov rcx, r12
shr rcx, 0x1d
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x30], eax
mov eax, r12d
mov r8, r12
mov rdx, rbx
cmp r12, 0x40
jae 0x14005a6c6
mov dword [rsp + 0x78], eax
mov rcx, r15
call fcn.140097a10
mov eax, dword [rsp + 0x78]
lea rcx, [rax + 1]
mov edx, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
mov byte [rsp + rax + 0x38], 0x80
cmp rax, 0x38
mov dword [rsp + 0xb0], edx
mov dword [rsp + 0xcc], r8d
jae 0x14005a820
cmp rcx, 0x38
je 0x14005a7a4
mov r8d, 0x38
sub r8, rcx
add rcx, r15
xor edx, edx
call fcn.1400980c0
mov rdx, r15
lea r15, [rsp + 0x20]
mov eax, dword [rsp + 0xb0]
mov dword [r15 + 0x50], eax
mov eax, dword [rsp + 0xcc]
mov dword [r15 + 0x54], eax
mov r8d, 1
mov rcx, r15
call fcn.140041980
mov rdx, qword [r15]
bswap rdx
lea rcx, str.Histogram.TooManyBuckets.1000
call fcn.14000d520
lea rax, str.Blink.UseCounter
lea rdx, [rsp + 0x80]
mov qword [rdx], rax
mov qword [rdx + 8], 0x10
lea rcx, [rsp + 0xb8]
mov qword [rcx], rbx
mov qword [rcx + 8], r12
xor r8d, r8d
call fcn.14008a320
test al, al
jne 0x140059624
jmp 0x14005ab33
cmp eax, 0x3f
je 0x14005a836
add rcx, r15
cmp eax, 0x3c
jne 0x14005a850
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, r15
call fcn.140041980
xor ecx, ecx
jmp 0x14005a791
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400980c0
jmp 0x14005a836
int3
shr r8, 6
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140041980
mov r8, rbx
and r8, 0x3f
je 0x14005a91d
and rbx, 0xffffffffffffffc0
add rdi, rbx
mov ebx, r8d
jmp 0x14005a90e
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x14005a862
movzx ebx, byte [rdi + 0x17]
test bl, bl
jns 0x14005a8bf
mov rbx, qword [rdi + 8]
test rbx, rbx
js 0x14005ab40
mov rdi, qword [rdi]
je 0x14005a8bf
test rdi, rdi
je 0x14005ab43
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x6c], xmm0
movupd xmmword [rsp + 0x60], xmm0
movupd xmmword [rsp + 0x50], xmm0
movupd xmmword [rsp + 0x40], xmm0
movupd xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm7
test rbx, rbx
je 0x14005a91d
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x30], eax
mov r8, rbx
cmp rbx, 0x40
jae 0x14005a865
mov dword [rsp + 0x78], ebx
mov rcx, rsi
mov rdx, rdi
call fcn.140097a10
mov eax, dword [rsp + 0x78]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x30]
mov ebp, dword [rsp + 0x34]
mov byte [rsp + rax + 0x38], 0x80
cmp rax, 0x38
jae 0x14005a98c
cmp rcx, 0x38
je 0x14005a951
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.1400980c0
lea rdi, [rsp + 0x20]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140041980
mov rdx, qword [rdi]
bswap rdx
lea rcx, [0x14011a878]
call fcn.14000d520
call fcn.1400c7780
mov r14, rax
jmp 0x140059a0b
cmp eax, 0x3f
je 0x14005a9a2
add rcx, rsi
cmp eax, 0x3c
jne 0x14005a9b9
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rsi
call fcn.140041980
xor ecx, ecx
jmp 0x14005a93e
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400980c0
jmp 0x14005a9a2
xor ebx, ebx
xor r12d, r12d
jmp 0x140059caf
int3
int3
int3
int3
int3
mov r14d, 0x7ffffffe
jmp 0x140059617
int3
int3
int3
int3
int3
xor r13d, r13d
mov ebp, r8d
jmp 0x140059600
lea r14d, [rbp + 1]
xor r13d, r13d
jmp 0x14005962d
mov rcx, rbx
call fcn.140057b30
jmp 0x1400597dc
mov rcx, rbx
call fcn.140057c80
jmp 0x140059957
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x140059a02
jmp 0x14005a88f
lea rcx, [rsp + 0xd0]
mov qword [rcx], rbx
mov qword [rcx + 8], r12
call fcn.14008f820
lea rcx, str.Histogram.BadConstructionArguments
mov edx, eax
call fcn.14000d520
call fcn.1400c7780
mov r14, rax
jmp 0x140059a32
int3
int3
mov rcx, r14
call qword [0x140152008]
test al, al
jne 0x140059a0b
jmp 0x14005a88f
int3
xor eax, eax
jmp 0x140059e5c
int3
int3
int3
int3
int3
int3
mov rbx, qword [r8 + 8]
test rbx, rbx
je 0x140059ebd
lea r14, [rdi + 0x28]
xor ebp, ebp
lea r15, [rsp + 0x20]
lea r12, [rsp + 0xb8]
add r8, rbp
mov qword [rsp + 0xb8], r8
mov rcx, r14
mov rdx, r15
mov r9, r12
call fcn.140034880
mov rcx, qword [rsp + 0x20]
add rcx, 0x28
mov rdx, rbx
call fcn.140089b00
mov r8, qword [rsp + 0xb0]
mov rbx, qword [r8 + rbp + 0x18]
add rbp, 0x10
test rbx, rbx
jne 0x14005aac9
jmp 0x140059ebd
int3
int3
int3
lea rcx, [rsp + 0x80]
mov rdx, rdi
call qword [0x140152008]
jmp 0x140059ebd
int3
int3
mov esi, 0x66
xor r13d, r13d
jmp 0x140059624
int3
int3