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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x1010e440]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x1010ef08]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x3e40]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xe4], edi
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e40]
mov dword [esp + 0x34], esi
mov dword [esp + 0x74], eax
cmp byte [eax + 0xaf], 0
je 0x10053188
xor al, al
jmp 0x10054e7b
mov eax, dword [eax + 0x264]
mov dword [esp + 0x58], eax
call fcn.10007bb9
push dword [esp + 0x68]
and dword [esi + 0x46a0], 0
fstp dword [esp + 0x7c]
call fcn.10008460
mov eax, dword [esi + 0x5964]
mov dword [esp + 0x120], eax
pop ecx
test eax, eax
jne 0x100531d7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x5964], eax
call fcn.10007f2a
mov edx, dword [ebp + 0x10]
or edx, 0x10
test dword [ebp + 0x10], 0x100
cmovne edx, dword [ebp + 0x10]
mov dword [esp + 0xcc], edx
test dl, 8
jne 0x10053209
push edx
push edi
call fcn.10060a33
mov edx, dword [esp + 0xd4]
pop ecx
pop ecx
mov ecx, 0x6000000
test ecx, edx
jne 0x1005322c
mov eax, dword [esi + 0x5960]
test ecx, eax
mov ecx, 0xa900000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1005322e
mov ecx, edx
mov edx, 0x18000000
mov dword [esp + 0x14], ecx
test edx, ecx
jne 0x10053257
mov eax, dword [esi + 0x5960]
test edx, eax
mov edx, 0xa900000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x1005326d
mov eax, dword [esi + 0x5960]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, ecx
and ecx, 0x10002
and eax, 2
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x74]
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0xf4]
movss dword [esp + 0x48], xmm0
call fcn.1000842e
movss xmm3, dword [esi + 0x37f4]
xor eax, eax
cmp dword [esp + 0xd4], 0x10000
movaps xmm0, xmm3
fstp dword [esp + 0x50]
movss xmm2, dword [esp + 0x50]
sete al
inc eax
addss xmm0, xmm2
cmp dword [esp + 0xe8], 0
push 0x10
movd xmm1, eax
cvtdq2ps xmm1, xmm1
pop eax
push 0xc
pop ecx
cmovne eax, ecx
push eax
mulss xmm1, xmm0
lea eax, [esp + 0x150]
push edi
movss xmm0, dword [esp + 0x80]
push eax
subss xmm0, xmm1
movss xmm1, dword [esp + 0x50]
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
movss dword [esp + 0x68], xmm1
addss xmm0, xmm2
addss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100bbde8]
cvttss2si esi, xmm0
movss dword [esp + 0xdc], xmm3
mov dword [esp + 0xd8], esi
call fcn.10093600
movss xmm1, dword [esp + 0x3c]
add esp, 0xc
movaps xmm4, xmm1
and dword [esp + 0xf0], 0
mulss xmm4, dword [0x100bbdf8]
movaps xmm0, xmm1
mulss xmm0, dword [0x100d1098]
movaps xmm3, xmm4
movss dword [esp + 0x64], xmm4
subss xmm3, xmm0
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [0x100bbdf8]
movaps xmm2, xmm3
movss dword [esp + 0x80], xmm3
addss xmm0, xmm4
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100d1090]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movaps xmm1, xmm2
movss dword [esp + 0xec], xmm2
mulss xmm1, dword [0x100c99ac]
movss dword [esp + 0xf4], xmm1
mov eax, dword [esp + 0x14]
movaps xmm0, xmm2
mulss xmm0, dword [0x100d1114]
mulss xmm2, dword [0x100d10bc]
movss dword [esp + 0xfc], xmm1
movss xmm1, dword [edi + 4]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x100], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0xd8], xmm2
test eax, 0x8000000
je 0x100534b5
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.10009e97
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.10069448
add esp, 0x28
jmp 0x100534f0
test eax, 0x10000000
je 0x100534f0
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xe8]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.10009f3d
add esp, 0x18
xor eax, eax
push 1
push 8
mov byte [esp + 0x1a], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
call fcn.1000fd41
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
test eax, 0x4000000
je 0x10053863
movss xmm1, dword [esp + 0x30]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x34]
movaps xmm0, xmm1
push 0
push eax
push 0x100d0e84
addss xmm0, dword [ecx + 0x37f4]
movss dword [esp + 0x30], xmm1
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x2c], xmm0
call fcn.1004effd
add esp, 0xc
call fcn.10009685
test al, al
je 0x10053844
mov eax, dword [esp + 0x34]
movss xmm2, dword [eax + 0xdc0]
subss xmm2, dword [esp + 0x6c]
movss xmm0, dword [eax + 0x36b0]
subss xmm0, dword [esp + 0x70]
movss xmm1, dword [eax + 0x36ac]
subss xmm1, dword [esp + 0x6c]
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x78], xmm2
movss xmm2, dword [eax + 0xdc4]
subss xmm2, dword [esp + 0x70]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x74], xmm2
movaps xmm2, xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss xmm1, dword [0x100bbe20]
addss xmm2, xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10053645
movss xmm0, dword [esp + 0x64]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10053645
fld dword [esp + 0x74]
xorps xmm0, xmm0
fld dword [esp + 0x78]
fpatan
fstp dword [esp + 0x78]
movss xmm2, dword [esp + 0x78]
mulss xmm2, dword [0x100d034c]
comiss xmm0, xmm2
movss dword [esp + 0x1c], xmm2
jbe 0x1005363d
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm2
mov al, 1
mov byte [esp + 0x12], al
jmp 0x1005364f
movss xmm2, dword [esp + 0x1c]
mov al, byte [esp + 0x12]
mulss xmm2, dword [0x100d1120]
mov byte [esp + 0x13], al
mulss xmm2, dword [0x100d036c]
movaps xmm0, xmm2
call fcn.10091250
movss xmm5, dword [esp + 0xc8]
movaps xmm4, xmm0
movss xmm3, dword [esp + 0x84]
movaps xmm2, xmm4
mov al, byte [esp + 0x12]
movaps xmm0, xmm3
mov byte [esp + 0x1a], al
movaps xmm1, xmm5
shufps xmm2, xmm4, 1
lea eax, [esp + 0x20]
push eax
mulss xmm1, xmm2
lea eax, [esp + 0x100]
push eax
mulss xmm0, xmm4
lea eax, [esp + 0xfc]
push eax
mulss xmm3, xmm2
lea eax, [esp + 0xf8]
push eax
mulss xmm5, xmm4
subss xmm1, xmm0
movups xmmword [esp + 0xc0], xmm4
addss xmm3, xmm5
movaps xmmword [esp + 0xa0], xmm2
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm3
call fcn.1000ce81
add esp, 0x10
test al, al
je 0x10053844
movups xmm3, xmmword [esp + 0xb0]
lea eax, [esp + 0x88]
movaps xmm2, xmmword [esp + 0x90]
movaps xmm1, xmm2
movaps xmm0, xmm3
mulss xmm1, dword [esp + 0x54]
push eax
mulss xmm0, dword [esp + 0x3c]
lea eax, [esp + 0x100]
push eax
mulss xmm2, dword [esp + 0x40]
lea eax, [esp + 0xfc]
push eax
mulss xmm3, dword [esp + 0x60]
subss xmm1, xmm0
lea eax, [esp + 0xf8]
push eax
addss xmm2, xmm3
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
call fcn.1000ce81
add esp, 0x10
test al, al
jne 0x100537b2
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1000cf3f
add esp, 0x14
movss xmm0, dword [eax]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x8c], xmm0
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.1000d02a
movss xmm0, dword [0x100bbe20]
add esp, 0x1c
movss xmm2, dword [0x100d1088]
movaps xmm1, xmm0
subss xmm1, dword [esp + 0x38]
comiss xmm2, xmm1
jbe 0x1005380c
movaps xmm1, xmm2
jmp 0x10053810
minss xmm1, xmm0
movss xmm3, dword [esp + 0x54]
divss xmm3, xmm1
movss dword [esp + 0x4c], xmm1
comiss xmm2, xmm3
ja 0x1005382c
movaps xmm2, xmm3
minss xmm2, xmm0
mov al, byte [esp + 0x13]
movss dword [esp + 0x3c], xmm2
mov byte [esp + 0x1b], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x1a], al
mov eax, dword [esp + 0x14]
test al, 8
jne 0x100539db
push 1
push str.context
call fcn.10008770
pop ecx
pop ecx
jmp 0x100539db
test eax, 0x2000000
je 0x100539db
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x20]
push 0
push eax
push 0x100d0e88
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.1004effd
add esp, 0xc
call fcn.10009685
test al, al
je 0x10053916
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x100bbe20]
movss xmm2, dword [0x100bbe20]
mov eax, dword [esp + 0x34]
push ecx
divss xmm2, xmm0
movss xmm0, dword [eax + 0xdc0]
subss xmm0, dword [esp + 0x48]
mulss xmm0, xmm2
movss dword [esp], xmm0
call fcn.1006964b
fstp dword [esp + 0x40]
movss xmm0, dword [eax + 0xdc4]
subss xmm0, dword [esp + 0x4c]
mulss xmm0, xmm2
movss dword [esp], xmm0
call fcn.1006964b
fld1
lea eax, [esp + 0x20]
fsubrp st(1)
push eax
push edi
fstp dword [esp + 0x58]
call fcn.100693e9
mov al, 1
add esp, 0xc
mov byte [esp + 0x12], al
jmp 0x1005391a
mov al, byte [esp + 0x12]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x14]
test al, 8
jne 0x10053934
push 1
push str.context
call fcn.10008770
pop ecx
pop ecx
movss xmm0, dword [esp + 0x5c]
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x28], xmm0
call fcn.100083da
movss xmm0, dword [esp + 0x54]
lea eax, [esp + 0x24]
push 0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x38]
push eax
push 0x100d0e8c
movss dword [esp + 0x34], xmm0
call fcn.1004effd
mov al, byte [esp + 0x22]
add esp, 0x10
mov byte [esp + 0x1b], al
call fcn.10009685
test al, al
je 0x100539db
mov ecx, dword [esp + 0x34]
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x100bbe20]
push ecx
movss xmm1, dword [ecx + 0xdc4]
subss xmm1, dword [esp + 0x4c]
divss xmm1, xmm0
movss dword [esp], xmm1
call fcn.1006964b
mov al, byte [esp + 0x17]
add esp, 4
fstp dword [esp + 0x1c]
mov byte [esp + 0x1a], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x1b], al
cmp dword [esp + 0xd4], 0x10000
jne 0x10053a84
movss xmm0, dword [esp + 0xd0]
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x28], xmm0
call fcn.100083da
movss xmm0, dword [esp + 0x54]
lea eax, [esp + 0x24]
push 0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x38]
push eax
push str.alpha
movss dword [esp + 0x34], xmm0
call fcn.1004effd
add esp, 0x10
call fcn.10009685
test al, al
je 0x10053a84
mov eax, dword [esp + 0x34]
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x100bbe20]
push ecx
movss xmm1, dword [eax + 0xdc4]
subss xmm1, dword [esp + 0x4c]
divss xmm1, xmm0
movss dword [esp], xmm1
call fcn.1006964b
fld1
add esp, 4
fsubrp st(1)
mov byte [esp + 0x12], 1
fstp dword [edi + 0xc]
call fcn.1000fd7c
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x38], ecx
jne 0x10053ac3
mov eax, dword [esp + 0x34]
push ecx
push ecx
movss xmm0, dword [eax + 0x37f4]
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.10007db6
pop ecx
pop ecx
call fcn.10007f2a
mov eax, dword [esp + 0x14]
test al, al
js 0x10053b20
push 0
push dword [esp + 0x6c]
call fcn.100128e0
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], ecx
cmp eax, ecx
je 0x10053b1c
cmp dword [esp + 0x38], 0
je 0x10053b10
mov eax, dword [esp + 0x34]
push ecx
push ecx
movss xmm0, dword [eax + 0x37f4]
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.10007db6
mov eax, dword [esp + 0x70]
pop ecx
pop ecx
mov ecx, dword [esp + 0x54]
push 0
push ecx
push eax
call fcn.10059bb3
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, 0x100
jne 0x10053cbb
push 1
push 0x10
call fcn.1000fd41
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
test al, 2
je 0x10053b48
movss xmm1, dword [0x100bbe20]
jmp 0x10053b4d
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
test al, al
jns 0x10053b92
push str.Current
call fcn.1004ea50
mov eax, dword [esp + 0x18]
pop ecx
movss xmm0, dword [esp + 0x50]
lea ecx, [esp + 0x20]
movaps xmm1, xmm0
and eax, 0x180e0040
mulss xmm1, dword [0x100bbe48]
push ecx
push eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x98]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x28], xmm1
movaps xmm1, xmm0
addss xmm1, xmm0
push eax
push str.current
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x34], xmm1
call fcn.10054e8f
add esp, 0x10
cmp dword [esp + 0x40], 0
je 0x10053cad
push str.Original
call fcn.1004ea50
mov eax, dword [esp + 0x18]
test al, 2
mov eax, dword [esp + 0x44]
pop ecx
je 0x10053c15
movss xmm1, dword [0x100bbe20]
jmp 0x10053c1a
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x88]
movss dword [esp + 0xc0], xmm0
lea eax, [esp + 0xb8]
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x5c]
push eax
push str.original
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0x34], xmm0
call fcn.10054e8f
add esp, 0x10
test al, al
je 0x10053cad
cmp dword [esp + 0xe8], 0
push 0x10
pop eax
push 0xc
pop ecx
cmovne eax, ecx
push eax
push dword [esp + 0x44]
push edi
call fcn.10093600
add esp, 0xc
mov byte [esp + 0x12], 1
call fcn.1000fd7c
call fcn.10008045
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x1a], 0
jne 0x10053ccd
cmp byte [esp + 0x1b], 0
je 0x10053d9d
test eax, 0x8000000
je 0x10053d76
movss xmm0, dword [esp + 0x4c]
lea eax, [edi + 8]
push eax
lea eax, [edi + 4]
push eax
push edi
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
call fcn.10009f3d
mov ecx, dword [esp + 0x4c]
movss xmm0, dword [esp + 0x34]
and dword [esp + 0x44], 0
mov eax, dword [ecx + 0x5964]
movss dword [ecx + 0x596c], xmm0
movss xmm0, dword [esp + 0x54]
mov dword [ecx + 0x5968], eax
lea eax, [esp + 0x38]
movss dword [ecx + 0x5970], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi + 8]
push eax
movss dword [esp + 0x44], xmm0
call fcn.10009def
mov ecx, dword [esp + 0x50]
add esp, 0x1c
mov dword [ecx + 0x5974], eax
jmp 0x10053d9d
test eax, 0x10000000
je 0x10053d9d
movss xmm0, dword [esp + 0x1c]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x13], 0
test al, 0x20
jne 0x10053f67
cmp dword [esp + 0xd4], 0x10000
jne 0x10053dc6
movss xmm0, dword [esp + 0xd0]
jmp 0x10053dcc
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x50]
push ecx
subss xmm0, dword [esp + 0x48]
movss dword [esp], xmm0
call fcn.10007b1a
mov eax, dword [esp + 0x18]
pop ecx
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x40], ecx
test eax, 0x100000
jne 0x10053e02
test eax, 0x700000
jne 0x10053e48
or ecx, 0x100004
push ecx
push edi
push str.rgb
call fcn.10052324
add esp, 0xc
test al, al
je 0x10053e40
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x3e8c], 0
je 0x10053e36
cmp byte [eax + 0x3e99], 0
mov byte [esp + 0x13], 1
je 0x10053e3b
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
test eax, 0x200000
jne 0x10053e56
test eax, 0x700000
jne 0x10053e74
mov eax, ecx
or eax, 0x200004
push eax
push edi
push str.hsv
call fcn.10052324
add esp, 0xc
or byte [esp + 0x12], al
mov eax, dword [esp + 0x14]
test eax, 0x400000
jne 0x10053e82
test eax, 0x700000
jne 0x10053e9e
mov eax, dword [esp + 0x40]
or eax, 0x400004
push eax
push edi
push str.hex
call fcn.10052324
add esp, 0xc
or byte [esp + 0x12], al
call fcn.10007b65
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x14]
je 0x10053f67
test eax, 0x8000000
je 0x10053f67
movss xmm0, dword [edi + 8]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x40]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi]
movss dword [esp], xmm0
call fcn.10009e97
xorps xmm3, xmm3
add esp, 0x18
comiss xmm3, dword [esp + 0x38]
jb 0x10053f63
movss xmm2, dword [esp + 0x1c]
comiss xmm2, xmm3
jbe 0x10053f63
movss xmm1, dword [esp + 0x54]
comiss xmm3, xmm1
jb 0x10053ff0
movss xmm0, dword [esp + 0x4c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10053ff0
mulss xmm0, dword [0x100bbdf8]
lea ecx, [edi + 8]
push ecx
lea eax, [edi + 4]
push eax
push edi
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10009f3d
add esp, 0x18
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x12]
mov byte [esp + 0x13], cl
test cl, cl
je 0x1005408f
test eax, 0x8000000
je 0x10054034
movss xmm0, dword [edi + 8]
lea eax, [esp + 0x4c]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0xe4], xmm2
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0xe4], xmm1
push eax
sub esp, 0xc
movss dword [esp + 0xf0], xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.10009e97
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.10069448
add esp, 0x28
jmp 0x1005408f
comiss xmm3, dword [esp + 0x84]
jb 0x10053f63
movss xmm0, dword [esp + 0x3c]
lea ecx, [edi + 8]
mulss xmm0, dword [0x100bbdf8]
lea eax, [edi + 4]
push ecx
push eax
push edi
sub esp, 0xc
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
jmp 0x10053f5b
test eax, 0x10000000
je 0x1005408f
movss xmm0, dword [edi + 8]
lea eax, [esp + 0xd8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
push eax
lea eax, [esp + 0xe0]
movss dword [esp + 0x20], xmm2
push eax
lea eax, [esp + 0xe8]
movss dword [esp + 0x44], xmm1
push eax
sub esp, 0xc
movss dword [esp + 0x64], xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.10009f3d
add esp, 0x18
mov eax, dword [esp + 0x34]
push ecx
movss xmm2, dword [eax + 0x37a0]
movss dword [esp], xmm2
call fcn.1006964b
fmul dword [0x100bbea0]
add esp, 4
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x120], 0x3f800000
mov dword [esp + 0x124], 0x3f800000
mov dword [esp + 0x128], 0x3f800000
fadd dword [0x100bbdf8]
movss dword [esp + 0x12c], xmm2
fstp dword [esp + 0x38]
cvttss2si edx, dword [esp + 0x38]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x78], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x68], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x130], ecx
or eax, 0x808080
mov dword [esp + 0x148], ecx
mov dword [esp + 0xc8], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x134], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x138], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x13c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x140], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0x144], eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
push eax
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call fcn.10009f3d
lea eax, [esp + 0x138]
push eax
call fcn.10009def
movss xmm0, dword [esp + 0xfc]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xf8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xf4]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x37a0]
lea eax, [esp + 0x3c]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.10009def
and dword [esp + 0xc8], 0
mov ecx, eax
and dword [esp + 0xcc], 0
add esp, 0x20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
test eax, 0x4000000
je 0x100547f6
movss xmm1, dword [esp + 0x64]
cvttss2si eax, xmm1
push 0xc
pop ecx
mov esi, dword [esp + 0x58]
push 4
movss xmm3, dword [0x100bbdf8]
movaps xmm2, xmm1
cdq
idiv ecx
addss xmm2, dword [esp + 0x84]
divss xmm3, xmm1
mov ecx, eax
pop eax
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
mulss xmm2, dword [0x100bbdf8]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x84], xmm2
movd xmm1, eax
lea eax, [esp + 0x6c]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
sub esp, 0xc
mov ecx, esi
mulss xmm1, dword [0x100d10c4]
movaps xmm0, xmm1
addss xmm1, dword [0x100d10c4]
subss xmm0, xmm3
addss xmm1, xmm3
movss dword [esp + 0x48], xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push eax
movss dword [esp + 0x68], xmm1
call fcn.10039384
movss xmm0, dword [esp + 0x7c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x70]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10038085
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x54]
and dword [esi + 0x54], 0
call fcn.100912a0
movss xmm3, dword [esp + 0x80]
lea ecx, [esp + 0x134]
mov eax, dword [esp + 0x5c]
movaps xmm2, xmm0
movaps xmm1, xmm0
shufps xmm2, xmm0, 0xe
shufps xmm1, xmm0, 1
mulss xmm0, xmm3
push dword [ecx + eax*4]
mulss xmm1, xmm3
addss xmm0, dword [esp + 0x74]
push dword [esp + eax*4 + 0x134]
addss xmm1, dword [esp + 0x74]
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 1
mulss xmm2, xmm3
mulss xmm0, xmm3
addss xmm2, dword [esp + 0x78]
movss dword [esp + 0x28], xmm1
addss xmm0, dword [esp + 0x74]
movss dword [esp + 0x9c], xmm2
push dword [esp + 0x9c]
movss dword [esp + 0x9c], xmm0
push dword [esp + 0x9c]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esi + 0x18]
push edi
push esi
call fcn.1003d7e8
mov eax, dword [esp + 0x80]
add esp, 0x24
movss xmm2, dword [esp + 0x84]
inc eax
movss xmm3, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
cmp eax, 6
jl 0x10054279
movss xmm1, dword [esp + 0x1c]
mulss xmm1, dword [0x100bbe40]
mulss xmm1, dword [0x100d036c]
movaps xmm0, xmm1
call fcn.10091250
cmp byte [esp + 0x1a], 0
movaps xmm3, xmm0
movss xmm2, dword [esp + 0x80]
addss xmm2, dword [esp + 0x64]
shufps xmm0, xmm3, 1
movups xmmword [esp + 0x20], xmm0
movss xmm1, dword [esp + 0x7c]
mulss xmm0, xmm2
movups xmmword [esp + 0x90], xmm3
mulss xmm0, dword [0x100bbdf8]
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0xb0], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm2
mulss xmm0, dword [0x100bbdf8]
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0xb4], xmm0
je 0x10054454
mulss xmm1, dword [0x100bbe00]
jmp 0x1005445c
mulss xmm1, dword [0x100d10b4]
movaps xmm0, xmm1
movss dword [esp + 0x7c], xmm1
mulss xmm0, dword [0x100d10b8]
push 0x20
pop ecx
push 9
cvttss2si eax, xmm0
cmp eax, ecx
mov edi, eax
cmovg edi, ecx
pop ecx
cmp eax, ecx
lea eax, [esp + 0xb0]
cmovl edi, ecx
push edi
push dword [esp + 0x44]
push ecx
movss dword [esp], xmm1
mov ecx, esi
push eax
call fcn.10037dc2
movss xmm0, dword [esp + 0x7c]
lea eax, [esp + 0xb0]
addss xmm0, dword [0x100bbe20]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0xd0]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
call fcn.10037cfc
mov esi, dword [esp + 0x68]
lea eax, [esp + 0xb0]
movss xmm0, dword [esp + 0x7c]
push ecx
mov dword [esp], 0x3f800000
push edi
mov edi, dword [esp + 0x60]
push esi
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
call fcn.10037cfc
movups xmm4, xmmword [esp + 0x20]
movups xmm5, xmmword [esp + 0x90]
movss xmm3, dword [esp + 0xec]
movss xmm2, dword [esp + 0xf0]
movaps xmm1, xmm3
movaps xmm0, xmm2
mulss xmm3, xmm5
mulss xmm1, xmm4
mulss xmm2, xmm4
mulss xmm0, xmm5
addss xmm3, xmm2
movss xmm2, dword [esp + 0xf8]
subss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm4
addss xmm3, dword [esp + 0x70]
mulss xmm0, xmm5
addss xmm1, dword [esp + 0x6c]
movss dword [esp + 0x110], xmm3
movss xmm3, dword [esp + 0xf4]
movss dword [esp + 0x10c], xmm1
movaps xmm1, xmm3
mulss xmm3, xmm5
mulss xmm1, xmm4
addss xmm3, xmm2
movss xmm2, dword [esp + 0x100]
subss xmm1, xmm0
movaps xmm0, xmm2
addss xmm3, dword [esp + 0x70]
addss xmm1, dword [esp + 0x6c]
movss dword [esp + 0x118], xmm3
movss xmm3, dword [esp + 0xfc]
movss dword [esp + 0x114], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm4
mulss xmm3, xmm5
lea eax, [esp + 0x104]
push eax
mulss xmm0, xmm5
mulss xmm2, xmm4
subss xmm1, xmm0
addss xmm3, xmm2
addss xmm1, dword [esp + 0x70]
addss xmm3, dword [esp + 0x74]
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm3
call fcn.10007cb5
pop ecx
push 6
push 6
mov ecx, edi
call fcn.10039cf3
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push dword [esp + 0x40]
mov word [ecx], ax
lea eax, [esp + 0x108]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1003f65d
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push dword [esp + 0x40]
mov word [ecx], ax
lea eax, [esp + 0x108]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.1003f65d
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push esi
mov word [ecx], ax
lea eax, [esp + 0x108]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0x90]
push eax
call fcn.1003f65d
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push 0
mov word [ecx], ax
lea eax, [esp + 0x108]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0x114]
push eax
call fcn.1003f65d
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov word [ecx], ax
mov ecx, edi
mov eax, dword [esp + 0x78]
add dword [edi + 0x38], 2
push eax
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.1003f65d
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push 0
mov word [ecx], ax
lea eax, [esp + 0x108]
add dword [edi + 0x38], 2
push eax
lea eax, [esp + 0x90]
push eax
mov ecx, edi
call fcn.1003f65d
push ecx
mov dword [esp], 0x3fc00000
lea eax, [esp + 0x8c]
push dword [esp + 0xcc]
mov ecx, edi
push eax
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.10037c5d
movss xmm0, dword [0x100bbe20]
subss xmm0, dword [esp + 0x4c]
push ecx
movss dword [esp], xmm0
call fcn.1006964b
movss xmm0, dword [esp + 0x40]
fstp dword [esp + 0x84]
movss dword [esp], xmm0
call fcn.1006964b
movss xmm0, dword [esp + 0x110]
add esp, 4
subss xmm0, dword [esp + 0x88]
movss xmm2, dword [esp + 0x110]
subss xmm2, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x114]
fstp dword [esp + 0x64]
mulss xmm0, dword [esp + 0x64]
mov esi, dword [esp + 0xcc]
mulss xmm2, dword [esp + 0x64]
addss xmm0, dword [esp + 0x88]
addss xmm2, dword [esp + 0x8c]
subss xmm1, xmm0
mulss xmm1, dword [esp + 0x80]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x118]
subss xmm0, xmm2
movss dword [esp + 0xa8], xmm1
mulss xmm0, dword [esp + 0x80]
addss xmm0, xmm2
movss dword [esp + 0xac], xmm0
jmp 0x10054b89
test eax, 0x2000000
je 0x10054b94
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x64]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x58]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.10037a9d
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
push eax
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0x38]
push 0
push 0
push eax
lea eax, [esp + 0x58]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.10037a9d
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0x30]
push ecx
and dword [esp], 0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10012582
movss xmm0, dword [esp + 0x50]
add esp, 0x10
movss dword [esp], xmm0
call fcn.1006964b
movss xmm2, dword [esp + 0x34]
add esp, 4
movss xmm1, dword [esp + 0x44]
movss xmm4, dword [0x100bbdf8]
fstp dword [esp + 0x60]
movss xmm0, dword [esp + 0x60]
mulss xmm0, xmm2
movss xmm3, dword [0x100bbe40]
addss xmm0, xmm1
addss xmm0, xmm4
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm1, xmm2
addss xmm0, xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
subss xmm1, xmm3
comiss xmm0, xmm5
jbe 0x10054935
movss dword [esp + 0xa8], xmm0
jmp 0x1005494e
comiss xmm5, xmm1
jbe 0x10054945
movss dword [esp + 0xa8], xmm1
jmp 0x1005494e
movss dword [esp + 0xa8], xmm5
movss xmm0, dword [0x100bbe20]
subss xmm0, dword [esp + 0x4c]
push ecx
movss dword [esp], xmm0
call fcn.1006964b
movss xmm1, dword [esp + 0x4c]
xorps xmm5, xmm5
fstp dword [esp + 0x64]
movss xmm0, dword [esp + 0x64]
add esp, 4
mulss xmm0, xmm2
addss xmm0, xmm1
addss xmm0, xmm4
movaps xmm4, xmm1
addss xmm4, xmm3
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm0, xmm2
cvtsi2ss xmm5, eax
subss xmm0, xmm3
comiss xmm4, xmm5
jbe 0x100549b3
movss dword [esp + 0xac], xmm4
jmp 0x100549cc
comiss xmm5, xmm0
jbe 0x100549c3
movss dword [esp + 0xac], xmm0
jmp 0x100549cc
movss dword [esp + 0xac], xmm5
movss xmm3, dword [esp + 0x5c]
xor eax, eax
mulss xmm2, dword [0x100d109c]
movaps xmm0, xmm3
mov esi, dword [esp + 0x58]
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x20], xmm0
lea edi, [eax + 1]
movd xmm0, edi
lea ecx, [esp + 0x134]
push dword [ecx + eax*4]
cvtdq2ps xmm0, xmm0
push dword [ecx + eax*4]
mulss xmm0, xmm2
mov ecx, esi
push dword [esp + eax*4 + 0x138]
movss dword [esp + 0x9c], xmm3
push dword [esp + eax*4 + 0x13c]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0xa4]
push eax
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0xac], xmm0
call fcn.10037a9d
movss xmm1, dword [esp + 0x48]
mov eax, edi
movss xmm3, dword [esp + 0x5c]
cmp eax, 6
jge 0x10054a87
movss xmm2, dword [esp + 0x60]
movss xmm0, dword [esp + 0x38]
jmp 0x100549f5
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0x30]
push ecx
and dword [esp], 0
movss dword [esp + 0x98], xmm1
addss xmm0, xmm1
movss dword [esp + 0x94], xmm3
addss xmm0, dword [0x100bbdf8]
cvttss2si edi, xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0xa0]
push dword [esp + 0xa0]
call fcn.10012582
mov esi, dword [esp + 0xe0]
add esp, 0xc
mov eax, dword [esp + 0x3c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x100bbe20]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x64]
subss xmm0, dword [0x100bbe20]
movss dword [esp + 0x98], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [eax + 0x37a0]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x100bbe40]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0x70]
call fcn.10069ab0
add esp, 0x1c
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0xe4]
cmp byte [esp + 0x1b], 0
je 0x10054ba5
movss xmm0, dword [0x100bbe68]
jmp 0x10054bad
movss xmm0, dword [0x100bbe58]
push 0xc
pop eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0xb4]
movss dword [esp], xmm0
push eax
movss dword [esp + 0x74], xmm0
call fcn.10037dc2
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [0x100bbe20]
push ecx
mov dword [esp], 0x3f800000
push 0xc
pop eax
push eax
push dword [esp + 0xd0]
lea eax, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x68]
movss dword [esp], xmm0
push eax
call fcn.10037cfc
movss xmm0, dword [esp + 0x64]
push ecx
mov dword [esp], 0x3f800000
push 0xc
pop eax
push eax
push dword [esp + 0x70]
lea eax, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x68]
movss dword [esp], xmm0
push eax
call fcn.10037cfc
cmp dword [esp + 0xd4], 0x10000
jne 0x10054dfd
movss xmm0, dword [edi + 0xc]
push ecx
movss dword [esp], xmm0
call fcn.1006964b
movss xmm2, dword [esp + 0xd4]
add esp, 4
movss xmm0, dword [esp + 0x48]
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x50]
and dword [esp + 0x24], 0
and dword [esp + 0x20], 0
push 0
push ecx
and dword [esp], 0
push dword [esp + 0x2c]
mov edi, dword [esp + 0x64]
push dword [esp + 0x2c]
movss dword [esp + 0xc8], xmm1
subss xmm1, xmm2
push ecx
movss dword [esp + 0xc8], xmm0
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0xc4], xmm2
mulss xmm1, dword [0x100bbdf8]
fstp dword [esp + 0x74]
movss dword [esp + 0xd0], xmm0
movss dword [esp], xmm1
push 0
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push edi
call fcn.1003c88e
mov ecx, dword [esp + 0xa0]
add esp, 0x2c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
lea eax, [esp + 0xc8]
mov ecx, edi
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.10037a9d
movss xmm0, dword [0x100bbe20]
subss xmm0, dword [esp + 0x60]
push ecx
and dword [esp], 0
push dword [esp + 0xc0]
mulss xmm0, dword [esp + 0x38]
push dword [esp + 0xc0]
addss xmm0, dword [esp + 0x54]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
addss xmm0, dword [0x100bbdf8]
cvttss2si edi, xmm0
call fcn.10012582
add esp, 0xc
movd xmm2, esi
mov esi, dword [esp + 0x3c]
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x100bbe20]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xd8]
subss xmm0, dword [0x100bbe20]
movss dword [esp + 0x98], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esi + 0x37a0]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x100bbe40]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0x70]
call fcn.10069ab0
add esp, 0x1c
jmp 0x10054e01
mov esi, dword [esp + 0x34]
call fcn.10008045
cmp byte [esp + 0x12], 0
je 0x10054e61
cmp dword [esp + 0xe8], 0
push 0x10
pop eax
push 0xc
pop ecx
cmovne eax, ecx
push eax
push dword [esp + 0xe8]
lea eax, [esp + 0x154]
push eax
call fcn.10093e0b
add esp, 0xc
test eax, eax
jne 0x10054e40
mov byte [esp + 0x12], al
jmp 0x10054e61
mov eax, dword [esi + 0x46b4]
mov cl, byte [esp + 0x13]
mov byte [esp + 0x12], cl
test eax, eax
je 0x10054e61
push eax
call fcn.1000f588
mov al, byte [esp + 0x17]
pop ecx
mov byte [esp + 0x12], al
cmp dword [esp + 0x11c], 0
jne 0x10054e72
and dword [esi + 0x5964], 0
call fcn.10008521
mov al, byte [esp + 0x12]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
xor ecx, esp
call fcn.10090b29
mov esp, ebp
pop ebp
ret