Function at 0x140008140
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, rcx
cmp byte [rcx], 0
jne 0x140008166
cmp byte [rcx + 0x2f01], 0
je 0x140008180
mov r8d, 0xfe0
lea rdx, [0x140098450]
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
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 r14d, 0xffffffff
mov edx, r14d
lea r8, [0x1400989c9]
mov r9b, 0x57
lea r15, [0x14009b5e0]
cmp r9b, 0x23
jne 0x1400081c5
cmp byte [r8], r9b
jne 0x1400081c5
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 0x1400081b2
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x140016c60]
mov qword [rbp - 0x19], rax
lea rax, [0x140016d20]
mov qword [rbp - 9], rax
lea rax, [0x140016da0]
mov qword [rbp - 1], rax
lea rax, [0x140016e70]
mov qword [rbp + 7], rax
lea rax, [0x140017020]
mov qword [rbp + 0xf], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbx + 0x2f18]
call fcn.140017650
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, r14d
lea r8, [0x1400d0dc1]
mov r9b, 0x54
cmp r9b, 0x23
jne 0x140008264
cmp byte [r8], r9b
jne 0x140008264
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 0x140008251
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x14002a7f0]
mov qword [rbp - 0x19], rax
lea rax, [0x14002a940]
mov qword [rbp - 9], rax
lea rax, [0x14002a9e0]
mov qword [rbp - 1], rax
lea rax, [0x14002a8b0]
mov qword [rbp + 7], rax
lea rax, [0x14002ac60]
mov qword [rbp + 0xf], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbx + 0x2f18]
call fcn.140017650
mov rax, qword [0x140106410]
test rax, rax
je 0x1400082df
inc dword [rax + 0x3b4]
mov ecx, 0xb0
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 0x140008374
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
mov dword [rdi + 0x20], eax
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
lea rcx, [rdi + 0x70]
mov qword [rbp - 0x39], rcx
lea rax, [0x140017580]
mov qword [rsp + 0x20], rax
lea r9, [0x140017f90]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx - 0xe]
call fcn.14008a884
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], rsi
mov qword [rdi + 0xa0], rsi
mov qword [rdi + 0xa8], rsi
mov qword [rdi + 0x24], 0xffffffffffffffff
mov qword [rdi + 0x38], rsi
mov qword [rdi + 0x30], rsi
jmp 0x140008377
mov rdi, rsi
mov ecx, dword [rbx + 0x1c94]
mov esi, dword [rbx + 0x1c90]
cmp esi, ecx
jne 0x14000841c
inc esi
test ecx, ecx
je 0x14000839c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400083a1
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x14000841c
mov rax, qword [0x140106410]
test rax, rax
je 0x1400083bc
inc dword [rax + 0x3b4]
movsxd rcx, esi
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov rdx, qword [rbx + 0x1c98]
test rdx, rdx
je 0x14000840f
movsxd r8, dword [rbx + 0x1c90]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x1c98]
test rcx, rcx
je 0x140008409
mov rax, qword [0x140106410]
test rax, rax
je 0x140008409
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c98], r14
mov dword [rbx + 0x1c94], esi
movsxd rcx, dword [rbx + 0x1c90]
mov rax, qword [rbx + 0x1c98]
mov qword [rax + rcx*8], rdi
inc dword [rbx + 0x1c90]
mov byte [rbx], 1
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret