Function at 0x407630
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41c090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
cmp esi, edi
jne 0x407668
pop edi
mov eax, 0xffffff9a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a138
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x38], edi
je 0x407653
push ebx
cmp dword [esi + 0x9c], edi
je 0x40767d
mov ebx, esi
call fcn.00407b10
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
mov eax, esi
call fcn.00407450
add esp, 0xc
test eax, eax
je 0x4076ad
pop ebx
pop edi
mov eax, 0xffffff99
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a138
mov esp, ebp
pop ebp
ret
push 0x90
call fcn.0040a6cc
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x4076f1
push 0x10000
call fcn.0040a6cc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x8c], edi
cmp eax, edi
jne 0x407707
push ebx
call fcn.0040a760
add esp, 4
pop ebx
pop edi
mov eax, 0xffffff98
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a138
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x40], edi
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], eax
mov ecx, dword [esi + 0x54]
mov dword [ebx + 0x84], ecx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x80], edx
lea edi, [ebx + 0x60]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x18], eax
cmp dword [edi + 0x54], 8
jne 0x40776d
lea esi, [ebx + 4]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [esi], eax
mov dword [ebx + 8], eax
call fcn.00407ee0
mov esi, eax
test esi, esi
jne 0x407803
mov dword [ebx + 0x40], 1
mov ecx, dword [edi + 0x60]
mov dword [ebx + 0x58], ecx
mov edx, dword [edi + 0x64]
mov dword [ebx + 0x5c], edx
mov ecx, dword [edi + 0x98]
mov edx, dword [ebp - 0x20]
lea ecx, [ecx + edx + 0x1e]
mov dword [ebx + 0x3c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 8], eax
mov dword [edi + 0x9c], ebx
cmp ecx, eax
je 0x407878
mov ebx, 0x417e38
lea esi, [edi + 0xa4]
push ecx
mov ecx, esi
mov dword [edi + 0xb0], ebx
call fcn.00406aa0
mov eax, dword [edi + 0x9c]
mov edx, dword [eax + 0x88]
add edx, dword [eax + 0x3c]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push 0
push edx
mov edx, dword [edi + 0x10]
push eax
push ecx
call edx
add esp, 0x14
test eax, eax
jne 0x4076f1
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
push 0xc
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 4]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, 0xc
jb 0x4076f1
xor ebx, ebx
jmp 0x407823
push ebx
call fcn.0040a760
add esp, 4
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a138
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi + 0xac]
mov edi, dword [edi + 0xb0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
movsx ecx, byte [ebp + ebx - 0x10]
shr eax, 8
and eax, 0xff
xor eax, ecx
mov byte [ebp + ebx - 0x10], al
movsx eax, al
call fcn.00406a60
inc ebx
cmp ebx, 0xc
jl 0x407820
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [ecx + 0xa0], 1
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0040a138
mov esp, ebp
pop ebp
ret