Function at 0x10037ea7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xlatb
movss xmm0, dword [esp + 0x9c]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x10037946
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x108]
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0xe8]
call fcn.1001f0c0
movss xmm3, dword [esp + 0x74]
add esp, 0xc
movss xmm4, dword [esp + 0xa4]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0x9c]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xa0]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
movaps xmm0, xmm4
mulss xmm3, xmm1
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x1012a3c4]
movaps xmm2, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
movss xmm3, dword [0x1012a2d4]
subss xmm2, xmm0
movss dword [esp + 0x5c], xmm3
comiss xmm3, xmm2
movaps xmm0, xmm2
subss xmm0, xmm6
jbe 0x100379d4
movaps xmm5, xmm3
movss dword [esp + 0x78], xmm3
jmp 0x100379e1
movaps xmm5, xmm1
minss xmm5, xmm2
movss dword [esp + 0x78], xmm5
divss xmm0, xmm5
comiss xmm3, xmm0
ja 0x100379f7
movaps xmm3, xmm1
minss xmm3, xmm0
movss dword [esp + 0x5c], xmm3
mov byte [esp + 0xa], 1
mov byte [esp + 9], 1
jmp 0x10037a0b
test byte [esp + 0x10], 8
jne 0x10037a17
call fcn.10024d20
movss xmm2, dword [esp + 0x14]
movss xmm6, dword [esp + 0x18]
movss xmm7, dword [esp + 0x38]
cmp dword [esp + 0xc4], 0x200
jne 0x10037d67
mov ecx, dword [0x10138e58]
lea edx, [esp + 0x100]
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x100], xmm7
movss dword [esp + 0x104], xmm6
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
mov ecx, str.alpha
movss dword [eax + 0xd8], xmm0
movss dword [eax + 0xdc], xmm2
movss xmm1, dword [eax + 0xf0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xf4]
maxss xmm0, xmm2
movss dword [eax + 0xf0], xmm1
movss dword [eax + 0xf4], xmm0
call fcn.1002ad80
mov eax, dword [0x10138e58]
mov ecx, dword [eax + 0x1824]
test ecx, ecx
je 0x10037d67
mov eax, dword [eax + 0x1804]
cmp ecx, dword [eax + 0x110]
mov ecx, dword [esp + 0xc]
jne 0x10037d6b
movss xmm3, dword [ecx + 0xd4]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [0x1012a3c4]
subss xmm3, dword [esp + 0x14]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10037d49
xorps xmm4, xmm4
jmp 0x10037d50
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 9], 1
movss dword [eax + 0xc], xmm0
jmp 0x10037d6b
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x20], edx
jne 0x10037d96
movss xmm1, dword [ecx + 0x1438]
xorps xmm0, xmm0
call fcn.10039dd0
call fcn.10039b40
mov eax, dword [esp + 0x10]
test al, al
js 0x10037dfa
mov ecx, dword [esp + 0x84]
cmp ecx, 0xffffffff
jae 0x10037dfa
mov dl, byte [ecx]
test dl, dl
je 0x10037dbc
cmp dl, 0x23
jne 0x10037db6
cmp byte [ecx + 1], dl
je 0x10037dbc
inc ecx
cmp ecx, 0xffffffff
jb 0x10037da6
mov eax, dword [esp + 0x84]
mov dword [esp + 0x50], ecx
cmp eax, ecx
je 0x10037dfa
cmp dword [esp + 0x20], 0
je 0x10037df1
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1438]
call fcn.10039dd0
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x84]
mov edx, ecx
mov ecx, eax
call fcn.10029dd0
cmp dword [esp + 0x20], 0
jne 0x10037f91
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0x1c]
je 0x10037e1a
movss xmm1, dword [0x1012a3c4]
jmp 0x10037e1f
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [eax + 8]
push str.Current
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x110], xmm1
call fcn.10029c90
movss xmm1, dword [esp + 0x3c]
lea edx, [esp + 0x104]
mov eax, dword [esp + 0x14]
movaps xmm0, xmm1
mulss xmm0, dword [0x1012a56c]
add esp, 4
and eax, 0x1c40
mov ecx, str.current
mov dword [esp + 0xcc], eax
movss dword [esp + 0xd4], xmm0
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xd8], xmm0
add byte [eax], al
add bh, bh
mov ah, 0x24
fadd dword [eax]
add byte [eax], al
movss dword [esp + 0x90], xmm0
push dword [esp + 0xd8]
push eax
call fcn.10034c50
add esp, 0xc
cmp dword [esp + 0x54], 0
je 0x10037f8c
push str.Original
call fcn.10029c90
mov eax, dword [esp + 0x58]
add esp, 4
cmp dword [esp + 0x60], 0
je 0x10037ef7
movss xmm1, dword [0x1012a3c4]
jmp 0x10037efc
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x12c]
movss dword [esp + 0x12c], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x130], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x134], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0x13c], xmm1
push dword [esp + 0x34]
push dword [esp + 0xd4]
call fcn.10034c50
add esp, 0xc
test al, al
je 0x10037f8c
push dword [esp + 0x98]
push dword [esp + 0x58]
push dword [esp + 0x24]
call fcn.100c58f0
add esp, 0xc
mov byte [esp + 9], 1
call fcn.10039c50
cmp byte [esp + 0xb], 0
jne 0x10037f9f
cmp byte [esp + 0xa], 0
je 0x10037ffd
movss xmm1, dword [esp + 0x78]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10037fb2
movaps xmm3, xmm1
jmp 0x10037fba
movss xmm3, dword [0x1012a2c4]
movss xmm1, dword [esp + 0x5c]
comiss xmm1, xmm0
movss xmm2, dword [0x1012a2c8]
ja 0x10037fd0
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x2c]
comiss xmm0, dword [0x1012a3c4]
jb 0x10037fe3
subss xmm0, xmm2
push dword [esp + 0x4c]
mov edx, dword [esp + 0x80]
movaps xmm2, xmm3
mov ecx, dword [esp + 0x20]
call fcn.1001fab0
add esp, 4
test byte [esp + 0x10], 0x20
jne 0x100381cc
cmp dword [esp + 0xc4], 0x200
jne 0x10038020
movss xmm0, dword [esp + 0xc0]
jmp 0x10038029
movss xmm0, dword [esp + 0xac]
addss xmm0, dword [esp + 0x38]
mov ecx, dword [0x10138e58]
subss xmm0, dword [esp + 0x24]
mov eax, dword [ecx + 0x1804]
ucomiss xmm0, dword [0x1012a2b4]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
mov dword [esp + 0x20], ecx
lahf
test ah, 0x44
jp 0x10038067
movss xmm0, dword [ecx + 0x1e4]
movss dword [ecx + 0x144], xmm0
add ecx, 0x158
mov dword [esp + 0x8c], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x100380b3
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x1003809c
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100380a1
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003ae30
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x144]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x20]
inc dword [eax + 0x158]
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0x31c1a
mov dword [esp + 0x20], edx
test eax, 0x2000
jne 0x100380fa
mov ecx, eax
and ecx, 0xe000
mov dword [esp + 0x54], ecx
jne 0x1003812b
mov dword [esp + 0x54], ecx
jmp 0x10038103
and eax, 0xe000
mov dword [esp + 0x54], eax
or edx, 0x2004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x20]
call fcn.10035df0
mov ecx, dword [esp + 0x58]
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
test eax, 0x4000
jne 0x10038136
test ecx, ecx
jne 0x1003815a
or edx, 0x4004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x20]
call fcn.10035df0
mov ecx, dword [esp + 0x58]
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0x10]
test eax, 0x8000
jne 0x10038165
test ecx, ecx
jne 0x10038184
mov eax, dword [esp + 0x20]
mov ecx, str.hex
mov edx, dword [esp + 0x1c]
or eax, 0x8004
push eax
call fcn.10035df0
add esp, 4
or byte [esp + 9], al
mov ecx, dword [0x10138e58]
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [ecx + 0x1804]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x100381b8
movss xmm0, dword [ecx + 0x1e4]
jmp 0x100381c4
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x144], xmm0
cmp byte [esp + 9], 0
je 0x100382ca
mov ecx, dword [esp + 0x1c]
xorps xmm2, xmm2
movss xmm3, dword [ecx + 4]
lea eax, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea edx, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
xorps xmm6, xmm6
jbe 0x1003820b
movss xmm6, dword [0x1012a88c]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10038228
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1012a874]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1012a2c0]
movaps xmm7, xmm1
mulss xmm1, dword [0x1012a5c8]
divss xmm7, xmm0
addss xmm1, dword [0x1012a2c0]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x1012c190]
comiss xmm2, xmm3
jb 0x100382ca
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm2
jbe 0x100382ca
comiss xmm2, xmm4
jb 0x100382a9
movss xmm1, dword [esp + 0x78]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100382a6
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x5c]
mulss xmm2, dword [0x1012a360]
push edx
lea edx, [ecx + 4]
jmp 0x100382c2
lea eax, [ecx + 4]
comiss xmm2, xmm7
jb 0x100382ca
movss xmm1, dword [esp + 0x5c]
movaps xmm2, xmm4
mulss xmm1, dword [0x1012a360]
push edx
mov edx, eax
call fcn.1001fab0
add esp, 4
movaps xmm0, xmmword [0x1012c130]
lea eax, [esp + 0x108]
movss xmm2, dword [0x1012a3c4]
lea edx, [esp + 0x104]
movaps xmmword [esp + 0x100], xmm0
lea ecx, [esp + 0x100]
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm2
push eax
call fcn.1001fab0
movaps xmm3, xmmword [esp + 0x104]
xorps xmm1, xmm1
movss xmm2, dword [0x1012a3c4]
add esp, 4
comiss xmm1, xmm3
jbe 0x10038325
xorps xmm0, xmm0
jmp 0x1003832c
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm4, dword [0x1012a760]
movaps xmm5, xmm3
movss xmm6, dword [0x1012a360]
mulss xmm0, xmm4
shufps xmm5, xmm3, 0x55
comiss xmm1, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10038359
xorps xmm0, xmm0
jmp 0x10038360
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
movaps xmm5, xmm3
shufps xmm5, xmm3, 0xaa
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x10038382
xorps xmm0, xmm0
jmp 0x10038389
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
movaps xmm5, xmm3
shufps xmm5, xmm3, 0xff
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x100383ab
xorps xmm0, xmm0
jmp 0x100383b2
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x1c]
movss xmm5, dword [eax]
comiss xmm1, xmm5
mov eax, dword [esp + 0x7c]
movss xmm6, dword [eax]
mov eax, dword [esp + 0x4c]
movss xmm7, dword [eax]
jbe 0x100383ec
xorps xmm0, xmm0
jmp 0x100383f3
movaps xmm0, xmm2
minss xmm0, xmm5
comiss xmm1, xmm6
movss xmm5, dword [0x1012a360]
adc byte [0x1012a360], ch
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x10038411
xorps xmm0, xmm0
jmp 0x10038418
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x10038433
xorps xmm0, xmm0
jmp 0x1003843a
movaps xmm0, xmm2
minss xmm0, xmm7
mulss xmm0, xmm4
mov dword [esp + 0xe4], 0xff0000ff
mov dword [esp + 0xe8], 0xff00ffff
mov dword [esp + 0xec], 0xff00ff00
addss xmm0, xmm5
mov dword [esp + 0xf0], 0xffffff00
mov dword [esp + 0xf4], 0xffff0000
mov dword [esp + 0xf8], 0xffff00ff
mov dword [esp + 0xfc], 0xff0000ff
mov dword [esp + 0x58], 0
cvttss2si eax, xmm0
mov dword [esp + 0x54], 0
shl eax, 0x10
or ecx, eax
or ecx, 0xff000000
cmp dword [esp + 0x64], 0
mov dword [esp + 0x50], ecx
je 0x10038e49
movss xmm1, dword [esp + 0x28]
lea esi, [edi + 0x54]
movss xmm3, dword [0x1012a458]
mov eax, 0x2aaaaaab
movss xmm0, dword [esp + 0x3c]
divss xmm3, xmm1
mov dword [esp + 0xd4], esi
cvttss2si ecx, xmm1
addss xmm0, xmm1
movss dword [esp + 0xdc], xmm3
imul ecx
movss dword [esp + 0x60], xmm0
movaps xmm4, xmm0
mov eax, 4
mulss xmm4, xmm5
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xb4], xmm4
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x24], eax
nop dword [eax]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x18]
push ecx
push ecx
mov dword [esp + 0xd4], eax
mov ecx, edi
lea eax, [esp + 0x124]
movaps xmm1, xmm0
addss xmm0, xmm2
divss xmm1, dword [0x1012a5c8]
divss xmm0, dword [0x1012a5c8]
addss xmm1, xmm1
movaps xmm2, xmm4
addss xmm0, xmm0
mulss xmm1, dword [0x1012a578]
mulss xmm0, dword [0x1012a578]
subss xmm1, xmm3
addss xmm0, xmm3
movaps xmm3, xmm1
movss dword [esp + 0x30], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x58], xmm0
call fcn.100442b0
movss xmm0, dword [esp + 0x80]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [esi]
push dword [edi + 0x5c]
call fcn.100431f0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100385de
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003b320
movss xmm0, dword [esp + 0x28]
cvtps2pd xmm0, xmm0
mov dword [esi], 0
call fcn.100ec170
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x30], xmm0
cvtps2pd xmm0, xmm1
call fcn.100ece80
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
call fcn.100ec170
movss xmm1, dword [esp + 0x4c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x64], xmm0
cvtps2pd xmm0, xmm1
call fcn.100ece80
mov edx, dword [esp + 0x24]
xorps xmm4, xmm4
movss xmm3, dword [esp + 0x64]
movss xmm5, dword [esp + 0x30]
movss xmm6, dword [esp + 0x8c]
subss xmm3, xmm5
mov eax, dword [esp + edx*4 + 0xe8]
mov ecx, dword [edi + 0x20]
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + edx*4 + 0xe4]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x18]
movss xmm2, dword [0x1012a3c4]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x3c]
movaps xmm7, xmm2
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mulss xmm0, xmm3
mov dword [esp + 0x7c], eax
addss xmm4, dword [esp + 0xa8]
mov eax, dword [esp + 0xcc]
subss xmm4, xmm6
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x10], eax
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
cmp eax, dword [esp + 0x7c]
jae 0x10038836
movzx eax, dl
mov dword [esp + 0x4c], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x28]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x28]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x20], edx
movzx edx, al
mov eax, dword [esp + 0x28]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x20]
nop word [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1003877e
xorps xmm2, xmm2
jmp 0x10038782
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0x10]
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, dword [esp + 0x64]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xc], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0xc], eax
shl dword [esp + 0xc], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x1012a3c4]
or dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x20]
add eax, 0x14
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x7c]
jb 0x10038750
mov edi, dword [esp + 0xb8]
mov esi, dword [esp + 0xd4]
mov eax, dword [esp + 0x24]
movss xmm3, dword [esp + 0xdc]
inc eax
movss xmm4, dword [esp + 0xb4]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x24], eax
cmp eax, 6
jl 0x10038530
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm0
mulss xmm0, dword [0x1012a578]
movss dword [esp + 0x2c], xmm0
cvtps2pd xmm0, xmm0
call fcn.100ec170
movss xmm3, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm3
call fcn.100ece80
cmp byte [esp + 0xb], 0
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x60]
movss xmm3, dword [0x1012a360]
movss xmm4, dword [esp + 0x80]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x3c]
mulss xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm3
addss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x30], xmm2
addss xmm1, dword [esp + 0xa8]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
je 0x10038901
mulss xmm4, dword [0x1012a36c]
jmp 0x10038909
mulss xmm4, dword [0x1012a364]
movaps xmm0, xmm4
movss dword [esp + 0x80], xmm4
divss xmm0, dword [0x1012a428]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1003892d
mov eax, 9
jmp 0x10038937
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x84], 0xff000000
movss xmm2, dword [0x1012a5cc]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x24], eax
movaps xmm0, xmm1
movss dword [esp + 0x64], xmm1
subss xmm0, dword [0x1012a3c4]
movss dword [esp + 0x60], xmm0
je 0x100389f4
mulss xmm0, xmm2
xorps xmm3, xmm3
push eax
push ecx
lea eax, [esp + 0x48]
movaps xmm2, xmm4
divss xmm0, xmm1
mov ecx, edi
movss dword [esp], xmm0
push eax
call fcn.100442b0
push dword [esp + 0x84]
mov ecx, edi
push dword [esi]
push dword [edi + 0x5c]
call fcn.10043d80
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100389c5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1003b320
movss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x64]
movss xmm2, dword [0x1012a5cc]
movss xmm3, dword [0x1012a360]
movss xmm4, dword [esp + 0x80]
mov eax, dword [esp + 0x24]
mov dword [esi], 0
mulss xmm0, xmm2
movaps xmm2, xmm4
push eax
addss xmm2, dword [0x1012a3c4]
push ecx
divss xmm0, xmm1
lea eax, [esp + 0x48]
mov ecx, edi
subss xmm2, xmm3
xorps xmm3, xmm3
movss dword [esp], xmm0
push eax
movss dword [esp + 0x6c], xmm0
call fcn.100442b0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [esi]
push dword [edi + 0x5c]
call fcn.100431f0
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x88]
test ecx, ecx
jns 0x10038a69
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1003b320
push dword [esp + 0x24]
movss xmm2, dword [esp + 0x84]
lea eax, [esp + 0x44]
movss xmm0, dword [esp + 0x64]
xorps xmm3, xmm3
subss xmm2, dword [0x1012a360]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
mov dword [edi + 0x54], 0
call fcn.100442b0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100431f0
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x10038adf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1003b320
lea eax, [edi + 0x54]
movss xmm3, dword [esp + 0x3c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x30]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x68]
movaps xmm0, xmm5
mov dword [eax], 0
mov ecx, edi
movss xmm6, dword [esp + 0xb0]
movaps xmm4, xmm3
mulss xmm0, xmm1
mov eax, dword [0x10138e58]
movss xmm7, dword [esp + 0xa8]
mulss xmm4, dword [esp + 0xa4]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
push 6
mulss xmm1, dword [esp + 0xac]
addss xmm2, xmm6
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x108], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x70]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xa8]
mulss xmm5, dword [esp + 0xa4]
addss xmm2, xmm7
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x10c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xa8]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xa4]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x54], xmm4
addss xmm3, xmm7
movss dword [esp + 0x124], xmm4
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 0x173c]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [eax + 0x1740]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x128], xmm3
movss dword [esp + 0x38], xmm0
call fcn.10043040
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x30]
movss xmm2, dword [esp + 0x28]
movss xmm3, dword [esp + 0x7c]
movss xmm0, dword [esp + 0x64]
movss xmm1, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
mov edx, dword [esp + 0x84]
movss xmm5, dword [esp + 0x68]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
add dword [edi + 0x34], 0x14
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
add dword [edi + 0x38], 4
mov eax, dword [edi + 0x34]
movss dword [eax], xmm5
sub esp, 8
movss xmm4, dword [esp + 0x74]
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x54]
movss xmm6, dword [esp + 0x44]
mov dword [esp + 4], 0x3fc00000
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xff000000
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov dword [eax], ecx
mov ecx, edi
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 4
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x124]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.100450f0
movss xmm0, dword [0x1012a3c4]
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x78]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10038dca
xorps xmm4, xmm4
jmp 0x10038dd1
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm3, dword [esp + 0x5c]
comiss xmm1, xmm3
jbe 0x10038de1
xorps xmm2, xmm2
jmp 0x10038de8
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [esp + 0x4c]
movss xmm3, dword [esp + 0x68]
mulss xmm0, xmm2
addss xmm0, dword [esp + 0x4c]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x54], xmm3
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x6c]
addss xmm0, dword [esp + 0x3c]
subss xmm2, xmm0
mulss xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x58], xmm2
jmp 0x100392e4
test dword [esp + 0x10], 0x40000
je 0x100392e4
movaps xmm0, xmmword [0x1012c130]
lea eax, [esp + 0x100]
push eax
movups xmmword [esp + 0x130], xmm0
lea eax, [esp + 0x130]
mov ecx, edi
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x120], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x124]
movaps xmmword [esp + 0x108], xmm3
push eax
lea eax, [esp + 0x4c]
push eax
movss dword [esp + 0x130], xmm0
call fcn.10044ab0
movss xmm1, dword [esp + 0x44]
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x14], xmm1
addss xmm1, dword [esp + 0x18]
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x90], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x6c], xmm1
push dword [esp + 0x6c]
movss dword [esp + 0x2c], xmm1
push dword [esp + 0x6c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.100243e0
movss xmm3, dword [esp + 0x6c]
xorps xmm0, xmm0
movss xmm1, dword [0x1012a3c4]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x10038f28
xorps xmm2, xmm2
jmp 0x10038f2f
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x18]
movss xmm3, dword [esp + 0x40]
movss xmm5, dword [0x1012a360]
mulss xmm2, xmm6
movss xmm7, dword [0x1012a534]
addss xmm2, xmm3
addss xmm3, xmm7
addss xmm2, xmm5
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x90]
subss xmm2, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm3, xmm4
jbe 0x10038f80
movss dword [esp + 0x54], xmm3
jmp 0x10038f93
comiss xmm4, xmm2
jbe 0x10038f8d
movss dword [esp + 0x54], xmm2
jmp 0x10038f93
movss dword [esp + 0x54], xmm4
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x78]
comiss xmm0, xmm2
jbe 0x10038fa6
xorps xmm1, xmm1
jmp 0x10038faa
minss xmm1, xmm2
movss xmm3, dword [esp + 0x14]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x28]
subss xmm0, xmm7
addss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm7
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10038fe5
movss dword [esp + 0x58], xmm1
jmp 0x10038ff8
comiss xmm2, xmm0
jbe 0x10038ff2
movss dword [esp + 0x58], xmm0
jmp 0x10038ff8
movss dword [esp + 0x58], xmm2
movss xmm0, dword [esp + 0xbc]
movaps xmm2, xmm6
divss xmm2, dword [0x1012a5c8]
xor edx, edx
mov esi, edi
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x100], xmm0
mov ecx, dword [esp + edx*4 + 0xe8]
lea edi, [edx + 1]
movss xmm1, dword [0x1012a2dc]
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x12c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x130], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x134], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1012c160]
mov ecx, dword [esp + edx*4 + 0xe4]
movzx eax, cl
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x138], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x68], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x6c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x70], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1012c160]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x74], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm0, xmm3
movss dword [esp + 0x120], xmm0
movd xmm0, edx
lea eax, [esp + 0x12c]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
lea eax, [esp + 0x124]
push eax
mulss xmm0, xmm2
lea eax, [esp + 0x10c]
push eax
addss xmm0, xmm3
movss dword [esp + 0x114], xmm0
call fcn.10044d10
movss xmm2, dword [esp + 0x90]
mov edx, edi
movss xmm3, dword [esp + 0x14]
cmp edx, 6
jl 0x10039034
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xac]
push dword [esp + 0x6c]
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm3
push dword [esp + 0x6c]
movss dword [esp + 0x4c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.100243e0
mov esi, dword [esp + 0x98]
movss xmm1, dword [esp + 0x48]
addss xmm1, dword [0x1012a534]
mov edi, dword [esp + 0xc8]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x7c], xmm2
addss xmm0, dword [0x1012a3c4]
push dword [esp + 0x7c]
movss xmm2, dword [esp + 0xc0]
subss xmm2, dword [0x1012a3c4]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x40]
mulss xmm0, dword [esp + 0x2c]
push dword [esp + 0x7c]
movss dword [esp + 0x58], xmm2
addss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x1012a360]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10036ed0
add esp, 0x20
cmp byte [esp + 0xa], 0
je 0x100392fc
movss xmm0, dword [0x1012a5f0]
movss dword [esp + 0xc8], xmm0
movss xmm2, dword [esp + 0xc8]
lea eax, [esp + 0x54]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.100442b0
push dword [esp + 0x50]
lea eax, [edi + 0x54]
mov ecx, edi
push dword [eax]
mov dword [esp + 0x98], eax
push dword [edi + 0x5c]
call fcn.10043d80
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x1003935e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1003b320
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xc8]
xorps xmm3, xmm3
addss xmm2, dword [0x1012a3c4]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x5c]
mov dword [esp], 0x40b84e89
subss xmm2, dword [0x1012a360]
push eax
call fcn.100442b0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100431f0
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x100393d8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1003b320
lea eax, [edi + 0x54]
movss xmm2, dword [esp + 0xc8]
xorps xmm3, xmm3
subss xmm2, dword [0x1012a360]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x5c]
mov dword [esp], 0x40b84e89
push eax
call fcn.100442b0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100431f0
mov edi, dword [esp + 0x90]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10039447
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003b320
cmp dword [esp + 0xc4], 0x200
mov dword [edi], 0
jne 0x1003975e
mov eax, dword [esp + 0x1c]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1003947a
movss dword [esp + 0x88], xmm2
jmp 0x1003948f
movss xmm0, dword [0x1012a3c4]
minss xmm0, xmm1
movss dword [esp + 0x88], xmm0
movss xmm3, dword [esp + 0xc0]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x14]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x38]
movss dword [esp + 0x120], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
push dword [esp + 0x6c]
movss dword [esp + 0x128], xmm1
subss xmm1, xmm3
mov dword [esp + 0x6c], 0
push dword [esp + 0x6c]
movss dword [esp + 0x130], xmm0
push dword [esp + 0x130]
mulss xmm1, dword [0x1012a360]
push dword [esp + 0x130]
movss dword [esp + 0x12c], xmm3
push dword [esp + 0x130]
mov edi, dword [esp + 0x130]
push edi
call fcn.100349c0
mov edx, dword [esp + 0x68]
add esp, 0x18
movss xmm1, dword [0x1012a2dc]
mov ecx, edx
and ecx, 0xffffff
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x100], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x104], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
movzx eax, dl
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x108], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1012c160]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x10c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
mov eax, edx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x12c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x130], xmm0
mov eax, edx
mov ecx, dword [esp + 0xb8]
shr eax, 0x10
movzx eax, al
shr edx, 0x18
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012c160]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x130]
push eax
cvtpd2ps xmm0, xmm0
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x128]
push eax
mulss xmm0, xmm1
movss dword [esp + 0x144], xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x1012c160]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x148], xmm0
call fcn.10044d10
push dword [esp + 0x128]
xorps xmm0, xmm0
push dword [esp + 0x128]
push dword [esp + 0x128]
push edi
call fcn.100243e0
movss xmm1, dword [0x1012a3c4]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0xc8]
movaps xmm0, xmm2
movss dword [esp + 0x7c], xmm2
movss xmm2, dword [esp + 0xd0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x98]
push dword [esp + 0x7c]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
mulss xmm1, dword [esp + 0x30]
movss dword [esp + 0x58], xmm2
addss xmm1, dword [esp + 0x2c]
addss xmm1, dword [0x1012a360]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x50]
addss xmm1, dword [0x1012a534]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10036ed0
add esp, 0x20
call fcn.10039c50
mov eax, dword [0x10138e58]
mov eax, dword [eax + 0x1804]
dec dword [eax + 0x1a4]
add eax, 0x1a4
cmp byte [esp + 9], 0
je 0x100397f0
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0x13c]
mov edx, dword [esp + 0x1c]
sub esi, 4
jb 0x100397a8
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100397ad
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10039797
cmp esi, 0xfffffffc
je 0x100397f0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100397da
cmp esi, 0xfffffffd
je 0x100397f0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100397da
cmp esi, 0xfffffffe
je 0x100397f0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100397da
cmp esi, 0xffffffff
je 0x100397f0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100397f0
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100c2ed5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100c2ed5
mov esp, ebp
pop ebp
ret