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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x100beb60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [0x100c4320]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], esi
cmp byte [edi + 0x7d], 0
movss xmm0, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x40]
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], eax
mov byte [edi + 0x7f], 0
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x40], xmm1
je 0x100216b8
cmp byte [ebp + 0x10], 0
movss xmm0, dword [ebx + 0x155c]
movss dword [ebp - 0x30], xmm0
movss dword [ebx + 0x155c], xmm1
je 0x1002155c
cmp byte [ebx + 0x1b76], 0
mov eax, 0xb
je 0x10021561
mov eax, 0xc
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10018380
movss xmm0, dword [esi + 8]
add esp, 8
movss xmm1, dword [ebp - 0x34]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [esi]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 4]
mov esi, dword [0x100c4320]
push 0xf
push ecx
movss dword [esp], xmm1
push eax
movss dword [ebp - 8], xmm0
lea eax, [ebp - 0x14]
mov edi, dword [esi + 0x1a00]
push eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [edi + 0x278]
call fcn.100280c0
movss xmm0, dword [esi + 0x155c]
comiss xmm0, dword [0x100861b4]
movss dword [ebp - 0x2c], xmm0
jbe 0x1002169a
push ecx
mov dword [esp], 0x3f800000
push 6
call fcn.10018380
movss xmm1, dword [0x10082d5c]
add esp, 4
movss xmm0, dword [ebp - 0x14]
addss xmm0, xmm1
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x10]
addss xmm0, xmm1
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, xmm1
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, xmm1
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x34]
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10027fd0
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.10018380
movss xmm0, dword [ebp - 0x2c]
add esp, 4
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x34]
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10027fd0
movss xmm0, dword [ebp - 0x30]
pop edi
pop esi
movss dword [ebx + 0x155c], xmm0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004e12b
mov esp, ebp
pop ebp
ret
test al, al
js 0x100217f2
test eax, 0x6000000
je 0x100216ce
mov eax, 4
jmp 0x100216db
and eax, 0x1000000
or eax, 0x2000000
shr eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10018380
add esp, 8
mov ecx, eax
test byte [ebx + 0x1a80], 0x40
xorps xmm2, xmm2
je 0x10021737
movss xmm1, dword [ebx + 0x1acc]
comiss xmm2, xmm1
jbe 0x1002170c
xorps xmm0, xmm0
jmp 0x10021718
movss xmm0, dword [0x10082d5c]
minss xmm0, xmm1
mulss xmm0, dword [0x10082d8c]
and ecx, 0xffffff
addss xmm0, dword [0x100861bc]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
movss xmm3, dword [edi + 0xc]
movss xmm4, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x14]
mov esi, dword [ebp - 0x2c]
mov edx, esi
and edx, 1
mov dword [ebp - 0x28], edx
movss dword [ebp - 0x5c], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x58], xmm0
je 0x1002176d
xorps xmm0, xmm0
jmp 0x100217a9
mov eax, dword [0x100c4320]
movss xmm1, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test eax, eax
je 0x10021794
mulss xmm1, dword [eax + 0x270]
mov eax, dword [0x100c4320]
movss xmm0, dword [eax + 0x1554]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, xmm4
mov dword [ebp - 0x30], 0xf
test edx, edx
addss xmm3, xmm2
mov eax, 0xc
cmovne eax, dword [ebp - 0x30]
push eax
push ecx
movss dword [ebp - 0x60], xmm0
lea eax, [ebp - 0x5c]
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push ecx
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x64]
movss dword [ebp - 0x64], xmm3
push eax
call fcn.100280c0
mov eax, dword [ebp - 0x28]
jmp 0x100217fb
mov esi, dword [ebp - 0x2c]
and eax, 1
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002183b
movzx eax, byte [ebp + 0x10]
push ecx
add eax, 0xa
mov dword [esp], 0x3f800000
push eax
call fcn.10018380
movss xmm0, dword [ebp - 0x34]
add esp, 8
push 3
push ecx
mov ecx, dword [ebp - 0x38]
movss dword [esp], xmm0
push eax
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, dword [edi + 0x278]
call fcn.100280c0
mov eax, dword [ebp - 0x28]
test esi, 0x400
je 0x10021a30
mov edx, dword [edi + 8]
mov ecx, dword [0x100c4320]
test dl, 1
je 0x1002185a
xorps xmm2, xmm2
jmp 0x1002188f
movss xmm0, dword [ecx + 0x18d4]
mov edx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test edx, edx
je 0x1002187c
mulss xmm0, dword [edx + 0x270]
movss xmm2, dword [ecx + 0x1554]
mov edx, dword [edi + 8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm5, dword [edi + 0x10]
xorps xmm3, xmm3
addss xmm2, xmm5
test edx, 0x400
je 0x100218df
movss xmm1, dword [ecx + 0x18d4]
mov edx, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test edx, edx
je 0x100218c5
mulss xmm1, dword [edx + 0x270]
movss xmm0, dword [ecx + 0x1554]
addss xmm1, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x100218e2
xorps xmm1, xmm1
movss xmm0, dword [edi + 0xc]
addss xmm1, xmm2
movaps xmm4, xmm0
maxss xmm4, xmm0
movss dword [ebp - 0x30], xmm4
movaps xmm4, xmm2
maxss xmm4, xmm5
addss xmm5, dword [edi + 0x18]
movss dword [ebp - 0x3c], xmm4
movaps xmm4, xmm0
minss xmm1, xmm5
addss xmm4, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x18], xmm1
minss xmm4, xmm0
movss dword [ebp - 0x44], xmm4
movss dword [ebp - 0x1c], xmm4
test eax, eax
je 0x10021941
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x38], xmm0
jmp 0x10021946
movss dword [ebp - 0x38], xmm3
push ecx
mov dword [esp], 0x3f800000
push 0xd
call fcn.10018380
movss xmm0, dword [ebp - 0x44]
xorps xmm1, xmm1
subss xmm0, dword [ebp - 0x40]
add esp, 8
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x28]
subss xmm0, xmm1
push 3
push ecx
mov ecx, dword [edi + 0x278]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x3c]
addss xmm0, xmm1
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100280c0
movss xmm0, dword [ebx + 0x155c]
comiss xmm0, dword [0x100861b4]
jbe 0x10021a30
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
comiss xmm0, dword [ebp - 0x28]
jbe 0x10021a30
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.10018380
movss xmm0, dword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebx + 0x155c]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x78], edx
push eax
call fcn.100273a0
cmp byte [edi + 0x78], 0
je 0x10021a40
push 0
call fcn.10045520
add esp, 4
cmp byte [edi + 0x79], 0
je 0x10021a50
push 1
call fcn.10045520
add esp, 4
test byte [ebp - 0x2c], 2
jne 0x10021d45
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x14], eax
jle 0x10021d45
movss xmm4, dword [ebp - 0x40]
mov ebx, 0x100be6cc
movaps xmm0, xmm4
mov dword [ebp - 0x28], ebx
addss xmm0, dword [ebp - 0x34]
movss dword [ebp - 8], xmm0
movss xmm0, dword [edi + 0xc]
and eax, 1
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
movaps xmm3, xmm1
mov dword [ebp - 0x44], eax
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, dword [ebx - 0xc]
mulss xmm3, dword [ebx - 8]
mov ebx, dword [edi + 0x278]
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x38], xmm3
je 0x10021ad8
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
jmp 0x10021ae0
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
mov eax, dword [ebp - 0x28]
mov esi, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mulss xmm0, dword [eax - 4]
mulss xmm1, dword [eax]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x48], xmm1
cmp esi, ecx
jne 0x10021bad
inc esi
test ecx, ecx
je 0x10021b1c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10021b21
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x10021bad
mov eax, dword [0x100c4320]
test eax, eax
je 0x10021b3d
inc dword [eax + 0x374]
push dword [0x100c4328]
lea eax, [esi*8]
push eax
call dword [0x100be6b8]
mov edx, dword [ebx + 0x60]
add esp, 8
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x10021b98
mov ecx, dword [ebx + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.1004f980
mov ecx, dword [ebx + 0x60]
add esp, 0xc
test ecx, ecx
je 0x10021b85
mov eax, dword [0x100c4320]
test eax, eax
je 0x10021b85
dec dword [eax + 0x374]
push dword [0x100c4328]
push ecx
call dword [0x100be6bc]
mov eax, dword [ebp - 0x3c]
add esp, 8
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x38]
movss xmm4, dword [ebp - 0x40]
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x5c], esi
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc dword [ebx + 0x58]
cmp dword [ebp - 0x44], 0
mov ebx, dword [edi + 0x278]
je 0x10021bd9
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
jmp 0x10021be1
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
mov eax, dword [ebp - 0x28]
mov esi, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mulss xmm0, dword [eax - 4]
mulss xmm1, dword [eax]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x50], xmm1
cmp esi, ecx
jne 0x10021ca9
inc esi
test ecx, ecx
je 0x10021c1d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10021c22
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x10021ca9
mov eax, dword [0x100c4320]
test eax, eax
je 0x10021c3e
inc dword [eax + 0x374]
push dword [0x100c4328]
lea eax, [esi*8]
push eax
call dword [0x100be6b8]
mov edx, dword [ebx + 0x60]
add esp, 8
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x10021c99
mov ecx, dword [ebx + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.1004f980
mov ecx, dword [ebx + 0x60]
add esp, 0xc
test ecx, ecx
je 0x10021c86
mov eax, dword [0x100c4320]
test eax, eax
je 0x10021c86
dec dword [eax + 0x374]
push dword [0x100c4328]
push ecx
call dword [0x100be6bc]
mov eax, dword [ebp - 0x3c]
add esp, 8
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x38]
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x5c], esi
mov ecx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x58]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
movss xmm0, dword [ebp - 8]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
lea eax, [ebp - 0x1c]
inc dword [ebx + 0x58]
mov ebx, dword [ebp - 0x28]
mulss xmm0, dword [ebx - 4]
push dword [ebx + 8]
push dword [ebx + 4]
addss xmm0, xmm2
push ecx
mov ecx, dword [edi + 0x278]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [ebx]
addss xmm0, xmm3
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push eax
call fcn.1002bc40
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov esi, dword [edi + 0x278]
push dword [ecx + eax*4]
mov ecx, esi
push dword [esi + 0x58]
push dword [esi + 0x60]
call fcn.100265e0
mov eax, dword [ebp - 0x2c]
add ebx, 0x18
movss xmm4, dword [ebp - 0x40]
inc eax
mov dword [esi + 0x58], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
cmp eax, dword [ebp + 0x14]
jl 0x10021a82
push edi
call fcn.10021d60
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1004e12b
mov esp, ebp
pop ebp
ret