Function at 0x4159b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x450100]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 8], al
call fcn.00410780
mov edi, eax
test edi, edi
je 0x4159e3
mov dword [ebx + 0x4c08], 0
xor ecx, ecx
jmp 0x4159e9
mov ecx, dword [ebx + 0x4c08]
cmp dword [ebx + 0x4c0c], 0
je 0x415a32
test ecx, ecx
jne 0x415a32
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x4391c8]
movss xmm1, dword [ebx + 0x4c18]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4c34]
maxss xmm1, xmm0
movss dword [ebx + 0x4c18], xmm1
jb 0x415a32
comiss xmm0, xmm1
jb 0x415a32
mov dword [ebx + 0x4c0c], ecx
or edx, 0xffffffff
mov esi, 0x438f7d
mov al, 0x23
or ebx, 0xffffffff
nop
cmp al, 0x23
jne 0x415a4e
cmp byte [esi], al
jne 0x415a4e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x437848]
test al, al
jne 0x415a40
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x415a80
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x415a84
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x415ab3
mov eax, dword [ebx + 0x4c00]
test eax, eax
je 0x415ab3
push 0x10001
push edx
push eax
call fcn.0041b580
add esp, 0xc
test al, al
je 0x415ab3
mov byte [ebp - 1], 1
jmp 0x415abb
mov byte [ebp - 1], 0
test edi, edi
jne 0x415ae1
mov eax, dword [ebx + 0x4c04]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x415ae4
push 0x10001
push esi
push eax
call fcn.0041b580
add esp, 0xc
test al, al
je 0x415ae4
mov byte [ebp - 2], 1
jmp 0x415aec
mov esi, dword [ebp - 0xc]
mov byte [ebp - 2], 0
test edi, edi
jne 0x415b1f
cmp byte [ebp - 3], 0
je 0x415b1f
cmp dword [ebx + 0x4c08], 0
jne 0x415b1f
push 0
push 0
push 0x279
call fcn.00411a60
add esp, 0xc
test al, al
je 0x415b1f
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x415b3f
xor dl, dl
mov byte [ebp - 3], dl
test edi, edi
jne 0x415b4b
mov cl, byte [ebp - 2]
mov al, byte [ebp - 1]
mov byte [ebp - 3], dl
mov byte [ebp - 2], cl
mov byte [ebp - 1], al
cmp dword [ebx + 0x4c08], edi
jne 0x415b4b
test al, al
jne 0x415b47
test cl, cl
je 0x415b4b
mov al, 1
jmp 0x415b4d
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x415b5c
test al, al
je 0x415c15
mov eax, dword [ebx + 0x4a44]
test eax, eax
jne 0x415b88
mov eax, dword [ebx + 0x3f54]
push 0xffffffffffffffff
dec eax
push 0x80000001
push eax
call fcn.0040f950
add esp, 0xc
test eax, eax
je 0x415c15
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x30c]
mov dword [ebx + 0x4c0c], eax
mov dword [ebx + 0x4c08], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4c18], 0
add eax, 2
mov dword [ebx + 0x4c14], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4c2c], 0
mov dword [ebx + 0x4c30], 0
mov dword [ebx + 0x4c24], 0
mov dword [ebx + 0x4c28], 0
mov byte [ebx + 0x4c1c], dl
mov dword [ebx + 0x4a88], eax
jne 0x415bf8
cmp byte [ebp - 2], 0
je 0x415c15
mov eax, dword [ebx + 0x4c04]
or eax, dword [ebx + 0x4c00]
push 0
and eax, 0xf800
push esi
push eax
call fcn.0041a990
add esp, 0xc
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4c14]
mov esi, dword [ebx + 0x4c08]
movss xmm3, dword [0x439164]
movss xmm4, dword [0x439154]
movss xmm1, dword [0x4391a0]
movss dword [ebx + 0x4c14], xmm0
test esi, esi
je 0x415e0b
cmp dword [ebx + 0x4a88], 3
jne 0x415d64
subss xmm0, xmm3
xorps xmm2, xmm2
divss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x415c72
xorps xmm1, xmm1
jmp 0x415c76
minss xmm1, xmm0
movss xmm0, dword [ebx + 0x4c18]
maxss xmm0, xmm1
push 1
push 0
push 0x282
movss dword [ebp - 0xc], xmm0
movss dword [ebx + 0x4c18], xmm0
call fcn.00411a60
push 1
push 0
push 0x281
mov bl, al
call fcn.00411a60
movzx ecx, al
add esp, 0x18
movzx eax, bl
sub ecx, eax
je 0x415ce3
push ecx
call fcn.00416320
mov ebx, dword [ebp - 0x10]
add esp, 4
movss xmm1, dword [0x4391a0]
movaps xmm0, xmm1
mov esi, dword [ebx + 0x4c08]
mov dword [ebx + 0x4c18], 0x3f800000
jmp 0x415cf3
movss xmm1, dword [0x4391a0]
movss xmm0, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x450100]
cmp byte [eax + 0x2870], 0
je 0x415d0a
cmp byte [eax + 0x4600], 0
je 0x415d4c
comiss xmm1, xmm0
seta al
and byte [ebx + 0x4c1c], al
je 0x415d34
cmp dword [ebx + 0x4a44], 0
je 0x415d3d
mov byte [ebp - 8], 1
mov dword [ebx + 0x4c08], 0
jmp 0x415e0b
mov eax, dword [ebx + 0x4c08]
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x4c08], 0
jmp 0x415e0b
movss xmm3, dword [0x439164]
movss xmm4, dword [0x439154]
test esi, esi
je 0x415e0b
cmp dword [ebx + 0x4a88], 2
jne 0x415e0b
movss xmm2, dword [ebx + 0x4c14]
mov edx, 0xf800
mov eax, dword [ebx + 0x4c00]
subss xmm2, xmm3
test eax, eax
mov ecx, edx
xorps xmm0, xmm0
cmovne ecx, eax
mov eax, dword [ebx + 0x4c04]
test eax, eax
divss xmm2, xmm4
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm0, xmm2
jbe 0x415db5
xorps xmm1, xmm1
jmp 0x415db9
minss xmm1, xmm2
movss xmm0, dword [ebx + 0x4c18]
mov al, byte [ebp - 1]
maxss xmm0, xmm1
movss dword [ebx + 0x4c18], xmm0
test al, al
jne 0x415df5
cmp byte [ebp - 2], al
jne 0x415df5
mov eax, dword [ebx + 0xdc]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x415e0b
mov eax, dword [ebx + 0x4c08]
mov dword [ebp - 0x14], eax
jmp 0x415e0b
movzx eax, al
xor eax, 1
lea eax, [eax*2 - 1]
push eax
call fcn.00416320
add esp, 4
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x24]
mov dword [ebp - 0x24], 0x211
mov edi, 0x211
mov dword [ebp - 0x20], 0x215
test al, al
je 0x415e3c
push 0
push 0xffffffffffffffff
push edi
call fcn.00411a60
add esp, 0xc
test al, al
jne 0x415e4a
mov eax, dword [ebp - 0x18]
add esi, 4
lea ecx, [ebp - 0x1c]
cmp esi, ecx
je 0x415e61
mov edi, dword [esi]
jmp 0x415e24
mov byte [ebx + 0x4c1c], 1
mov dword [ebx + 0x4c20], edi
mov dword [ebx + 0x4a88], 2
cmp byte [ebx + 0x4c1c], 0
je 0x41604d
cmp dword [ebx + 0x4a88], 2
jne 0x41604d
cmp dword [ebx + 0x2b58], 0
jg 0x415e9f
cmp byte [ebx + 0xd8], 0
jne 0x415e9f
cmp byte [ebx + 0xd9], 0
jne 0x415e9f
cmp byte [ebx + 0xdb], 0
je 0x415ea6
mov byte [ebx + 0x4c1c], 0
mov ecx, dword [ebx + 0x4c20]
cmp ecx, 0x200
jl 0x415ebc
cmp ecx, 0x29a
jl 0x415ee4
cmp ecx, 0x1000
je 0x415ee4
cmp ecx, 0x2000
je 0x415ee4
cmp ecx, 0x4000
je 0x415ee4
cmp ecx, 0x8000
je 0x415ee4
cmp ecx, 0x800
jne 0x415f28
mov esi, dword [0x450100]
cmp byte [esi + 0x48d4], 0
je 0x415f07
cmp dword [esi + 0x3fe4], 0xffffffff
je 0x415f07
lea eax, [ecx - 0x200]
cmp eax, 0x76
jbe 0x415f36
test ecx, 0xf800
je 0x415f1b
push ecx
push esi
call fcn.0040dc50
add esp, 8
mov ecx, eax
lea eax, [ecx + ecx*2]
cmp dword [esi + eax*4 + 0x284c], 0xffffffff
jne 0x415f36
mov eax, dword [0x450100]
cmp dword [eax + 0x476c], 0xffffffff
je 0x415f3d
mov byte [ebx + 0x4c1c], 0
mov esi, dword [ebx + 0x4c20]
mov eax, esi
mov edi, dword [0x450100]
test esi, 0xf800
je 0x415f5d
push esi
push edi
call fcn.0040dc50
add esp, 8
cmp eax, 0x1ff
ja 0x415f71
mov ecx, dword [edi + eax*4 + 0x2b64]
cmp ecx, 0xffffffff
cmovne eax, ecx
add eax, 0xe
xorps xmm0, xmm0
add eax, eax
comiss xmm0, dword [edi + eax*8 + 8]
ja 0x416035
cmp byte [edi + eax*8], 0
jne 0x416035
push 0
push esi
call fcn.0041bf40
add esp, 8
test al, al
je 0x416035
cmp byte [ebx + 0x4c1c], 0
je 0x416035
cmp dword [ebx + 0x3fe4], 0
je 0x415fc0
cmp byte [ebx + 0x3ff1], 0
je 0x416035
lea eax, [ebx + 0xbc]
test eax, eax
jne 0x415fd4
mov eax, dword [0x450100]
add eax, 0xbc
movss xmm0, dword [eax]
movss xmm1, dword [0x4391fc]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x415ff3
comiss xmm2, xmm1
jb 0x415ff3
mov cl, 1
jmp 0x415ff5
xor cl, cl
lea eax, [ebx + 0x2a84]
test eax, eax
jne 0x416009
mov eax, dword [0x450100]
add eax, 0xbc
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x416020
comiss xmm2, xmm1
jb 0x416020
mov al, 1
jmp 0x416022
xor al, al
mov edx, dword [ebp - 8]
cmp cl, al
movzx edx, dl
mov esi, 1
cmove edx, esi
mov dword [ebp - 8], edx
push dword [ebx + 0x4c20]
call fcn.00411950
add esp, 4
test al, al
jne 0x41604d
mov byte [ebx + 0x4c1c], al
mov eax, dword [ebx + 0x4c08]
test eax, eax
je 0x4161c3
test byte [eax + 0xc], 4
jne 0x4161c3
mov eax, dword [ebx + 0x4a88]
xorps xmm4, xmm4
xorps xmm2, xmm2
xorps xmm3, xmm3
cmp eax, 2
jne 0x4160a9
cmp byte [ebx + 0xd9], 0
jne 0x4160d3
mov eax, dword [0x450100]
movss xmm3, dword [eax + 0x212c]
movss xmm2, dword [eax + 0x210c]
subss xmm3, dword [eax + 0x211c]
subss xmm2, dword [eax + 0x20fc]
jmp 0x4160d3
cmp eax, 3
jne 0x4160d3
mov eax, dword [0x450100]
movss xmm3, dword [eax + 0x298c]
movss xmm2, dword [eax + 0x296c]
subss xmm3, dword [eax + 0x297c]
subss xmm2, dword [eax + 0x295c]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x4160e9
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jnp 0x4161c3
movss xmm1, dword [ebx + 0x3c]
minss xmm1, dword [ebx + 0x40]
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x4391ec]
mov byte [ebx + 0x4a9b], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4c24]
addss xmm3, dword [ebx + 0x4c28]
cvttss2si esi, xmm2
cvttss2si edi, xmm3
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm4
movss dword [ebx + 0x4c24], xmm2
movss dword [ebx + 0x4c28], xmm3
lahf
cvtdq2ps xmm1, xmm1
test ah, 0x44
jp 0x41615b
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x4161c3
mov eax, dword [ebx + 0x4c08]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov eax, dword [eax + 0x30c]
push eax
addss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x18], xmm0
call fcn.0041b300
movss xmm0, dword [ebx + 0x4c24]
add esp, 0xc
movd xmm1, esi
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [ebx + 0x4c24], xmm0
movss xmm0, dword [ebx + 0x4c28]
subss xmm0, xmm1
movss dword [ebx + 0x4c28], xmm0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x416245
mov eax, dword [ebx + 0x4a44]
test eax, eax
je 0x4161dc
cmp esi, dword [eax + 0x30c]
je 0x41623b
push 0
push 0
call fcn.0041a480
mov eax, dword [0x450100]
push 0
push esi
mov word [eax + 0x4a99], 1
mov byte [eax + 0x4a9b], 1
call fcn.0040d8e0
push 1
push esi
call fcn.0040fb40
mov esi, dword [ebx + 0x4a44]
add esp, 0x18
cmp dword [esi + 0x324], 0
jne 0x416227
push 0
push esi
call fcn.00412f20
add esp, 8
cmp word [esi + 0x156], 2
jne 0x41623b
mov dword [ebx + 0x4a8c], 1
mov dword [ebx + 0x4c08], 0
cmp byte [ebp - 8], 0
je 0x416315
cmp dword [ebx + 0x4a44], 0
je 0x416315
push 0
push 0
call fcn.0041a480
mov esi, dword [ebx + 0x4a44]
add esp, 8
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
je 0x4162a9
nop dword [eax]
test byte [esi + 0x154], 2
jne 0x4162a9
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x4162a9
mov esi, dword [ecx]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
jne 0x416280
mov edi, dword [ebx + 0x4a44]
cmp esi, edi
je 0x4162c4
push 0
push esi
call fcn.0040fb40
add esp, 8
mov dword [esi + 0x320], edi
mov ecx, dword [ebx + 0x4a44]
test byte [ecx + 0x154], 2
je 0x4162de
mov eax, dword [ebx + 0x4a8c]
xor eax, 1
jmp 0x4162e0
xor eax, eax
cmp eax, dword [ebx + 0x4a8c]
je 0x416315
cmp eax, 1
jne 0x4162f7
mov dword [ecx + 0x328], 0
push eax
call fcn.00413b00
mov eax, dword [0x450100]
add esp, 4
mov word [eax + 0x4a99], 1
mov byte [eax + 0x4a9b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret