Function at 0x402f60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x58f860]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
test esi, esi
jne 0x402fa6
mov eax, 0xffffff9a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00512610
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x60]
or edx, dword [esi + 0x64]
je 0x402f8f
cmp dword [esi + 0xe0], 0
je 0x402fc0
push esi
call fcn.00403780
add esp, 4
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov eax, esi
call fcn.00402ce0
add esp, 0xc
test eax, eax
je 0x402ff4
mov eax, 0xffffff99
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00512610
mov esp, ebp
pop ebp
ret
push 0xd0
call fcn.00517785
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x403049
push 0x4000
call fcn.00517785
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x50], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x58], ecx
xor ecx, ecx
mov dword [ebx + 0x54], edx
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x64], ecx
mov dword [ebx + 0xc8], edx
cmp eax, ecx
jne 0x403060
push ebx
call fcn.0051770c
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00512610
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x48], ecx
cmp eax, ecx
je 0x403076
mov edx, dword [esi + 0x8c]
mov dword [eax], edx
mov edx, dword [ebp + 0x10]
cmp edi, ecx
je 0x4030ae
mov dword [edi], 6
mov eax, dword [esi + 0x88]
and eax, 6
sub eax, 2
je 0x4030a8
sub eax, 2
je 0x4030a0
sub eax, 2
jne 0x4030ae
mov dword [edi], 1
jmp 0x4030ae
mov dword [edi], 2
jmp 0x4030ae
mov dword [edi], 9
mov eax, dword [esi + 0x94]
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x6c], ecx
mov dword [ebx + 0x74], eax
mov ecx, dword [esi + 0x8c]
mov dword [ebx + 0xb8], ecx
mov eax, dword [esi + 0x30]
mov dword [ebx + 0xb4], eax
lea edi, [ebx + 0x88]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x48]
mov dword [ebx + 0xc0], ecx
mov eax, dword [esi + 0x4c]
xor edi, edi
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0x18], edi
mov eax, dword [esi + 0x8c]
cmp eax, 0xc
jne 0x4031f5
cmp edx, edi
jne 0x4031f5
mov dword [ebx + 0xc8], 1
mov ecx, dword [esi + 0x98]
mov dword [ebx + 0x78], ecx
mov edx, dword [esi + 0x9c]
mov dword [ebx + 0x7c], edx
mov eax, dword [esi + 0xa0]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x80], eax
mov ecx, dword [esi + 0xa4]
xor eax, eax
mov dword [ebx + 0x84], ecx
add edx, dword [esi + 0xd8]
adc eax, dword [esi + 0xdc]
add edx, 0x1e
adc eax, edi
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x40], edx
mov dword [ebx + 8], edi
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], edi
cmp eax, edi
je 0x4032ac
mov ebx, 0x57bde0
lea ecx, [esi + 0xec]
push eax
mov dword [esi + 0xf8], ebx
mov dword [esp + 0x10], ecx
call fcn.00401060
mov edi, esi
mov eax, dword [edi + 0xe0]
mov ecx, dword [eax + 0xc0]
mov edx, dword [eax + 0xc4]
mov esi, dword [edi + 0x30]
add esp, 4
add ecx, dword [eax + 0x40]
adc edx, dword [eax + 0x44]
mov eax, edi
push edx
push ecx
xor edx, edx
call fcn.00407ac0
add esp, 8
test eax, eax
jne 0x403049
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x1c]
push 0xc
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edi + 4]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, 0xc
jb 0x403049
xor ebx, ebx
jmp 0x403264
cmp eax, 8
jne 0x40311e
cmp edx, edi
jne 0x40311e
lea ecx, [ebx + 4]
push 0x38
push 0xfffffffffffffff1
mov eax, 0x57de84
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [ecx], edi
mov dword [ebx + 8], edi
call fcn.00408730
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x40323c
mov dword [ebx + 0x48], 8
jmp 0x40311e
push ebx
call fcn.0051770c
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00512610
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
call fcn.00401000
movsx ecx, byte [esp + ebx + 0x28]
mov edi, dword [edi + 0xf8]
mov esi, dword [esp + 0xc]
xor eax, ecx
mov byte [esp + ebx + 0x28], al
movsx eax, al
call fcn.00401020
inc ebx
cmp ebx, 0xc
jl 0x403260
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xe0]
add dword [eax + 0x40], 0xc
adc dword [eax + 0x44], 0
mov dword [ecx + 0xe4], 1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00512610
mov esp, ebp
pop ebp
ret