Function at 0x14004ea70
Capabilities:
Hash data with crc32

Disassembly:
push rdi
push r12
push r14
push r15
sub rsp, 0x28
movsxd r14, r9d
mov r12, r8
mov r15, rdx
mov rdi, rcx
call fcn.14004f070
cmp eax, 0xffffffff
je 0x14004eaa5
mov rax, 0xffffffffffffffff
add rsp, 0x28
pop r15
pop r14
pop r12
pop rdi
ret
mov ecx, dword [rdi + 0x24]
mov r8d, dword [rdi + 0x20]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov ebp, dword [rdi]
mov qword [rsp + 0x60], rsi
mov esi, 8
mov qword [rsp + 0x20], r13
cmp r8d, ecx
jne 0x14004eaf3
inc r8d
test ecx, ecx
je 0x14004eade
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14004eae0
mov eax, esi
cmp eax, r8d
lea rcx, [rdi + 0x20]
cmovg r8d, eax
mov edx, r8d
call fcn.140023c90
movsxd rcx, dword [rdi + 0x20]
mov rax, qword [rdi + 0x28]
mov dword [rax + rcx*4], ebp
inc dword [rdi + 0x20]
mov ecx, dword [rdi + 0x14]
mov r8d, dword [rdi + 0x10]
cmp r8d, ecx
jne 0x14004eb34
inc r8d
test ecx, ecx
je 0x14004eb1f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14004eb21
mov eax, esi
cmp eax, r8d
lea rcx, [rdi + 0x10]
cmovg r8d, eax
mov edx, r8d
call fcn.140023c90
movsxd rcx, dword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov dword [rax + rcx*4], r14d
mov rcx, rdi
inc dword [rdi + 0x10]
mov edx, dword [rdi]
add edx, r14d
call fcn.140023c90
xor r13d, r13d
test r14d, r14d
jle 0x14004eba8
mov ebx, r13d
nop dword [rax + rax]
mov ecx, dword [rdi + 4]
mov eax, dword [rdi]
cmp eax, ecx
jne 0x14004eb90
lea r8d, [rax + 1]
test ecx, ecx
je 0x14004eb7c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14004eb7e
mov eax, esi
cmp eax, r8d
mov rcx, rdi
cmovg r8d, eax
mov edx, r8d
call fcn.140023c90
mov eax, dword [r12 + rbx*4]
inc rbx
movsxd rdx, dword [rdi]
mov rcx, qword [rdi + 8]
mov dword [rcx + rdx*4], eax
inc dword [rdi]
cmp rbx, r14
jl 0x14004eb60
mov eax, dword [rdi + 0x60]
test eax, eax
mov r8d, dword [rdi + 0x74]
mov ecx, dword [rdi + 0x70]
lea ebp, [rax - 1]
cmove ebp, r13d
mov r13, qword [rsp + 0x20]
cmp ecx, r8d
jne 0x14004ebeb
inc ecx
test r8d, r8d
je 0x14004ebd9
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14004ebdb
mov eax, esi
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rdi + 0x70]
call fcn.140023c90
movsxd rcx, dword [rdi + 0x70]
mov rax, qword [rdi + 0x78]
mov dword [rax + rcx*4], ebp
mov rax, 0xffffffffffffffff
inc dword [rdi + 0x70]
inc rax
cmp byte [r15 + rax], 0
jne 0x14004ec00
lea r8, [r15 + 1]
mov rdx, r15
add r8, rax
lea rcx, [rdi + 0x60]
call fcn.14000e3b0
mov ecx, dword [rdi + 0x84]
mov ebx, dword [rdi + 0x80]
cmp ebx, ecx
jne 0x14004ecaa
inc ebx
test ecx, ecx
je 0x14004ec3d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [rcx + rax]
cmp esi, ebx
cmovg ebx, esi
cmp ebx, ecx
jle 0x14004ecaa
mov rax, qword [0x140156960]
test rax, rax
je 0x14004ec58
inc dword [rax + 0x3b4]
movsxd rcx, ebx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, qword [rdi + 0x88]
mov rbp, rax
test rsi, rsi
je 0x14004ec9d
movsxd r8, dword [rdi + 0x80]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x140156960]
test rcx, rcx
je 0x14004ec94
dec dword [rcx + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x88], rbp
mov dword [rdi + 0x84], ebx
movsxd rdx, dword [rdi + 0x80]
lea r8, [r15 + 1]
mov rcx, qword [rdi + 0x88]
mov r10d, 0xffffffff
movzx eax, byte [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov byte [rdx + rcx], al
mov edx, r10d
inc dword [rdi + 0x80]
movzx r9d, byte [r15]
test r9b, r9b
je 0x14004ed20
lea r11, [0x14011b4e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14004ed03
cmp byte [r8], r9b
jne 0x14004ed03
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 0x14004ecf0
mov ebx, dword [rdi + 0xa0]
not edx
mov r8d, ebx
lea ecx, [rbx + 1]
mov dword [rdi + 0xa0], ecx
lea rcx, [rdi + 0x90]
call fcn.14000e310
mov edx, ebx
mov rcx, rdi
call fcn.14004ed60
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop r14
pop r12
pop rdi
ret