Function at 0x18002be10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push r13
sub rsp, 0x50
mov r13, qword [0x1802632d8]
mov rbp, rcx
mov qword [rsp + 0x48], rsi
mov rsi, rdx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
test rdx, rdx
jne 0x18002be5e
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rsi + rcx], 0
jne 0x18002be50
mov qword [rsp + 0x78], rsi
mov ecx, dword [r13 + 0x304f]
lea ebx, [rsi + 1]
cmp ebx, ecx
jle 0x18002be93
test ecx, ecx
je 0x18002be7b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002be80
mov eax, 8
cmp eax, ebx
lea rcx, [r13 + 0x304b]
mov edx, ebx
cmovg edx, eax
call fcn.18002d740
mov dword [r13 + 0x304b], ebx
mov r8, rsi
mov r14, qword [r13 + 0x3053]
mov rdx, rbp
mov rcx, r14
mov qword [rsp + 0x88], r14
lea rdi, [r14 + rsi]
mov qword [rsp + 0x80], rdi
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [rdi], 0
mov ebx, ebp
cmp dword [r13 + 0x305b], ebx
jle 0x18002bf18
mov edi, ebp
nop word [rax + rax]
mov rcx, qword [r13 + 0x3063]
mov r8, qword [rdi + rcx + 0x14]
test r8, r8
je 0x18002bf01
movsxd rax, ebx
imul rdx, rax, 0x44
add rdx, rcx
mov rcx, r13
call r8
inc ebx
add rdi, 0x44
cmp ebx, dword [r13 + 0x305b]
jl 0x18002bee0
mov rdi, qword [rsp + 0x80]
mov r12, rbp
mov rsi, rbp
mov rcx, r14
cmp r14, rdi
jae 0x18002c08f
mov qword [rsp + 0x28], r15
nop
movzx eax, byte [rcx]
cmp al, 0xa
je 0x18002c15f
cmp al, 0xd
je 0x18002c15f
mov rbx, rcx
cmp rcx, rdi
jae 0x18002bf63
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x18002bf63
cmp al, 0xd
je 0x18002bf63
inc rbx
cmp rbx, rdi
jb 0x18002bf50
mov byte [rbx], bpl
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x18002c075
cmp al, 0x5b
jne 0x18002c139
cmp rbx, rcx
jbe 0x18002c139
cmp byte [rbx - 1], 0x5d
lea rdi, [rbx - 1]
jne 0x18002c131
lea r14, [rcx + 1]
mov byte [rdi], bpl
mov r8, rdi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x18002c06d
lea rcx, [rax + 1]
mov edx, 0x5b
sub rdi, rcx
mov r8, rdi
call sub.VCRUNTIME140.dll_memchr
mov r11, rax
test rax, rax
je 0x18002c06d
mov r10, qword [0x1802632d8]
lea r8, [r14 + 1]
mov byte [r15], bpl
mov r15d, 0xffffffff
movzx r9d, byte [r14]
mov ecx, r15d
test r9b, r9b
je 0x18002c02c
cmp r9b, 0x23
jne 0x18002c009
cmp byte [r8], r9b
jne 0x18002c009
cmp byte [r8 + 1], r9b
cmove ecx, r15d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x180168770]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x18002bff6
movsxd rax, dword [r10 + 0x305b]
not ecx
mov r8d, ebp
mov rdx, rbp
test eax, eax
jle 0x18002c067
mov r10, qword [r10 + 0x3063]
mov r9, rax
lea rax, [r10 + 8]
nop dword [rax]
cmp dword [rax], ecx
je 0x18002c109
inc r8d
inc rdx
add rax, 0x44
cmp rdx, r9
jl 0x18002c050
mov rsi, rbp
mov r12, rbp
mov rdi, qword [rsp + 0x80]
lea rcx, [rbx + 1]
cmp rcx, rdi
jb 0x18002bf30
mov r14, qword [rsp + 0x88]
mov r15, qword [rsp + 0x28]
mov r8, qword [rsp + 0x78]
mov rcx, r14
mov rdx, qword [rsp + 0x70]
mov byte [r13 + 0x3046], 1
call sub.VCRUNTIME140.dll_memcpy
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
cmp dword [r13 + 0x305b], ebp
jle 0x18002c100
mov rbx, rbp
nop dword [rax]
mov rcx, qword [r13 + 0x3063]
mov r8, qword [rbx + rcx + 0x2c]
test r8, r8
je 0x18002c0f1
movsxd rax, ebp
imul rdx, rax, 0x44
add rdx, rcx
mov rcx, r13
call r8
inc ebp
add rbx, 0x44
cmp ebp, dword [r13 + 0x305b]
jl 0x18002c0d0
add rsp, 0x50
pop r13
pop rbp
pop rbx
ret
movsxd rax, r8d
imul rsi, rax, 0x44
add rsi, r10
je 0x18002c06a
mov rax, qword [rsi + 0x1c]
lea r8, [r11 + 1]
mov rdx, rsi
mov rcx, r13
call rax
mov r12, rax
jmp 0x18002c06d
mov rdi, qword [rsp + 0x80]
test rsi, rsi
je 0x18002c075
test r12, r12
je 0x18002c075
mov r9, rcx
mov r8, r12
mov rcx, r13
mov rdx, rsi
call qword [rsi + 0x24]
jmp 0x18002c075
inc rcx
jmp 0x18002bf30