Function at 0x100479b0
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x2c
mov eax, dword [0x10200e40]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
mov ebp, dword [0x1020f198]
xor eax, eax
push esi
push edi
mov dword [esp + 0x1c], eax
mov byte [esp + 0x14], al
call fcn.10043ac0
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x100479ef
mov dword [ebp + 0x4c00], 0
xor eax, eax
jmp 0x100479f5
mov eax, dword [ebp + 0x4c00]
cmp dword [ebp + 0x4c04], 0
je 0x10047a3e
test eax, eax
jne 0x10047a3e
movss xmm0, dword [ebp + 0x18]
mulss xmm0, dword [0x101f4fcc]
movss xmm1, dword [ebp + 0x4c10]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebp + 0x4c2c]
maxss xmm1, xmm0
movss dword [ebp + 0x4c10], xmm1
jb 0x10047a3e
comiss xmm0, xmm1
jb 0x10047a3e
mov dword [ebp + 0x4c04], eax
or ebx, 0xffffffff
mov edx, 0x101f4025
mov al, 0x23
or esi, 0xffffffff
nop dword [eax + eax]
cmp al, 0x23
jne 0x10047a5e
cmp byte [edx], al
jne 0x10047a5e
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x101ef4a0]
test al, al
jne 0x10047a50
mov eax, dword [ebp + 8]
not ebx
mov esi, dword [0x1020f198]
test al, 2
je 0x10047a91
test byte [ebp + 0xc], 1
mov byte [esp + 0x10], 1
jne 0x10047a96
mov byte [esp + 0x10], 0
and eax, 0xffffff01
mov dword [esp + 0x24], eax
test edi, edi
jne 0x10047b10
mov eax, dword [ebp + 0x4bf8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10047b10
mov edi, ebx
test ebx, ebx
je 0x10047abc
cmp ebx, 0xffffffff
jne 0x10047acd
cmp ebx, 0xffffffff
je 0x10047ac7
mov edi, ebx
test ebx, ebx
jne 0x10047acd
mov edi, dword [esi + 0x48d8]
push 0x11001
mov edx, edi
mov ecx, eax
call fcn.10040c40
add esp, 4
test al, al
je 0x10047b06
mov ecx, dword [esp + 0x20]
mov edx, edi
push 0x11021
call fcn.10042840
add esp, 4
test al, al
je 0x10047b06
mov esi, dword [0x1020f198]
mov byte [esp + 0x12], 1
jmp 0x10047b19
mov esi, dword [0x1020f198]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x12], 0
test edi, edi
jne 0x10047b86
mov eax, dword [ebp + 0x4bfc]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10047b86
mov edi, ebx
test ebx, ebx
je 0x10047b32
cmp ebx, 0xffffffff
jne 0x10047b43
cmp ebx, 0xffffffff
je 0x10047b3d
mov edi, ebx
test ebx, ebx
jne 0x10047b43
mov edi, dword [esi + 0x48d8]
push 0x11001
mov edx, edi
mov ecx, eax
call fcn.10040c40
add esp, 4
test al, al
je 0x10047b80
mov ecx, dword [esp + 0x20]
mov edx, edi
push 0x11021
call fcn.10042840
add esp, 4
test al, al
je 0x10047b80
mov esi, dword [0x1020f198]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x13], 1
jmp 0x10047b93
mov esi, dword [0x1020f198]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x13], 0
test edi, edi
jne 0x10047bcb
cmp byte [esp + 0x10], 0
je 0x10047bcb
cmp dword [ebp + 0x4c00], 0
jne 0x10047bcb
push 0
xor edx, edx
mov ecx, 0x279
call fcn.10040e90
add esp, 4
test al, al
je 0x10047bcb
mov al, byte [esp + 0x13]
mov dl, byte [esp + 0x12]
mov byte [esp + 0x10], 1
mov cl, byte [esp + 0x10]
jmp 0x10047bf1
xor cl, cl
mov byte [esp + 0x10], cl
test edi, edi
jne 0x10047bfd
mov al, byte [esp + 0x13]
mov dl, byte [esp + 0x12]
mov byte [esp + 0x10], cl
mov byte [esp + 0x13], al
mov byte [esp + 0x12], dl
cmp dword [ebp + 0x4c00], edi
jne 0x10047bfd
test dl, dl
jne 0x10047bf9
test al, al
je 0x10047bfd
mov al, 1
jmp 0x10047bff
xor al, al
mov byte [esp + 0x11], al
test cl, cl
jne 0x10047c0f
test al, al
je 0x10047d59
mov eax, dword [ebp + 0x4a38]
test eax, eax
jne 0x10047c3b
mov ecx, dword [ebp + 0x3f4c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.100478a0
add esp, 4
test eax, eax
je 0x10047d59
mov cl, byte [esp + 0x10]
mov eax, dword [eax + 0x30c]
mov dword [ebp + 0x4c04], eax
mov dword [ebp + 0x4c00], eax
movzx eax, byte [esp + 0x11]
xor eax, 1
mov dword [ebp + 0x4c10], 0
add eax, 2
mov dword [ebp + 0x4c0c], 0
cmp byte [esp + 0x12], 0
mov dword [ebp + 0x4c24], 0
mov dword [ebp + 0x4c28], 0
mov dword [ebp + 0x4c1c], 0
mov dword [ebp + 0x4c20], 0
mov byte [ebp + 0x4c14], cl
mov dword [ebp + 0x4a7c], eax
jne 0x10047cb2
cmp byte [esp + 0x13], 0
je 0x10047d59
mov edi, dword [ebp + 0x4bfc]
or edi, dword [ebp + 0x4bf8]
test edi, 0x1000
je 0x10047cdd
mov edx, 0x1000
mov ecx, esi
call fcn.1004ace0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test edi, 0x2000
je 0x10047cfc
mov edx, 0x2000
mov ecx, esi
call fcn.1004ace0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test edi, 0x4000
je 0x10047d1b
mov edx, 0x4000
mov ecx, esi
call fcn.1004ace0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test edi, 0x8000
je 0x10047d3a
mov edx, 0x8000
mov ecx, esi
call fcn.1004ace0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test edi, 0x800
je 0x10047d59
mov edx, 0x800
mov ecx, esi
call fcn.1004ace0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
movss xmm0, dword [ebp + 0x18]
addss xmm0, dword [ebp + 0x4c0c]
mov edi, dword [ebp + 0x4c00]
movss xmm1, dword [0x101f4eec]
movss xmm2, dword [0x101f4ecc]
movss xmm6, dword [0x101f4f54]
movss dword [ebp + 0x4c0c], xmm0
test edi, edi
je 0x10047e69
cmp dword [ebp + 0x4a7c], 3
jne 0x10047ed2
subss xmm0, xmm1
xorps xmm1, xmm1
divss xmm0, xmm2
comiss xmm1, xmm0
ja 0x10047db8
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [ebp + 0x4c10]
xor edx, edx
maxss xmm7, xmm1
mov ecx, 0x282
push 1
movss dword [ebp + 0x4c10], xmm7
call fcn.10040e90
add esp, 4
xor edx, edx
mov ecx, 0x281
mov bl, al
push 1
call fcn.10040e90
movzx ecx, al
add esp, 4
movzx eax, bl
sub ecx, eax
je 0x10047e12
call fcn.10047910
mov edi, dword [ebp + 0x4c00]
movaps xmm7, xmm6
mov dword [ebp + 0x4c10], 0x3f800000
mov edx, 0x279
mov ecx, esi
call fcn.100407d0
cmp byte [eax], 0
je 0x10047e37
mov edx, 0x279
call fcn.1004ace0
cmp byte [eax + 8], 0
je 0x10047ebe
comiss xmm6, xmm7
seta al
and byte [ebp + 0x4c14], al
je 0x10047e55
cmp dword [ebp + 0x4a38], 0
je 0x10047e5f
mov byte [esp + 0x14], 1
jmp 0x10047e5f
mov eax, dword [ebp + 0x4c00]
mov dword [esp + 0x1c], eax
mov dword [ebp + 0x4c00], 0
xorps xmm7, xmm7
mov ebx, dword [esp + 0x24]
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], 0x211
mov edi, 0x211
mov dword [esp + 0x30], 0x215
nop dword [eax]
test bl, bl
je 0x10047eab
push 0
or edx, 0xffffffff
mov ecx, edi
call fcn.10040e90
add esp, 4
test al, al
jne 0x10047f80
add esi, 4
lea eax, [esp + 0x34]
cmp esi, eax
je 0x10047f97
mov edi, dword [esi]
jmp 0x10047e90
movss xmm1, dword [0x101f4eec]
movss xmm2, dword [0x101f4ecc]
test edi, edi
je 0x10047e69
cmp dword [ebp + 0x4a7c], 2
xorps xmm7, xmm7
jne 0x10047e6c
movss xmm0, dword [ebp + 0x4c0c]
mov edx, 0xf800
mov eax, dword [ebp + 0x4bf8]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebp + 0x4bfc]
test eax, eax
divss xmm0, xmm2
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x10047f1f
xorps xmm6, xmm6
jmp 0x10047f23
minss xmm6, xmm0
movss xmm0, dword [ebp + 0x4c10]
mov al, byte [esp + 0x12]
maxss xmm0, xmm6
movss dword [ebp + 0x4c10], xmm0
test al, al
jne 0x10047f69
cmp byte [esp + 0x13], al
jne 0x10047f69
mov eax, dword [ebp + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10047e6c
mov eax, dword [ebp + 0x4c00]
mov dword [esp + 0x1c], eax
jmp 0x10047e6c
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.10047910
jmp 0x10047e6c
mov byte [ebp + 0x4c14], 1
mov dword [ebp + 0x4c18], edi
mov dword [ebp + 0x4a7c], 2
cmp byte [ebp + 0x4c14], 0
mov edi, 1
je 0x100481b8
cmp dword [ebp + 0x4a7c], 2
jne 0x100481b8
cmp dword [ebp + 0x3898], 0
jg 0x10047fda
cmp byte [ebp + 0xe1c], 0
jne 0x10047fda
cmp byte [ebp + 0xe1d], 0
jne 0x10047fda
cmp byte [ebp + 0xe1f], 0
je 0x10047fe1
mov byte [ebp + 0x4c14], 0
mov edx, dword [ebp + 0x4c18]
cmp edx, 0x200
jl 0x10047ff7
cmp edx, 0x29a
jl 0x1004801f
cmp edx, 0x1000
je 0x1004801f
cmp edx, 0x2000
je 0x1004801f
cmp edx, 0x4000
je 0x1004801f
cmp edx, 0x8000
je 0x1004801f
cmp edx, 0x800
jne 0x1004804e
mov ecx, dword [0x1020f198]
cmp byte [ecx + 0x48cc], 0
je 0x10048042
cmp dword [ecx + 0x3fdc], 0xffffffff
je 0x10048042
lea eax, [edx - 0x200]
cmp eax, 0x76
jbe 0x10048063
call fcn.1004ace0
cmp dword [eax], 0xffffffff
jne 0x10048063
jmp 0x10048054
mov ecx, dword [0x1020f198]
mov edx, 0x4000
call fcn.1004ace0
cmp dword [eax], 0xffffffff
je 0x1004806a
mov byte [ebp + 0x4c14], 0
mov esi, dword [ebp + 0x4c18]
mov edx, esi
call fcn.100407d0
comiss xmm7, dword [eax + 8]
ja 0x10048158
cmp byte [eax], 0
jne 0x10048158
cmp esi, 0x200
jl 0x1004809a
cmp esi, 0x29a
jl 0x100480c2
cmp esi, 0x1000
je 0x100480c2
cmp esi, 0x2000
je 0x100480c2
cmp esi, 0x4000
je 0x100480c2
cmp esi, 0x8000
je 0x100480c2
cmp esi, 0x800
jne 0x100480d3
mov edx, esi
call fcn.1004ace0
cmp byte [eax + 8], 0
jne 0x10048158
cmp byte [ebp + 0x4c14], 0
je 0x10048158
cmp dword [ebp + 0x3fdc], 0
je 0x100480ee
cmp byte [ebp + 0x3fe9], 0
je 0x10048158
lea eax, [ebp + 0xe00]
test eax, eax
jne 0x100480fe
lea eax, [ecx + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x101f508c]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1004811d
comiss xmm2, xmm1
jb 0x1004811d
mov dl, 1
jmp 0x1004811f
xor dl, dl
lea eax, [ebp + 0x37c8]
test eax, eax
jne 0x1004812f
lea eax, [ecx + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10048146
comiss xmm2, xmm1
jb 0x10048146
mov al, 1
jmp 0x10048148
xor al, al
mov ebx, dword [esp + 0x14]
cmp dl, al
movzx ebx, bl
cmove ebx, edi
mov dword [esp + 0x14], ebx
mov esi, dword [ebp + 0x4c18]
mov edx, esi
call fcn.100407d0
cmp byte [eax], 0
je 0x100481af
cmp esi, 0x200
jl 0x1004817a
cmp esi, 0x29a
jl 0x100481a2
cmp esi, 0x1000
je 0x100481a2
cmp esi, 0x2000
je 0x100481a2
cmp esi, 0x4000
je 0x100481a2
cmp esi, 0x8000
je 0x100481a2
cmp esi, 0x800
jne 0x100481be
mov edx, esi
call fcn.1004ace0
cmp byte [eax + 8], 0
je 0x100481be
mov byte [ebp + 0x4c14], 0
jmp 0x100481be
mov ecx, dword [0x1020f198]
mov eax, dword [ebp + 0x4c00]
test eax, eax
je 0x1004834b
test byte [eax + 0xc], 4
jne 0x1004834b
mov eax, dword [ebp + 0x4a7c]
cmp eax, 2
jne 0x10048217
cmp byte [ebp + 0xe1d], 0
jne 0x1004834b
mov edx, 0x203
call fcn.100407d0
mov edx, 0x201
mov edi, eax
call fcn.100407d0
mov edx, 0x202
mov esi, eax
call fcn.100407d0
mov edx, 0x204
jmp 0x10048247
cmp eax, 3
jne 0x1004834b
mov edx, 0x289
call fcn.100407d0
mov edx, 0x287
mov edi, eax
call fcn.100407d0
mov edx, 0x288
mov esi, eax
call fcn.100407d0
mov edx, 0x28a
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.100407d0
ucomiss xmm2, xmm7
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x10048276
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x10048346
movss xmm1, dword [ebp + 0x3c]
movss xmm0, dword [ebp + 0x18]
minss xmm1, dword [ebp + 0x40]
mulss xmm0, dword [0x101f5028]
mov byte [ebp + 0x4a93], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebp + 0x4c1c]
addss xmm3, dword [ebp + 0x4c20]
cvttss2si eax, xmm2
movss dword [ebp + 0x4c1c], xmm2
movss dword [ebp + 0x4c20], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x100482e8
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x10048346
mov eax, dword [ebp + 0x4c00]
lea edx, [esp + 0x24]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x30c]
addss xmm0, dword [ecx + 0x18]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x1c]
movss dword [esp + 0x2c], xmm0
call fcn.10040310
movss xmm0, dword [ebp + 0x4c1c]
add esp, 4
subss xmm0, xmm5
movss dword [ebp + 0x4c1c], xmm0
movss xmm0, dword [ebp + 0x4c20]
subss xmm0, xmm4
movss dword [ebp + 0x4c20], xmm0
mov edi, 1
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x100483cb
mov eax, dword [ebp + 0x4a38]
test eax, eax
je 0x10048365
cmp ebx, dword [eax + 0x30c]
je 0x100483c1
xor edx, edx
xor ecx, ecx
call fcn.10037270
mov eax, dword [0x1020f198]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.10043cc0
mov edx, edi
mov ecx, ebx
call fcn.1003fc20
mov esi, dword [ebp + 0x4a38]
cmp dword [esi + 0x324], 0
jne 0x100483ad
xor dl, dl
mov ecx, esi
call fcn.10045460
cmp word [esi + 0x156], 2
jne 0x100483c1
mov dword [ebp + 0x4a80], 1
mov dword [ebp + 0x4c00], 0
cmp byte [esp + 0x14], 0
je 0x10048490
cmp dword [ebp + 0x4a38], 0
je 0x10048490
xor edx, edx
xor ecx, ecx
call fcn.10037270
mov esi, dword [ebp + 0x4a38]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
je 0x1004842a
test byte [esi + 0x154], 2
jne 0x1004842a
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1004842a
mov esi, dword [ecx]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
jne 0x10048401
mov edi, dword [ebp + 0x4a38]
cmp esi, edi
je 0x10048443
xor edx, edx
mov ecx, esi
call fcn.1003fc20
mov dword [esi + 0x320], edi
mov eax, dword [ebp + 0x4a38]
test byte [eax + 0x154], 2
je 0x1004845d
mov ecx, dword [ebp + 0x4a80]
xor ecx, 1
jmp 0x1004845f
xor ecx, ecx
cmp ecx, dword [ebp + 0x4a80]
je 0x10048490
cmp ecx, 1
jne 0x10048476
mov dword [eax + 0x328], 0
call fcn.10045380
mov eax, dword [0x1020f198]
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10109e3a
add esp, 0x2c
ret