Function at 0x476220
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x67f3c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x6815a8]
or edx, 0xffffffff
mov dword [ebp - 0x14], edi
mov al, 0x57
mov dword [ebp - 0x38], 0
mov esi, 0x5464f5
mov dword [ebp - 0x24], 0
or edi, 0xffffffff
mov dword [ebp - 0x44], str.Window
cmp al, 0x23
jne 0x476281
cmp byte [esi], al
jne 0x476281
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 + 0x545690]
test al, al
jne 0x476273
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x44]
not edx
mov dword [ebp - 0x3c], 0x485b00
push eax
mov dword [ebp - 0x40], edx
lea ecx, [edi + 0x5384]
mov dword [ebp - 0x34], 0x485d30
mov dword [ebp - 0x30], 0x485b80
mov dword [ebp - 0x2c], 0x485a80
mov dword [ebp - 0x28], 0x485d90
call fcn.004867e0
call fcn.004a9460
mov eax, dword [0x6815a8]
test eax, eax
je 0x4762e8
inc dword [eax + 0xb0]
push dword [0x6815b0]
push 0x100
call dword [section..data]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xd]
add esp, 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x47631e
mov ecx, eax
call fcn.004628e0
mov esi, eax
jmp 0x476320
xor esi, esi
add edi, 0x40dc
mov dword [esi], 0x11111111
mov dword [esi + 0x48], 0
mov byte [esi + 0x6a], 1
mov dword [esi + 4], 4
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 0xffffffff
cmp ebx, ecx
jne 0x476370
inc ebx
test ecx, ecx
je 0x47635e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x476363
mov eax, 8
cmp eax, ebx
mov ecx, edi
cmovg ebx, eax
push ebx
call fcn.00486a80
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov ebx, dword [ebp - 0x14]
mov dword [eax + ecx*4], esi
inc dword [edi]
mov edi, dword [ebx + 0x5630]
cmp edi, 0xc01
jge 0x4763b7
test edi, edi
je 0x47639c
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x4763a1
mov ecx, 8
mov eax, 0xc01
cmp ecx, eax
cmovg eax, ecx
lea ecx, [ebx + 0x562c]
push eax
call fcn.00486980
mov ecx, dword [ebx + 0x562c]
cmp ecx, 0xc01
jge 0x4763d8
mov eax, dword [ebx + 0x5634]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 0xc01
jl 0x4763c5
mov dword [ebx + 0x562c], 0xc01
lea esi, [ebx + 0x3830]
mov eax, dword [ebx + 0x40e4]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp ecx, edi
jne 0x47641e
inc ecx
test edi, edi
je 0x47640c
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x476411
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00486a80
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x44], str.Docking
mov dword [eax + ecx*4], edx
or edx, 0xffffffff
inc dword [esi]
mov al, 0x44
mov esi, 0x546abd
or edi, 0xffffffff
cmp al, 0x23
jne 0x476454
cmp byte [esi], al
jne 0x476454
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 + 0x545690]
test al, al
jne 0x476446
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3c], 0x471fc0
not edx
mov dword [ebp - 0x38], 0x471fc0
push eax
lea ecx, [ebx + 0x5384]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], 0x472640
mov dword [ebp - 0x30], 0x472290
mov dword [ebp - 0x2c], 0x471f80
mov dword [ebp - 0x28], 0x472690
call fcn.004867e0
mov byte [ebx], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret