Function at 0x420f60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x675978]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x67dc18]
xor eax, eax
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x14], al
call fcn.0041ce40
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x420fa0
mov dword [ebx + 0x4df4], 0
xor eax, eax
jmp 0x420fa6
mov eax, dword [ebx + 0x4df4]
cmp dword [ebx + 0x4df8], 0
je 0x420fef
test eax, eax
jne 0x420fef
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x657b48]
movss xmm1, dword [ebx + 0x4e04]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4e20]
maxss xmm1, xmm0
movss dword [ebx + 0x4e04], xmm1
jb 0x420fef
comiss xmm0, xmm1
jb 0x420fef
mov dword [ebx + 0x4df8], eax
or edx, 0xffffffff
mov esi, 0x653ca5
mov al, 0x23
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x42100e
cmp byte [esi], al
jne 0x42100e
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 + 0x64e790]
test al, al
jne 0x421000
mov eax, dword [ebx + 8]
not edx
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
test al, 2
je 0x421040
test byte [ebx + 0xc], 1
mov byte [ebp - 0xd], 1
jne 0x421044
mov byte [ebp - 0xd], 0
and eax, 0xffffff01
mov dword [ebp - 0x24], eax
test edi, edi
jne 0x421070
mov ecx, dword [ebx + 0x4dec]
test ecx, ecx
je 0x421070
push edx
mov edx, 0x2001
call fcn.0041be00
add esp, 4
mov byte [ebp - 0xe], 1
test al, al
jne 0x421074
mov byte [ebp - 0xe], 0
mov esi, dword [ebp - 0x18]
test edi, edi
jne 0x42109b
mov ecx, dword [ebx + 0x4df0]
test ecx, ecx
je 0x42109b
push esi
mov edx, 0x2001
call fcn.0041be00
add esp, 4
mov byte [ebp - 0xf], 1
test al, al
jne 0x42109f
mov byte [ebp - 0xf], 0
test edi, edi
jne 0x4210cb
cmp byte [ebp - 0xd], 0
je 0x4210cb
cmp dword [ebx + 0x4df4], edi
jne 0x4210cb
push edi
xor edx, edx
mov ecx, 0x279
call fcn.00419da0
add esp, 4
test al, al
je 0x4210cb
mov cl, 1
xor eax, eax
jmp 0x4210d3
mov eax, dword [ebx + 0x4df4]
xor cl, cl
cmp dword [ebp - 0x20], 0
mov edi, eax
mov byte [ebp - 0xd], cl
jne 0x4210f2
test eax, eax
jne 0x4210f2
cmp byte [ebp - 0xe], al
jne 0x4210ec
cmp byte [ebp - 0xf], al
je 0x4210f2
mov al, 1
xor edi, edi
jmp 0x4210f4
xor al, al
mov byte [ebp - 0x10], al
test cl, cl
jne 0x421103
test al, al
je 0x4211c5
mov eax, dword [ebx + 0x4c28]
test eax, eax
jne 0x42112e
mov ecx, dword [ebx + 0x4098]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.00420e50
mov cl, byte [ebp - 0xd]
add esp, 4
test eax, eax
je 0x4211c5
mov edi, dword [eax + 0x354]
mov dword [ebx + 0x4e18], 0
mov eax, dword [ebx + 0x4e18]
mov dword [ebx + 0x4e10], eax
mov dword [ebx + 0x4e1c], 0
mov eax, dword [ebx + 0x4e1c]
mov dword [ebx + 0x4e14], eax
movzx eax, byte [ebp - 0x10]
xor eax, 1
mov dword [ebx + 0x4df8], edi
add eax, 2
mov dword [ebx + 0x4df4], edi
cmp byte [ebp - 0xe], 0
mov dword [ebx + 0x4e04], 0
mov dword [ebx + 0x4e00], 0
mov byte [ebx + 0x4e08], cl
mov dword [ebx + 0x4c64], eax
jne 0x4211a2
cmp byte [ebp - 0xf], 0
je 0x4211c5
push ecx
mov ecx, dword [ebx + 0x4df0]
mov edx, esi
or ecx, dword [ebx + 0x4dec]
and ecx, 0xf000
call fcn.0041bcc0
mov edi, dword [ebx + 0x4df4]
add esp, 4
movss xmm0, dword [ebx + 0x18]
mov esi, 1
addss xmm0, dword [ebx + 0x4e00]
movss dword [ebx + 0x4e00], xmm0
test edi, edi
je 0x42135a
cmp dword [ebx + 0x4c64], 3
movss xmm1, dword [0x657a94]
movss xmm2, dword [0x657a7c]
movss xmm6, dword [0x657af8]
jne 0x4212c0
subss xmm0, xmm1
xorps xmm1, xmm1
divss xmm0, xmm2
comiss xmm1, xmm0
ja 0x421223
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [ebx + 0x4e04]
mov edx, esi
maxss xmm7, xmm1
mov ecx, 0x281
push 0
movss dword [ebx + 0x4e04], xmm7
call fcn.00419da0
add esp, 4
mov edx, esi
mov ecx, 0x282
mov bl, al
push 0
call fcn.00419da0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x421284
mov ecx, eax
call fcn.00420ec0
mov ebx, dword [ebp - 8]
movaps xmm7, xmm6
mov edi, dword [ebx + 0x4df4]
mov dword [ebx + 0x4e04], 0x3f800000
jmp 0x421287
mov ebx, dword [ebp - 8]
mov ecx, dword [0x67dc18]
mov edx, 0x279
call fcn.004193d0
cmp byte [eax], 0
je 0x421320
xor edx, edx
mov ecx, 0x279
call fcn.0041bc30
test al, al
je 0x421320
movss xmm1, dword [0x657a94]
movss xmm2, dword [0x657a7c]
test edi, edi
je 0x42135a
cmp dword [ebx + 0x4c64], 2
xorps xmm7, xmm7
jne 0x42135d
movss xmm0, dword [ebx + 0x4e00]
mov edx, 0xf000
mov eax, dword [ebx + 0x4dec]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4df0]
test eax, eax
divss xmm0, xmm2
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf000
comiss xmm7, xmm0
jbe 0x421444
xorps xmm6, xmm6
jmp 0x421448
comiss xmm6, xmm7
seta al
and al, byte [ebx + 0x4e08]
mov byte [ebx + 0x4e08], al
je 0x421343
cmp dword [ebx + 0x4c28], 0
je 0x421343
mov byte [ebp - 0x14], 1
jmp 0x421350
test al, al
jne 0x421350
mov eax, dword [ebx + 0x4df4]
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x4df4], 0
xorps xmm7, xmm7
mov eax, dword [ebp - 0x24]
lea esi, [ebp - 0xc]
mov dword [ebp - 0xc], 0x211
mov dword [ebp - 8], 0x215
mov byte [ebp - 0x10], 0
test al, al
je 0x421394
mov edi, dword [esi]
xor edx, edx
push 0xffffffffffffffff
mov ecx, edi
call fcn.00419da0
add esp, 4
test al, al
jne 0x4214a1
mov eax, dword [ebp - 0x24]
add esi, 4
lea ecx, [ebp - 4]
cmp esi, ecx
jne 0x421375
mov al, byte [ebx + 0x4e08]
mov cl, byte [ebp - 0x10]
test al, al
je 0x4215b0
cmp dword [ebx + 0x4c64], 2
jne 0x4215b0
cmp dword [ebx + 0x2b78], 0
jg 0x4214c0
cmp byte [ebx + 0xd4], 0
jne 0x4214c0
cmp byte [ebx + 0xd5], 0
jne 0x4214c0
cmp byte [ebx + 0xd7], 0
jne 0x4214c0
test cl, cl
jne 0x42140e
movsd xmm0, qword [ebx + 0x4180]
ucomisd xmm0, qword [ebx + 0x4038]
lahf
test ah, 0x44
jnp 0x4214c0
mov ecx, dword [ebx + 0x4e0c]
or edx, 0xffffffff
call fcn.0041bc30
mov esi, dword [0x67dc18]
test al, al
je 0x4214c6
mov edx, 0x4000
mov ecx, esi
call fcn.0040a280
cmp dword [eax], 0xffffffff
je 0x4214cd
jmp 0x4214c6
minss xmm6, xmm0
movss xmm0, dword [ebx + 0x4e04]
mov al, byte [ebp - 0xe]
maxss xmm0, xmm6
movss dword [ebx + 0x4e04], xmm0
test al, al
jne 0x42148b
cmp byte [ebp - 0xf], al
jne 0x42148b
mov eax, dword [ebx + 0xd8]
and eax, edx
and eax, 0xf000
cmp eax, ecx
je 0x42135d
mov eax, dword [ebx + 0x4df4]
mov dword [ebp - 0x1c], eax
jmp 0x42135d
movzx ecx, al
xor ecx, esi
lea ecx, [ecx*2 - 1]
call fcn.00420ec0
jmp 0x42135d
mov cl, 1
mov dword [ebx + 0x4e0c], edi
mov byte [ebx + 0x4e08], cl
mov al, cl
mov dword [ebx + 0x4c64], 2
jmp 0x4213a7
mov esi, dword [0x67dc18]
mov byte [ebx + 0x4e08], 0
mov edi, dword [ebx + 0x4e0c]
mov ecx, esi
mov edx, edi
call fcn.004193d0
comiss xmm7, dword [eax + 8]
ja 0x42158c
cmp byte [eax], 0
jne 0x42158c
xor edx, edx
mov ecx, edi
call fcn.0041bc30
test al, al
je 0x42158c
cmp byte [ebx + 0x4e08], 0
je 0x42158c
cmp dword [ebx + 0x4134], 0
je 0x42151f
cmp byte [ebx + 0x4141], 0
je 0x42158c
lea eax, [ebx + 0xb4]
test eax, eax
jne 0x42152f
lea eax, [esi + 0xb4]
movss xmm0, dword [eax]
movss xmm1, dword [0x657bc8]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x42154e
comiss xmm2, xmm1
jb 0x42154e
mov cl, 1
jmp 0x421550
xor cl, cl
lea eax, [ebx + 0x2a80]
test eax, eax
jne 0x421560
lea eax, [esi + 0xb4]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x421577
comiss xmm2, xmm1
jb 0x421577
mov al, 1
jmp 0x421579
xor al, al
mov edx, dword [ebp - 0x14]
cmp cl, al
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [ebp - 0x14], edx
mov edx, edi
mov ecx, esi
call fcn.004193d0
cmp byte [eax], 0
je 0x4215a7
xor edx, edx
mov ecx, edi
call fcn.0041bc30
test al, al
jne 0x4215b6
mov byte [ebx + 0x4e08], 0
jmp 0x4215b6
mov esi, dword [0x67dc18]
mov eax, dword [ebx + 0x4df4]
test eax, eax
je 0x421754
test byte [eax + 0xc], 4
jne 0x421754
mov eax, dword [ebx + 0x4c64]
cmp eax, 2
jne 0x421617
cmp byte [ebx + 0xd5], 0
jne 0x421754
mov edx, 0x203
mov ecx, esi
call fcn.004193d0
mov edx, 0x201
mov edi, eax
call fcn.004193d0
mov ecx, dword [0x67dc18]
mov edx, 0x202
mov esi, eax
call fcn.004193d0
mov edx, 0x204
jmp 0x42164f
cmp eax, 3
jne 0x421754
mov edx, 0x289
mov ecx, esi
call fcn.004193d0
mov edx, 0x287
mov edi, eax
call fcn.004193d0
mov ecx, dword [0x67dc18]
mov edx, 0x288
mov esi, eax
call fcn.004193d0
mov edx, 0x28a
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.004193d0
ucomiss xmm2, xmm7
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x42167e
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x421754
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x657b88]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4e10]
addss xmm3, dword [ebx + 0x4e14]
movss dword [ebx + 0x4e10], xmm2
movss dword [ebx + 0x4e14], xmm3
mov byte [ebx + 0x4c73], 1
cvttss2si eax, dword [ebx + 0x4e10]
movd xmm5, eax
cvttss2si eax, dword [ebx + 0x4e14]
cvtdq2ps xmm5, xmm5
movd xmm4, eax
ucomiss xmm5, xmm7
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x4216f8
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x421754
mov eax, dword [ebx + 0x4df4]
lea edx, [ebp - 0x28]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x35c]
addss xmm0, dword [ecx + 0x4c]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ecx + 0x50]
addss xmm0, xmm4
movss dword [ebp - 0x24], xmm0
call fcn.00418ce0
movss xmm0, dword [ebx + 0x4e10]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4e10], xmm0
movss xmm0, dword [ebx + 0x4e14]
subss xmm0, xmm4
movss dword [ebx + 0x4e14], xmm0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4217fc
mov eax, dword [ebx + 0x4c28]
test eax, eax
je 0x42177a
cmp esi, dword [eax + 0x354]
je 0x4217f2
mov edi, dword [eax + 0x38]
jmp 0x42177c
xor edi, edi
xor edx, edx
xor ecx, ecx
call fcn.0040e550
mov eax, dword [0x67dc18]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4c71], 1
mov byte [eax + 0x4c73], 1
call fcn.0041d040
mov edx, 1
mov ecx, esi
call fcn.004187f0
mov esi, dword [ebx + 0x4c28]
cmp dword [esi + 0x370], 0
jne 0x4217c7
xor dl, dl
mov ecx, esi
call fcn.0041ea70
cmp word [esi + 0x196], 2
jne 0x4217db
mov dword [ebx + 0x4c34], 1
mov ecx, dword [esi + 0x38]
cmp ecx, edi
je 0x4217f2
mov eax, dword [ebx + 0x3914]
test eax, eax
je 0x4217f2
push ecx
call eax
add esp, 4
mov dword [ebx + 0x4df4], 0
cmp byte [ebp - 0x14], 0
je 0x4218c0
cmp dword [ebx + 0x4c28], 0
je 0x4218c0
xor edx, edx
xor ecx, ecx
call fcn.0040e550
mov edi, dword [ebx + 0x4c28]
mov esi, edi
cmp dword [esi + 0x34c], 0
lea ecx, [esi + 0x34c]
je 0x42185c
test byte [esi + 0x194], 2
jne 0x42185c
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x42185c
mov esi, dword [ecx]
cmp dword [esi + 0x34c], 0
lea ecx, [esi + 0x34c]
jne 0x421833
cmp esi, edi
je 0x421875
xor edx, edx
mov ecx, esi
call fcn.004187f0
mov dword [esi + 0x36c], edi
mov edi, dword [ebx + 0x4c28]
mov ecx, dword [ebx + 0x4c34]
mov edx, ecx
mov al, byte [edi + 0x194]
xor edx, 1
xor ebx, ebx
and al, 2
cmove edx, ebx
cmp edx, ecx
je 0x4218c0
cmp edx, 1
jne 0x4218a4
cmp dword [esi + 0x3dc], ebx
jne 0x4218a4
mov dword [edi + 0x374], ebx
mov ecx, edx
call fcn.0041e920
mov eax, dword [0x67dc18]
mov word [eax + 0x4c71], 1
mov byte [eax + 0x4c73], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b6a10
mov esp, ebp
pop ebp
ret