Function at 0x18005e840
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 [0x180127f18]
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, [0x180107af9]
mov r9b, 0x57
lea r14, [0x180100ce0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18005e8a2
cmp byte [r8], r9b
jne 0x18005e8a2
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 0x18005e890
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x18006c670]
mov qword [rbp - 0x19], rax
lea rax, [0x18006c700]
mov qword [rbp - 9], rax
lea rax, [0x18006c7d0]
mov qword [rbp - 1], rax
lea rax, [0x18006c8a0]
mov qword [rbp + 7], rax
lea rax, [0x18006c9f0]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.18006c120
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, [0x1801080a9]
mov r9b, 0x54
cmp r9b, 0x23
jne 0x18005e938
cmp byte [r8], r9b
jne 0x18005e938
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 0x18005e926
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x1800820d0]
mov qword [rbp - 0x19], rax
lea rax, [0x1800821c0]
mov qword [rbp - 9], rax
lea rax, [0x1800822a0]
mov qword [rbp - 1], rax
lea rax, [0x180082170]
mov qword [rbp + 7], rax
lea rax, [0x180082520]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.18006c120
mov rax, qword [0x180127f18]
test rax, rax
je 0x18005e9ac
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 0x18005ea40
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, [0x18006d2a0]
mov qword [rsp + 0x20], rax
lea r9, [0x18006d970]
mov edx, 0x10
lea r8d, [rdx - 0xe]
call fcn.1800d310c
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 0x18005ea43
mov rdi, rsi
mov ecx, dword [rbx + 0x4084]
mov r14d, dword [rbx + 0x4080]
mov esi, 8
cmp r14d, ecx
jne 0x18005eaf1
inc r14d
test ecx, ecx
je 0x18005ea70
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005ea72
mov eax, esi
cmp eax, r14d
cmovg r14d, eax
cmp r14d, ecx
jle 0x18005eaf1
mov rax, qword [0x180127f18]
test rax, rax
je 0x18005ea90
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 0x18005eae3
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 0x18005eadd
mov rax, qword [0x180127f18]
test rax, rax
je 0x18005eadd
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 0x18005eb3b
test ecx, ecx
je 0x18005eb29
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.18006dc20
movsxd rax, dword [rdi]
cmp eax, 0xc01
jge 0x18005eb64
mov rcx, rax
cmp rax, 0xc01
jge 0x18005eb64
mov rax, qword [rdi + 8]
mov byte [rcx + rax], 0
inc rcx
cmp rcx, 0xc01
jl 0x18005eb50
mov dword [rdi], 0xc01
mov byte [rbx], 1
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret