Function at 0x408330
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474503
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x49400c]
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 dword [ebp - 0x14], ecx
or edx, 0xffffffff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x1c], 0
mov esi, 0x47984d
mov dword [ebp - 0x3c], str.Window
mov al, 0x57
or ebx, 0xffffffff
cmp al, 0x23
jne 0x40838e
cmp byte [esi], al
jne 0x40838e
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 + 0x479de0]
test al, al
jne 0x408380
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
add edi, 0x2ff4
mov dword [ebp - 0x34], 0x416390
not edx
mov dword [ebp - 0x2c], 0x416410
push eax
mov ecx, edi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], 0x416450
mov dword [ebp - 0x24], 0x416630
mov dword [ebp - 0x20], 0x4166a0
mov dword [ebp - 0x40], edi
call fcn.004200e0
or edx, 0xffffffff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x1c], 0
mov esi, 0x485f69
mov dword [ebp - 0x3c], str.Table
mov al, 0x54
or ebx, 0xffffffff
cmp al, 0x23
jne 0x408416
cmp byte [esi], al
jne 0x408416
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 + 0x479de0]
test al, al
jne 0x408408
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x432c70
not edx
mov dword [ebp - 0x2c], 0x432d30
push eax
mov ecx, edi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], 0x432de0
mov dword [ebp - 0x24], 0x432cf0
mov dword [ebp - 0x20], 0x433020
call fcn.004200e0
mov eax, dword [0x495280]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x408474
inc dword [eax + 0x374]
push pe_nt_image_headers32
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [ebp - 0x15]
mov dword [ebp - 0x44], eax
add esp, 4
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4084a4
mov ecx, eax
call fcn.00401be0
mov esi, eax
jmp 0x4084a6
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + 0x1dd0]
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]
cmp ebx, ecx
jne 0x4084f6
inc ebx
test ecx, ecx
je 0x4084e4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x4084e9
mov eax, 8
cmp eax, ebx
mov ecx, edi
cmovg ebx, eax
push ebx
call fcn.00420980
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], esi
mov eax, dword [ebp - 0x14]
inc dword [edi]
lea esi, [eax + 0x158c]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov eax, dword [eax + 0x1dd8]
mov ebx, dword [eax]
cmp ecx, edi
jne 0x40853c
inc ecx
test edi, edi
je 0x40852a
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x40852f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00420980
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], str.Docking
mov dword [eax + ecx*4], ebx
mov al, 0x44
inc dword [esi]
or edx, 0xffffffff
mov esi, 0x479a41
nop
cmp al, 0x23
jne 0x408573
cmp byte [esi], al
jne 0x408573
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 + 0x479de0]
test al, al
jne 0x408560
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
not edx
mov dword [ebp - 0x34], 0x41f390
push eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], 0x41f390
mov dword [ebp - 0x2c], 0x41f430
mov dword [ebp - 0x28], 0x41f480
mov dword [ebp - 0x24], 0x41f3f0
mov dword [ebp - 0x20], 0x41f980
call fcn.004200e0
mov eax, dword [ebp - 0x14]
mov byte [eax], 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.00472e83
mov esp, ebp
pop ebp
ret