Function at 0x409640
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e190
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp edi, edx
jne 0x409696
mov esi, dword [ebp + 8]
push esi
mov ecx, 0x432a70
call fcn.00403300
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
lea esi, [eax + 2]
jmp 0x4096a0
mov cx, word [eax]
add eax, 2
cmp cx, dx
jne 0x4096a0
sub eax, esi
sar eax, 1
cmp eax, 0x10
jl 0x409674
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], edx
mov ebx, 7
movzx eax, word [edi]
lea ecx, [eax - 0x30]
cmp cx, 9
ja 0x4096d3
lea esi, [eax - 0x30]
jmp 0x4096df
lea edx, [eax - 0x41]
cmp dx, 5
ja 0x409674
lea esi, [eax - 0x37]
cmp esi, 0xffffffff
je 0x409674
fld dword [0x436c84]
push ecx
mov ecx, ebx
fstp dword [esp]
call fcn.00408eb0
add esp, 4
mov dword [ebp - 0x2c], esi
fild dword [ebp - 0x2c]
test esi, esi
jns 0x409708
fadd dword [0x436c80]
mov eax, dword [ebp - 0x10]
fmulp st(1)
fild dword [ebp - 0x10]
test eax, eax
jns 0x40971a
fadd qword [0x436c78]
fnstcw word [ebp - 0xe]
dec ebx
movzx eax, word [ebp - 0xe]
faddp st(1)
or eax, 0xc00
mov dword [ebp - 0x1c], eax
add edi, 2
fldcw word [ebp - 0x1c]
fistp qword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
fldcw word [ebp - 0xe]
mov dword [ebp - 0x10], ecx
cmp ebx, 0xffffffff
jg 0x4096c2
mov ebx, dword [ebp + 0xc]
fld1
fld1
lea edi, [ebx + 0x10]
fld dword [0x436c84]
mov ecx, 1
mov dword [ebp - 0x2c], edi
mov esi, edi
jmp 0x409765
fxch st(2)
movzx eax, word [esi]
lea edx, [eax - 0x30]
cmp dx, 9
ja 0x409776
add eax, 0xffffffd0
jmp 0x409786
lea edx, [eax - 0x41]
cmp dx, 5
ja 0x409831
add eax, 0xffffffc9
cmp eax, 0xffffffff
je 0x409831
fst dword [ebp - 0x1c]
mov edx, ecx
test ecx, ecx
jns 0x40979a
neg edx
fxch st(2)
fst dword [ebp + 0xc]
fld dword [ebp - 0x1c]
test dl, 1
je 0x4097af
fld dword [ebp + 0xc]
fmul st(1)
fstp dword [ebp + 0xc]
shr edx, 1
je 0x4097ba
fmul st(0), st(0)
fstp dword [ebp - 0x1c]
jmp 0x40979f
fstp st(0)
fld dword [ebp + 0xc]
test ecx, ecx
jns 0x4097c5
fdivr st(2)
mov dword [ebp - 0x1c], eax
fstp dword [ebp + 0xc]
fild dword [ebp - 0x1c]
test eax, eax
jns 0x4097d8
fadd dword [0x436c80]
mov eax, dword [ebp - 0x14]
fmul dword [ebp + 0xc]
fild dword [ebp - 0x14]
test eax, eax
jns 0x4097eb
fadd qword [0x436c78]
fnstcw word [ebp + 0xe]
dec ecx
movzx eax, word [ebp + 0xe]
faddp st(1)
or eax, 0xc00
mov dword [ebp - 0x1c], eax
add esi, 2
fldcw word [ebp - 0x1c]
fistp qword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
fldcw word [ebp + 0xe]
cmp ecx, 0xffffffff
jg 0x409763
mov ecx, 1
lea esi, [ebx + 0x14]
movzx eax, word [esi]
lea edx, [eax - 0x30]
cmp dx, 9
ja 0x40985a
add eax, 0xffffffd0
jmp 0x40986a
mov eax, dword [section..data]
fstp st(1)
mov edx, dword [eax + 0xc]
fstp st(1)
mov ecx, section..data
fstp st(0)
call edx
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
jmp 0x4099fe
lea edx, [eax - 0x41]
cmp dx, 5
ja 0x409930
add eax, 0xffffffc9
cmp eax, 0xffffffff
je 0x409930
fxch st(2)
mov edx, ecx
fst dword [ebp - 0x1c]
test ecx, ecx
jns 0x409880
neg edx
fxch st(2)
fst dword [ebp + 0xc]
fld dword [ebp - 0x1c]
test dl, 1
je 0x409895
fld dword [ebp + 0xc]
fmul st(1)
fstp dword [ebp + 0xc]
shr edx, 1
je 0x4098a0
fmul st(0), st(0)
fstp dword [ebp - 0x1c]
jmp 0x409885
fstp st(0)
fld dword [ebp + 0xc]
test ecx, ecx
jns 0x4098ab
fdivr st(2)
mov dword [ebp - 0x1c], eax
fstp dword [ebp + 0xc]
fild dword [ebp - 0x1c]
test eax, eax
jns 0x4098be
fadd dword [0x436c80]
mov eax, dword [ebp - 0x24]
fmul dword [ebp + 0xc]
fild dword [ebp - 0x24]
test eax, eax
jns 0x4098d1
fadd qword [0x436c78]
fnstcw word [ebp + 0xe]
dec ecx
movzx eax, word [ebp + 0xe]
faddp st(1)
or eax, 0xc00
mov dword [ebp - 0x24], eax
add esi, 2
fldcw word [ebp - 0x24]
fistp qword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
fldcw word [ebp + 0xe]
cmp ecx, 0xffffffff
jg 0x409820
lea ecx, [ebx + 0x18]
fstp st(1)
lea eax, [ecx + edx*2]
fstp st(0)
mov dword [ebp - 0x24], eax
fstp st(0)
mov eax, edi
mov dword [ebp + 0xc], ecx
lea ebx, [eax + 2]
mov si, word [eax]
add eax, 2
test si, si
jne 0x409915
sub eax, ebx
sar eax, 1
add eax, eax
xor ebx, ebx
xor esi, esi
test eax, eax
jle 0x40998e
jmp 0x409973
mov edx, dword [section..data]
fstp st(1)
mov eax, dword [edx + 0xc]
fstp st(0)
mov ecx, section..data
fstp st(0)
call eax
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
mov ecx, 0x432a70
test ecx, 0xffff0000
jne 0x409a38
mov edx, ecx
movzx esi, dx
jmp 0x409a0f
mov edi, dword [ebp - 0x2c]
movzx ecx, byte [esi + edi]
movzx edi, bl
xor ecx, edi
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43c300]
inc esi
cmp esi, eax
jl 0x409970
mov ecx, dword [ebp + 0xc]
not ebx
cmp ebx, dword [ebp - 0x10]
je 0x4099b6
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 2
jmp 0x409955
cmp dword [ebp - 0x14], 1
jne 0x4099e0
mov esi, dword [ebp + 8]
push edx
mov edx, dword [ebp - 0x24]
push esi
call fcn.00409360
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 3
mov eax, 0x432a70
test eax, 0xffff0000
jne 0x409a38
mov ecx, eax
movzx esi, cx
push esi
call fcn.00404230
add esp, 4
test eax, eax
je 0x409a45
push eax
mov eax, esi
call fcn.00403d90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x432a70
push edi
xor ebx, ebx
call fcn.00403ba0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret