Function at 0x409840
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3633
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f01c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x4f4b14]
or edx, 0xffffffff
mov dword [ebp - 0x30], 0
mov esi, 0x4da609
mov dword [ebp - 0x1c], 0
mov al, 0x57
mov dword [ebp - 0x3c], str.Window
or ebx, 0xffffffff
cmp al, 0x23
jne 0x4098a1
cmp byte [esi], al
jne 0x4098a1
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x4d6440]
test al, al
jne 0x409893
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x418da0
not edx
mov dword [ebp - 0x2c], 0x418e20
lea ecx, [edi + 0x537c]
mov dword [ebp - 0x38], edx
push eax
mov dword [ebp - 0x28], 0x418e60
mov dword [ebp - 0x24], 0x419040
mov dword [ebp - 0x20], 0x4190b0
call fcn.00423f40
mov dword [ebp - 0x30], 0
or edx, 0xffffffff
mov dword [ebp - 0x1c], 0
mov esi, 0x4dab91
mov dword [ebp - 0x3c], str.Table
mov al, 0x54
cmp al, 0x23
jne 0x40991e
cmp byte [esi], al
jne 0x40991e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x4d6440]
test al, al
jne 0x409910
mov ecx, dword [0x4f4b14]
lea eax, [ebp - 0x3c]
not edx
mov dword [ebp - 0x34], 0x438dd0
push eax
mov dword [ebp - 0x38], edx
lea ecx, [ecx + 0x537c]
mov dword [ebp - 0x2c], 0x438eb0
mov dword [ebp - 0x28], 0x438fa0
mov dword [ebp - 0x24], 0x438e60
mov dword [ebp - 0x20], 0x4391e0
call fcn.00423f40
mov eax, dword [0x4f4b14]
test eax, eax
je 0x409983
inc dword [eax + 0xb0]
push 0x100
call fcn.004a7660
lea ecx, [ebp - 0x15]
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4099b0
mov ecx, eax
call fcn.00402470
jmp 0x4099b2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0x40d8]
mov dword [eax], 0x11111111
mov dword [eax + 0x48], 0
mov byte [eax + 0x6a], 1
mov dword [ebp - 0x14], eax
mov dword [eax + 4], 4
lea eax, [ebp - 0x14]
push eax
call fcn.00423c00
mov eax, dword [edi + 0x40e0]
lea ecx, [edi + 0x3830]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00423c00
mov dword [ebp - 0x1c], 0
or edx, 0xffffffff
mov dword [ebp - 0x3c], str.Docking
mov esi, 0x4da811
mov al, 0x44
cmp al, 0x23
jne 0x409a23
cmp byte [esi], al
jne 0x409a23
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x4d6440]
test al, al
jne 0x409a15
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x422ec0
not edx
mov dword [ebp - 0x30], 0x422ec0
push eax
lea ecx, [edi + 0x537c]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], 0x422f60
mov dword [ebp - 0x28], 0x422fb0
mov dword [ebp - 0x24], 0x422f20
mov dword [ebp - 0x20], 0x4234c0
call fcn.00423f40
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047eeda
mov esp, ebp
pop ebp
ret