Function at 0x10022180
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x100a93e8]
push esi
xor esi, esi
mov dword [ebp - 0x18], ebx
push edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 8], 0
call fcn.1001dd20
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100221b1
mov dword [ebx + 0x4c00], esi
xor eax, eax
jmp 0x100221b7
mov eax, dword [ebx + 0x4c00]
cmp dword [ebx + 0x4c04], esi
je 0x100221ff
test eax, eax
jne 0x100221ff
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x100a2318]
movss xmm1, dword [ebx + 0x4c10]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4c2c]
maxss xmm1, xmm0
movss dword [ebx + 0x4c10], xmm1
jb 0x100221ff
comiss xmm0, xmm1
jb 0x100221ff
mov dword [ebx + 0x4c04], esi
or edx, 0xffffffff
mov esi, 0x1009912d
mov al, 0x23
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1002221e
cmp byte [esi], al
jne 0x1002221e
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 + 0x100995b0]
test al, al
jne 0x10022210
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x100a93e8]
mov dword [ebp - 0x10], edx
test al, 2
je 0x10022253
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x10022257
mov byte [ebp - 3], 0
mov ecx, dword [ebp - 0xc]
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test ecx, ecx
jne 0x100222cd
mov eax, dword [ebx + 0x4bf8]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100222cd
mov esi, edx
test edx, edx
je 0x1002227e
cmp edx, 0xffffffff
jne 0x1002228d
cmp edx, 0xffffffff
je 0x10022287
test edx, edx
jne 0x1002228d
mov esi, dword [edi + 0x48d8]
push 0x11001
mov edx, esi
mov ecx, eax
call fcn.1001ac10
add esp, 4
test al, al
je 0x100222c4
mov ecx, dword [ebp - 0x20]
mov edx, esi
push 0x11021
call fcn.1001cb20
add esp, 4
test al, al
je 0x100222c4
mov edi, dword [0x100a93e8]
mov byte [ebp - 1], 1
jmp 0x100222d5
mov edi, dword [0x100a93e8]
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 1], 0
test ecx, ecx
jne 0x10022343
mov ecx, dword [ebx + 0x4bfc]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x10022346
mov eax, esi
mov dword [ebp - 0x10], eax
test esi, esi
je 0x100222f3
cmp esi, 0xffffffff
jne 0x10022305
cmp esi, 0xffffffff
je 0x100222fc
test esi, esi
jne 0x10022305
mov eax, dword [edi + 0x48d8]
mov dword [ebp - 0x10], eax
push 0x11001
mov edx, eax
call fcn.1001ac10
add esp, 4
test al, al
je 0x1002233b
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push 0x11021
call fcn.1001cb20
add esp, 4
test al, al
je 0x1002233b
mov edi, dword [0x100a93e8]
mov byte [ebp - 2], 1
jmp 0x10022350
mov edi, dword [0x100a93e8]
jmp 0x10022346
mov esi, dword [ebp - 0x10]
cmp dword [ebp - 0xc], 0
mov byte [ebp - 2], 0
jne 0x10022383
cmp byte [ebp - 3], 0
je 0x10022383
cmp dword [ebx + 0x4c00], 0
jne 0x10022383
push 0
xor edx, edx
mov ecx, 0x279
call fcn.1001af00
add esp, 4
test al, al
je 0x10022383
mov al, byte [ebp - 2]
mov dl, byte [ebp - 1]
mov byte [ebp - 3], 1
mov cl, byte [ebp - 3]
jmp 0x100223a6
xor cl, cl
cmp dword [ebp - 0xc], 0
mov byte [ebp - 3], cl
jne 0x100223b2
cmp dword [ebx + 0x4c00], 0
mov al, byte [ebp - 2]
mov dl, byte [ebp - 1]
mov byte [ebp - 3], cl
mov byte [ebp - 2], al
mov byte [ebp - 1], dl
jne 0x100223b2
test dl, dl
jne 0x100223ae
test al, al
je 0x100223b2
mov al, 1
jmp 0x100223b4
xor al, al
mov byte [ebp - 4], al
test cl, cl
jne 0x100223c3
test al, al
je 0x10022513
mov eax, dword [ebx + 0x4a38]
test eax, eax
jne 0x100223ee
mov ecx, dword [ebx + 0x3f4c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.10022070
add esp, 4
test eax, eax
je 0x10022513
mov cl, byte [ebp - 3]
mov eax, dword [eax + 0x30c]
mov dword [ebx + 0x4c04], eax
mov dword [ebx + 0x4c00], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4c10], 0
add eax, 2
mov dword [ebx + 0x4c0c], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4c24], 0
mov dword [ebx + 0x4c28], 0
mov dword [ebx + 0x4c1c], 0
mov dword [ebx + 0x4c20], 0
mov byte [ebx + 0x4c14], cl
mov dword [ebx + 0x4a7c], eax
jne 0x10022462
cmp byte [ebp - 2], 0
je 0x10022513
mov eax, dword [ebx + 0x4bfc]
or eax, dword [ebx + 0x4bf8]
mov dword [ebp - 0xc], eax
test eax, 0x1000
je 0x10022492
mov edx, 0x1000
mov ecx, edi
call fcn.1000ab90
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x2000
je 0x100224b3
mov edx, 0x2000
mov ecx, edi
call fcn.1000ab90
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x4000
je 0x100224d4
mov edx, 0x4000
mov ecx, edi
call fcn.1000ab90
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x8000
je 0x100224f5
mov edx, 0x8000
mov ecx, edi
call fcn.1000ab90
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x800
je 0x10022513
mov edx, 0x800
mov ecx, edi
call fcn.1000ab90
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm6, dword [ebx + 0x18]
addss xmm6, dword [ebx + 0x4c0c]
mov esi, dword [ebx + 0x4c00]
mov eax, esi
movss xmm1, dword [0x100a2200]
movss xmm2, dword [0x100a2330]
movss xmm7, dword [0x100a2280]
movss dword [ebx + 0x4c0c], xmm6
mov dword [ebp - 0xc], eax
test esi, esi
je 0x10022618
cmp dword [ebx + 0x4a7c], 3
mov dword [ebp - 0xc], esi
jne 0x1002261c
subss xmm6, xmm1
xorps xmm0, xmm0
mulss xmm6, xmm2
comiss xmm0, xmm6
jbe 0x10022578
xorps xmm6, xmm6
jmp 0x1002257c
minss xmm6, xmm7
maxss xmm6, dword [ebx + 0x4c10]
push 1
xor edx, edx
mov ecx, 0x281
movss dword [ebx + 0x4c10], xmm6
call fcn.1001af00
add esp, 4
xor edx, edx
mov ecx, 0x282
mov bl, al
push 1
call fcn.1001af00
movzx ecx, al
add esp, 4
movzx eax, bl
mov dword [ebp - 0xc], esi
sub eax, ecx
je 0x100225e1
mov ecx, eax
call fcn.100220e0
mov ebx, dword [ebp - 0x18]
movaps xmm6, xmm7
mov eax, dword [ebx + 0x4c00]
mov esi, eax
mov dword [ebx + 0x4c10], 0x3f800000
mov dword [ebp - 0xc], eax
jmp 0x100225e4
mov ebx, dword [ebp - 0x18]
mov edx, 0x279
mov ecx, edi
call fcn.1001a700
cmp byte [eax], 0
je 0x10022669
mov edx, 0x279
call fcn.1000ab90
cmp byte [eax + 8], 0
jne 0x10022669
movss xmm1, dword [0x100a2200]
movss xmm2, dword [0x100a2330]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10022693
cmp dword [ebx + 0x4a7c], 2
xorps xmm6, xmm6
jne 0x10022696
mov eax, dword [ebx + 0x4bf8]
mov edx, 0xf800
movss xmm0, dword [ebx + 0x4c0c]
test eax, eax
mov ecx, edx
subss xmm0, xmm1
cmovne ecx, eax
mov eax, dword [ebx + 0x4bfc]
test eax, eax
cmovne edx, eax
and edx, ecx
mulss xmm0, xmm2
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x100226db
xorps xmm0, xmm0
jmp 0x100226df
comiss xmm7, xmm6
seta al
and byte [ebx + 0x4c14], al
je 0x10022686
cmp dword [ebx + 0x4a38], 0
je 0x10022689
mov byte [ebp - 8], 1
jmp 0x10022689
mov dword [ebp - 0x14], esi
mov dword [ebx + 0x4c00], 0
xorps xmm6, xmm6
mov ecx, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x211
mov dword [ebp - 0x28], 0x215
nop word [eax + eax]
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
test cl, cl
je 0x100226cf
push 0
or edx, 0xffffffff
mov ecx, eax
call fcn.1001af00
add esp, 4
test al, al
jne 0x1002272b
mov ecx, dword [ebp - 0x1c]
add esi, 4
lea eax, [ebp - 0x24]
cmp esi, eax
jne 0x100226b0
jmp 0x10022745
minss xmm0, xmm7
maxss xmm0, dword [ebx + 0x4c10]
mov al, byte [ebp - 1]
movss dword [ebx + 0x4c10], xmm0
test al, al
jne 0x10022714
cmp byte [ebp - 2], al
jne 0x10022714
mov eax, dword [ebx + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10022696
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x14], esi
jmp 0x10022696
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.100220e0
jmp 0x10022696
mov eax, dword [ebp - 0x20]
mov byte [ebx + 0x4c14], 1
mov dword [ebx + 0x4c18], eax
mov dword [ebx + 0x4a7c], 2
cmp byte [ebx + 0x4c14], 0
je 0x10022918
cmp dword [ebx + 0x4a7c], 2
jne 0x10022918
cmp dword [ebx + 0x3898], 0
jg 0x10022783
cmp byte [ebx + 0xe1c], 0
jne 0x10022783
cmp byte [ebx + 0xe1d], 0
jne 0x10022783
cmp byte [ebx + 0xe1f], 0
je 0x1002278a
mov byte [ebx + 0x4c14], 0
mov esi, dword [ebx + 0x4c18]
cmp esi, 0x200
jl 0x100227a0
cmp esi, 0x29a
jl 0x100227c8
cmp esi, 0x1000
je 0x100227c8
cmp esi, 0x2000
je 0x100227c8
cmp esi, 0x4000
je 0x100227c8
cmp esi, 0x8000
je 0x100227c8
cmp esi, 0x800
jne 0x10022803
cmp byte [edi + 0x48cc], 0
je 0x100227ed
cmp dword [edi + 0x3fdc], 0xffffffff
je 0x100227ed
lea eax, [esi - 0x200]
cmp eax, 0x76
ja 0x100227ed
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x1002281a
mov edx, esi
mov ecx, edi
call fcn.1000ab90
cmp dword [eax], 0xffffffff
je 0x10022803
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x1002281a
mov eax, dword [ebp - 8]
mov edx, 0x4000
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.1000ab90
cmp dword [eax], 0xffffffff
je 0x10022821
mov byte [ebx + 0x4c14], 0
mov ecx, esi
call fcn.1001b0b0
test al, al
je 0x100228b8
cmp byte [ebx + 0x4c14], 0
je 0x100228b8
cmp dword [ebx + 0x3fdc], 0
je 0x1002284b
cmp byte [ebx + 0x3fe9], 0
je 0x100228b8
lea eax, [ebx + 0xe00]
test eax, eax
jne 0x1002285b
lea eax, [edi + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x100a2434]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1002287a
comiss xmm2, xmm1
jb 0x1002287a
mov cl, 1
jmp 0x1002287c
xor cl, cl
lea eax, [ebx + 0x37c8]
test eax, eax
jne 0x1002288c
lea eax, [edi + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x100228a3
comiss xmm2, xmm1
jb 0x100228a3
mov al, 1
jmp 0x100228a5
xor al, al
mov edx, dword [ebp - 8]
cmp cl, al
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [ebp - 8], edx
mov ecx, dword [0x100a93e8]
mov edx, esi
call fcn.1001a700
cmp byte [eax], 0
je 0x1002290f
cmp esi, 0x200
jl 0x100228da
cmp esi, 0x29a
jl 0x10022902
cmp esi, 0x1000
je 0x10022902
cmp esi, 0x2000
je 0x10022902
cmp esi, 0x4000
je 0x10022902
cmp esi, 0x8000
je 0x10022902
cmp esi, 0x800
jne 0x1002291e
mov edx, esi
call fcn.1000ab90
cmp byte [eax + 8], 0
je 0x1002291e
mov byte [ebx + 0x4c14], 0
jmp 0x1002291e
mov ecx, dword [0x100a93e8]
mov eax, dword [ebx + 0x4c00]
test eax, eax
je 0x10022a9f
test byte [eax + 0xc], 4
jne 0x10022a9f
mov eax, dword [ebx + 0x4a7c]
cmp eax, 2
jne 0x10022977
cmp byte [ebx + 0xe1d], 0
jne 0x10022a9f
mov edx, 0x203
call fcn.1001a700
mov edx, 0x201
mov edi, eax
call fcn.1001a700
mov edx, 0x202
mov esi, eax
call fcn.1001a700
mov edx, 0x204
jmp 0x100229a7
cmp eax, 3
jne 0x10022a9f
mov edx, 0x289
call fcn.1001a700
mov edx, 0x287
mov edi, eax
call fcn.1001a700
mov edx, 0x288
mov esi, eax
call fcn.1001a700
mov edx, 0x28a
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [esi + 0xc]
call fcn.1001a700
ucomiss xmm1, xmm6
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x100229d6
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jnp 0x10022a9f
movss xmm0, dword [ebx + 0x40]
xorps xmm5, xmm5
minss xmm0, dword [ebx + 0x3c]
xorps xmm4, xmm4
mulss xmm0, dword [ebx + 0x18]
mov byte [ebx + 0x4a93], 1
mulss xmm0, dword [0x100a23bc]
mulss xmm1, xmm0
mulss xmm2, xmm0
addss xmm1, dword [ebx + 0x4c1c]
addss xmm2, dword [ebx + 0x4c20]
cvttss2si eax, xmm1
movss dword [ebx + 0x4c1c], xmm1
movss dword [ebx + 0x4c20], xmm2
cvtsi2ss xmm5, eax
cvttss2si eax, xmm2
ucomiss xmm5, xmm6
cvtsi2ss xmm4, eax
lahf
test ah, 0x44
jp 0x10022a44
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x10022a9f
mov eax, dword [ebx + 0x4c00]
lea edx, [ebp - 0x24]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x30c]
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x1c]
movss dword [ebp - 0x20], xmm0
call fcn.10019f00
movss xmm0, dword [ebx + 0x4c1c]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4c1c], xmm0
movss xmm0, dword [ebx + 0x4c20]
subss xmm0, xmm4
movss dword [ebx + 0x4c20], xmm0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10022b21
mov eax, dword [ebx + 0x4a38]
test eax, eax
je 0x10022ab8
cmp esi, dword [eax + 0x30c]
je 0x10022b17
xor edx, edx
xor ecx, ecx
call fcn.10010190
mov eax, dword [0x100a93e8]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.1001dfb0
mov edx, 1
mov ecx, esi
call fcn.100199f0
mov esi, dword [ebx + 0x4a38]
cmp dword [esi + 0x324], 0
jne 0x10022b03
xor dl, dl
mov ecx, esi
call fcn.1001fa00
cmp word [esi + 0x156], 2
jne 0x10022b17
mov dword [ebx + 0x4a80], 1
mov dword [ebx + 0x4c00], 0
cmp byte [ebp - 8], 0
je 0x10022be9
cmp dword [ebx + 0x4a38], 0
je 0x10022be9
xor edx, edx
xor ecx, ecx
call fcn.10010190
mov edi, dword [ebx + 0x4a38]
mov esi, edi
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
je 0x10022b9c
nop dword [eax + eax]
test byte [esi + 0x154], 2
jne 0x10022b89
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x10022b89
mov esi, dword [ecx]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
jne 0x10022b60
cmp esi, edi
je 0x10022b9c
xor edx, edx
mov ecx, esi
call fcn.100199f0
mov dword [esi + 0x320], edi
mov eax, dword [ebx + 0x4a38]
test byte [eax + 0x154], 2
je 0x10022bb6
mov ecx, dword [ebx + 0x4a80]
xor ecx, 1
jmp 0x10022bb8
xor ecx, ecx
cmp ecx, dword [ebx + 0x4a80]
je 0x10022be9
cmp ecx, 1
jne 0x10022bcf
mov dword [eax + 0x328], 0
call fcn.1001f8d0
mov eax, dword [0x100a93e8]
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret