Function at 0x140051390
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push r12
push r14
push r15
sub rsp, 0x38
movsxd r15, r9d
mov r12, r8
mov r14, rdx
mov rbx, rcx
call fcn.1400519b0
cmp eax, 0xffffffff
je 0x1400513c5
mov rax, 0xffffffffffffffff
add rsp, 0x38
pop r15
pop r14
pop r12
pop rbx
ret
mov ecx, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
mov qword [rsp + 0x70], rbp
mov ebp, dword [rbx]
mov qword [rsp + 0x30], rsi
mov esi, 8
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
cmp r8d, ecx
jne 0x140051413
inc r8d
test ecx, ecx
je 0x1400513fe
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140051400
mov eax, esi
cmp eax, r8d
lea rcx, [rbx + 0x20]
cmovg r8d, eax
mov edx, r8d
call fcn.140031b80
movsxd rcx, dword [rbx + 0x20]
mov rax, qword [rbx + 0x28]
mov dword [rax + rcx*4], ebp
inc dword [rbx + 0x20]
mov ecx, dword [rbx + 0x14]
mov r8d, dword [rbx + 0x10]
cmp r8d, ecx
jne 0x140051454
inc r8d
test ecx, ecx
je 0x14005143f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140051441
mov eax, esi
cmp eax, r8d
lea rcx, [rbx + 0x10]
cmovg r8d, eax
mov edx, r8d
call fcn.140031b80
movsxd rcx, dword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
mov dword [rax + rcx*4], r15d
mov rcx, rbx
inc dword [rbx + 0x10]
mov edx, dword [rbx]
add edx, r15d
call fcn.140031b80
xor r13d, r13d
test r15d, r15d
jle 0x1400514c9
mov edi, r13d
nop dword [rax + rax]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1400514b1
inc r8d
test ecx, ecx
je 0x14005149d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14005149f
mov eax, esi
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140031b80
mov eax, dword [r12 + rdi*4]
inc rdi
movsxd rdx, dword [rbx]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
cmp rdi, r15
jl 0x140051480
mov eax, dword [rbx + 0x60]
test eax, eax
mov ecx, dword [rbx + 0x74]
mov r8d, dword [rbx + 0x70]
lea ebp, [rax - 1]
cmove ebp, r13d
cmp r8d, ecx
jne 0x140051508
inc r8d
test ecx, ecx
je 0x1400514f3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400514f5
mov eax, esi
cmp eax, r8d
lea rcx, [rbx + 0x70]
cmovg r8d, eax
mov edx, r8d
call fcn.140031b80
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rbx + 0x78]
mov dword [rax + rcx*4], ebp
mov rax, 0xffffffffffffffff
inc dword [rbx + 0x70]
mov rbp, qword [rsp + 0x70]
inc rax
cmp byte [r14 + rax], r13b
jne 0x140051522
lea r8, [r14 + 1]
mov rdx, r14
add r8, rax
lea rcx, [rbx + 0x60]
call fcn.140018de0
mov ecx, dword [rbx + 0x84]
mov edi, dword [rbx + 0x80]
cmp edi, ecx
jne 0x140051627
inc edi
test ecx, ecx
je 0x140051562
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [rcx + rax]
cmp esi, edi
cmovg edi, esi
cmp edi, ecx
jle 0x140051627
movsxd rcx, edi
call fcn.14001c680
mov rdx, qword [rbx + 0x88]
mov rsi, rax
test rdx, rdx
je 0x14005161a
movsxd r8, dword [rbx + 0x80]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rbx + 0x88]
test r9, r9
je 0x140051611
mov r8, qword [0x1400c6c78]
test r8, r8
je 0x140051611
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r10d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x140051606
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r13d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x88], rsi
mov dword [rbx + 0x84], edi
movsxd rdx, dword [rbx + 0x80]
lea r8, [r14 + 1]
mov rcx, qword [rbx + 0x88]
mov r10d, 0xffffffff
movzx eax, byte [rsp + 0x80]
mov r13, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x30]
mov byte [rdx + rcx], al
mov edx, r10d
inc dword [rbx + 0x80]
movzx r9d, byte [r14]
test r9b, r9b
je 0x1400516a0
lea r11, [0x1400a73e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140051683
cmp byte [r8], r9b
jne 0x140051683
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140051670
mov edi, dword [rbx + 0xa0]
lea rcx, [rbx + 0x90]
not edx
lea r8d, [rdi + 1]
mov dword [rbx + 0xa0], r8d
mov r8d, edi
call fcn.140018d40
mov edx, edi
mov rcx, rbx
call fcn.1400516e0
mov eax, edi
mov rdi, qword [rsp + 0x28]
add rsp, 0x38
pop r15
pop r14
pop r12
pop rbx
ret