Function at 0x140040cc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1401adf80]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
xor esi, esi
mov dword [rbp - 0x2d], esi
mov qword [rbp - 0x21], rsi
mov qword [rbp + 7], rsi
lea rax, str.Window
mov qword [rbp - 0x39], rax
mov r14d, 0xffffffff
mov edx, r14d
lea r8, [0x140156d21]
mov r9b, 0x57
lea r15, [0x1401571a0]
cmp r9b, 0x23
jne 0x140040d36
cmp byte [r8], r9b
jne 0x140040d36
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140040d23
not edx
mov dword [rbp - 0x31], edx
lea rax, [0x14004f4f0]
mov qword [rbp - 0x29], rax
lea rax, [0x14004f580]
mov qword [rbp - 0x19], rax
lea rax, [0x14004f650]
mov qword [rbp - 0x11], rax
lea rax, [0x14004f730]
mov qword [rbp - 9], rax
lea rax, [0x14004f880]
mov qword [rbp - 1], rax
lea rdx, [rbp - 0x39]
lea rcx, [rdi + 0x5320]
call fcn.140050080
mov dword [rbp - 0x2d], esi
mov qword [rbp - 0x21], rsi
mov qword [rbp + 7], rsi
lea rax, str.Table
mov qword [rbp - 0x39], rax
mov edx, r14d
lea r8, [0x140167f9d]
mov r9b, 0x54
cmp r9b, 0x23
jne 0x140040dd5
cmp byte [r8], r9b
jne 0x140040dd5
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140040dc2
not edx
mov dword [rbp - 0x31], edx
lea rax, [0x140064050]
mov qword [rbp - 0x29], rax
lea rax, [0x140064140]
mov qword [rbp - 0x19], rax
lea rax, [0x140064240]
mov qword [rbp - 0x11], rax
lea rax, [0x1400640f0]
mov qword [rbp - 9], rax
lea rax, [0x1400644d0]
mov qword [rbp - 1], rax
lea rdx, [rbp - 0x39]
lea rcx, [rdi + 0x5320]
call fcn.140050080
mov rax, qword [0x1401baa38]
test rax, rax
je 0x140040e50
inc dword [rax + 0xec]
mov ecx, 0xb8
call qword [0x14012de38]
mov rbx, rax
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x49]
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rbx
test rbx, rbx
je 0x140040ee4
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
lea rcx, [rbx + 0x78]
mov qword [rbp + 0x2f], rcx
lea rax, [0x140050050]
mov qword [rsp + 0x20], rax
lea r9, [0x140050be0]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx - 0xe]
call fcn.140125d08
mov qword [rbx + 0x98], rsi
mov qword [rbx + 0xa0], rsi
mov qword [rbx + 0xa8], rsi
mov qword [rbx + 0xb0], rsi
mov qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x38], rsi
jmp 0x140040ee7
mov rbx, rsi
mov ecx, dword [rdi + 0x403c]
mov esi, dword [rdi + 0x4038]
cmp esi, ecx
jne 0x140040f8c
inc esi
test ecx, ecx
je 0x140040f0c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140040f11
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x140040f8c
mov rax, qword [0x1401baa38]
test rax, rax
je 0x140040f2c
inc dword [rax + 0xec]
movsxd rcx, esi
shl rcx, 3
call qword [0x14012de38]
mov r14, rax
mov rdx, qword [rdi + 0x4040]
test rdx, rdx
je 0x140040f7f
movsxd r8, dword [rdi + 0x4038]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rdi + 0x4040]
test rcx, rcx
je 0x140040f79
mov rax, qword [0x1401baa38]
test rax, rax
je 0x140040f79
dec dword [rax + 0xec]
call qword [0x14012de50]
mov qword [rdi + 0x4040], r14
mov dword [rdi + 0x403c], esi
movsxd rcx, dword [rdi + 0x4038]
mov rax, qword [rdi + 0x4040]
mov qword [rax + rcx*8], rbx
inc dword [rdi + 0x4038]
mov byte [rdi], 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140125830
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret