Function at 0x140016320
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 [0x140058d60]
xor esi, esi
mov dword [rbp - 0x1d], esi
mov qword [rbp - 0x11], rsi
mov qword [rbp + 0x17], rsi
lea rax, str.Window
mov qword [rbp - 0x29], rax
mov edi, 0xffffffff
mov edx, edi
lea r8, [0x14004fbc9]
mov r9b, 0x57
lea r14, [0x14004b160]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016382
cmp byte [r8], r9b
jne 0x140016382
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 0x140016370
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x140024730]
mov qword [rbp - 0x19], rax
lea rax, [0x1400247c0]
mov qword [rbp - 9], rax
lea rax, [0x140024890]
mov qword [rbp - 1], rax
lea rax, [0x140024960]
mov qword [rbp + 7], rax
lea rax, [0x140024ab0]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.1400241a0
mov dword [rbp - 0x1d], esi
mov qword [rbp - 0x11], rsi
mov qword [rbp + 0x17], rsi
lea rax, str.Table
mov qword [rbp - 0x29], rax
mov edx, edi
lea r8, [0x14005015d]
mov r9b, 0x54
cmp r9b, 0x23
jne 0x140016418
cmp byte [r8], r9b
jne 0x140016418
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 0x140016406
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x140039070]
mov qword [rbp - 0x19], rax
lea rax, [0x140039160]
mov qword [rbp - 9], rax
lea rax, [0x140039240]
mov qword [rbp - 1], rax
lea rax, [0x140039110]
mov qword [rbp + 7], rax
lea rax, [0x1400394c0]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.1400241a0
mov rax, qword [0x140058d60]
test rax, rax
je 0x14001648c
inc dword [rax + 0xec]
mov ecx, 0xb8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.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 0x140016520
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, [0x140025360]
mov qword [rsp + 0x20], rax
lea r9, [0x140025ae0]
mov edx, 0x10
lea r8d, [rdx - 0xe]
call fcn.140047be8
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 0x140016523
mov rdi, rsi
mov ecx, dword [rbx + 0x4084]
mov r14d, dword [rbx + 0x4080]
mov esi, 8
cmp r14d, ecx
jne 0x1400165d1
inc r14d
test ecx, ecx
je 0x140016550
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140016552
mov eax, esi
cmp eax, r14d
cmovg r14d, eax
cmp r14d, ecx
jle 0x1400165d1
mov rax, qword [0x140058d60]
test rax, rax
je 0x140016570
inc dword [rax + 0xec]
movsxd rcx, r14d
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov rdx, qword [rbx + 0x4088]
test rdx, rdx
je 0x1400165c3
movsxd r8, dword [rbx + 0x4080]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x4088]
test rcx, rcx
je 0x1400165bd
mov rax, qword [0x140058d60]
test rax, rax
je 0x1400165bd
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4088], r15
mov dword [rbx + 0x4084], r14d
movsxd rcx, dword [rbx + 0x4080]
mov rax, qword [rbx + 0x4088]
mov qword [rax + rcx*8], rdi
inc dword [rbx + 0x4080]
lea rdi, [rbx + 0x5560]
mov ecx, dword [rdi + 4]
cmp ecx, 0xc01
jge 0x14001661b
test ecx, ecx
je 0x140016609
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.140025d70
movsxd rax, dword [rdi]
cmp eax, 0xc01
jge 0x140016644
mov rcx, rax
cmp rax, 0xc01
jge 0x140016644
mov rax, qword [rdi + 8]
mov byte [rcx + rax], 0
inc rcx
cmp rcx, 0xc01
jl 0x140016630
mov dword [rdi], 0xc01
mov byte [rbx], 1
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret