Function at 0x4085a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449033
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
push edi
mov edi, dword [0x471270]
mov dword [ebp - 0x14], edi
cmp byte [edi], 0
jne 0x4085d4
cmp byte [edi + 0x5205], 0
je 0x4085ec
push 0x1195
push 0x44a3d0
push str._g.Initialized___g.SettingsLoaded
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
or edx, 0xffffffff
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
mov al, 0x57
mov dword [ebp - 0x44], str.Window
mov esi, 0x44b091
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x40861e
cmp byte [esi], al
jne 0x40861e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x44ebf0]
test al, al
jne 0x408610
not edx
mov dword [ebp - 0x3c], 0x419190
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], 0x419230
mov dword [ebp - 0x30], 0x4192a0
mov dword [ebp - 0x2c], 0x419350
mov dword [ebp - 0x28], 0x4194c0
call fcn.00418b50
mov edi, dword [ebp - 0x14]
or edx, 0xffffffff
mov dword [ebp - 0x38], 0
mov al, 0x54
mov dword [ebp - 0x24], 0
mov esi, 0x452ddd
mov dword [ebp - 0x44], str.Table
nop dword [eax]
cmp al, 0x23
jne 0x4086a3
cmp byte [esi], al
jne 0x4086a3
cmp byte [esi + 1], al
mov ecx, 0xffffffff
cmove edx, ecx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x44ebf0]
test al, al
jne 0x408690
not edx
mov dword [ebp - 0x3c], 0x42a990
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], 0x42ab20
mov dword [ebp - 0x30], 0x42aba0
mov dword [ebp - 0x2c], 0x42aa70
mov dword [ebp - 0x28], 0x42add0
call fcn.00418b50
mov eax, dword [0x471270]
test eax, eax
je 0x4086fb
inc dword [eax + 0xa8]
push 0x9c
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0xd]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40882c
mov dword [esi + 4], 0
lea eax, [esi + 0x38]
mov dword [esi + 8], 0
xorps xmm0, xmm0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
push 0x2c
movups xmmword [esi + 0x10], xmm0
push 0
movq qword [esi + 0x20], xmm0
push eax
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x64]
mov dword [ebp - 0x20], eax
push 0x41a430
push 0x41a500
push 2
push 0xc
push eax
call fcn.00447ef6
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
jmp 0x40882e
xor esi, esi
mov ecx, dword [edi + 0x3fdc]
mov eax, dword [edi + 0x3fe0]
cmp ecx, eax
jne 0x4088e0
inc ecx
test eax, eax
je 0x408856
cdq
sub eax, edx
mov edx, dword [edi + 0x3fe0]
sar eax, 1
add eax, edx
jmp 0x408861
mov edx, dword [edi + 0x3fe0]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
jle 0x4088e0
mov eax, dword [0x471270]
test eax, eax
je 0x40887c
inc dword [eax + 0xa8]
lea eax, [ecx*4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov eax, dword [edi + 0x3fe4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4088d1
mov ecx, dword [edi + 0x3fdc]
shl ecx, 2
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x471270]
add esp, 0xc
test eax, eax
je 0x4088c2
dec dword [eax + 0xa8]
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [ebp - 0x18]
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x3fe4], edx
mov dword [edi + 0x3fe0], eax
mov ecx, dword [edi + 0x3fdc]
mov eax, dword [edi + 0x3fe4]
mov dword [eax + ecx*4], esi
lea esi, [edi + 0x54c0]
inc dword [edi + 0x3fdc]
mov eax, dword [esi + 4]
cmp eax, 0xc01
jge 0x40892c
test eax, eax
je 0x408915
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esi + 4]
jmp 0x40891a
mov ecx, 8
mov eax, 0xc01
cmp ecx, eax
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.0041a6d0
mov ecx, dword [esi]
cmp ecx, 0xc01
jge 0x408946
mov eax, dword [esi + 8]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 0xc01
jl 0x408936
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0xc01
mov byte [edi], 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret