Function at 0x140005990
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x98
mov rbx, qword [0x140190ed8]
cmp byte [rbx], 0
jne 0x1400059ba
cmp byte [rbx + 0x5bc9], 0
je 0x1400059d4
mov r8d, 0xdaf
lea rdx, [0x1400c8930]
lea rcx, [0x1400c9250]
call qword [sym.imp.ucrtbase.dll__wassert]
xor esi, esi
mov dword [rbp - 0x1d], esi
mov qword [rbp - 0x11], rsi
mov qword [rbp + 0x17], rsi
lea rax, [0x1400c9298]
mov qword [rbp - 0x29], rax
mov edi, 0xffffffff
mov edx, edi
lea r8, [0x1400c9299]
mov r9b, 0x57
lea r14, [0x1400cde10]
cmp r9b, 0x23
jne 0x140005a16
cmp byte [r8], r9b
jne 0x140005a16
cmp byte [r8 + 1], r9b
cmove edx, edi
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140005a04
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x14001c8a0]
mov qword [rbp - 0x19], rax
lea rax, [0x14001c960]
mov qword [rbp - 9], rax
lea rax, [0x14001ca00]
mov qword [rbp - 1], rax
lea rax, [0x14001cad0]
mov qword [rbp + 7], rax
lea rax, [0x14001cc80]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14001bf00
mov dword [rbp - 0x1d], esi
mov qword [rbp - 0x11], rsi
mov qword [rbp + 0x17], rsi
lea rax, [0x1400d39ac]
mov qword [rbp - 0x29], rax
mov edx, edi
lea r8, [0x1400d39ad]
mov r9b, 0x54
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140005ab2
cmp byte [r8], r9b
jne 0x140005ab2
cmp byte [r8 + 1], r9b
cmove edx, edi
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140005aa0
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x14002dd30]
mov qword [rbp - 0x19], rax
lea rax, [0x14002df20]
mov qword [rbp - 9], rax
lea rax, [0x14002dfc0]
mov qword [rbp - 1], rax
lea rax, [0x14002de40]
mov qword [rbp + 7], rax
lea rax, [0x14002e240]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14001bf00
mov rcx, qword [0x140190ed8]
mov rax, qword [0x1400cdb78]
mov qword [rcx + 0x5c28], rax
mov rax, qword [0x1400cdb88]
mov qword [rcx + 0x5c30], rax
mov rax, qword [0x1400cdb98]
mov qword [rcx + 0x5c38], rax
mov rax, qword [0x1400cdba8]
mov qword [rcx + 0x5c40], rax
mov rax, qword [0x1400cdbb8]
mov qword [rcx + 0x5c48], rax
mov rax, qword [0x1400cdbc8]
mov qword [rcx + 0x5c50], rax
mov rax, qword [0x1400cdbd8]
mov qword [rcx + 0x5c58], rax
lea rax, [0x14001cf80]
mov qword [rbx + 0xb0], rax
lea rax, [0x14001d0e0]
mov qword [rbx + 0xb8], rax
mov qword [rbx + 0xc0], rbx
lea rax, [0x14001d1b0]
mov qword [rbx + 0xc8], rax
test rcx, rcx
je 0x140005bb9
inc dword [rcx + 0xf4]
mov ecx, 0xb8
call qword [sym.imp.ucrtbase.dll_malloc]
mov rdi, rax
mov qword [rbp + 0x6f], rax
lea rax, [rbp + 0x67]
mov qword [rbp + 0x77], rax
mov qword [rbp + 0x7f], rdi
test rdi, rdi
je 0x140005c4d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x48], xmm0
movups xmmword [rdi + 0x58], xmm0
movups xmmword [rdi + 0x68], xmm0
lea rcx, [rdi + 0x78]
mov qword [rbp - 0x39], rcx
lea rax, [0x14001d830]
mov qword [rsp + 0x20], rax
lea r9, [0x14001e0a0]
mov edx, 0x10
lea r8d, [rdx - 0xe]
call fcn.1400a9e84
mov qword [rdi + 0x98], rsi
mov qword [rdi + 0xa0], rsi
mov qword [rdi + 0xa8], rsi
mov qword [rdi + 0xb0], rsi
mov qword [rdi + 0x30], 0xffffffffffffffff
mov qword [rdi + 0x40], rsi
mov qword [rdi + 0x38], rsi
jmp 0x140005c50
mov rdi, rsi
mov ecx, dword [rbx + 0x48c4]
mov r14d, dword [rbx + 0x48c0]
mov esi, 8
cmp r14d, ecx
jne 0x140005cfe
inc r14d
test ecx, ecx
je 0x140005c7d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140005c7f
mov eax, esi
cmp eax, r14d
cmovg r14d, eax
cmp r14d, ecx
jle 0x140005cfe
mov rax, qword [0x140190ed8]
test rax, rax
je 0x140005c9d
inc dword [rax + 0xf4]
movsxd rcx, r14d
shl rcx, 3
call qword [sym.imp.ucrtbase.dll_malloc]
mov r15, rax
mov rdx, qword [rbx + 0x48c8]
test rdx, rdx
je 0x140005cf0
movsxd r8, dword [rbx + 0x48c0]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy_1
mov rcx, qword [rbx + 0x48c8]
test rcx, rcx
je 0x140005cea
mov rax, qword [0x140190ed8]
test rax, rax
je 0x140005cea
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rbx + 0x48c8], r15
mov dword [rbx + 0x48c4], r14d
movsxd rcx, dword [rbx + 0x48c0]
mov rax, qword [rbx + 0x48c8]
mov qword [rax + rcx*8], rdi
inc dword [rbx + 0x48c0]
lea rdi, [rbx + 0x5e20]
mov ecx, dword [rdi + 4]
cmp ecx, 0xc01
jge 0x140005d48
test ecx, ecx
je 0x140005d36
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [rcx + rax]
mov edx, 0xc01
cmp esi, edx
cmovg edx, esi
mov rcx, rdi
call fcn.14001e380
movsxd rax, dword [rdi]
cmp eax, 0xc01
jge 0x140005d74
mov rcx, rax
cmp rax, 0xc01
jge 0x140005d74
nop dword [rax]
mov rax, qword [rdi + 8]
mov byte [rcx + rax], 0
inc rcx
cmp rcx, 0xc01
jl 0x140005d60
mov dword [rdi], 0xc01
mov byte [rbx], 1
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret