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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
mov esi, dword [0x100da794]
push edi
mov dword [esp + 0x24], edx
mov edi, ecx
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov ebx, dword [esi + 0x1928]
cmp byte [ebx + 0x7b], 0
jne 0x100224c8
mov ecx, dword [ebx + 0x1c8]
xor edx, edx
mov eax, dword [ebx + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1000ee80
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x1944], eax
jne 0x10021f71
mov byte [esi + 0x1950], 1
cmp dword [esi + 0x1948], eax
jne 0x10021f80
mov byte [esi + 0x1954], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x10021f9d
mov dl, byte [ecx]
test dl, dl
je 0x10021f9d
cmp dl, 0x23
jne 0x10021f97
cmp byte [ecx + 1], dl
je 0x10021f9d
inc ecx
cmp ecx, 0xffffffff
jb 0x10021f87
movss xmm2, dword [esi + 0x1854]
mov eax, dword [esi + 0x1850]
mov dword [esp + 0x30], eax
movss dword [esp + 0x34], xmm2
cmp edi, ecx
jne 0x10021fc1
xorps xmm0, xmm0
xorps xmm5, xmm5
jmp 0x10022019
movss xmm3, dword [0x100a0874]
push ecx
push ecx
push edi
push ecx
lea ecx, [esp + 0x48]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.10046260
movss xmm1, dword [esp + 0x38]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10022000
mov eax, dword [esp + 0x30]
movss xmm2, dword [esp + 0x34]
divss xmm2, dword [eax]
subss xmm1, xmm2
addss xmm1, dword [0x100a0718]
movss xmm2, dword [esp + 0x3c]
cvttss2si eax, xmm1
movd xmm5, eax
cvtdq2ps xmm5, xmm5
comiss xmm5, xmm0
movss xmm3, dword [esi + 0x1540]
movss xmm7, dword [esi + 0x1540]
addss xmm3, xmm3
movss xmm6, dword [ebx + 0xc8]
movaps xmm1, xmm7
movss xmm4, dword [ebx + 0xcc]
addss xmm1, xmm7
movss dword [esp + 0x34], xmm5
movss dword [esp + 0x14], xmm6
addss xmm3, dword [esi + 0x1854]
movss dword [esp + 0x18], xmm4
addss xmm1, xmm2
movss dword [esp + 0x30], xmm3
jbe 0x10022078
movaps xmm0, xmm5
addss xmm0, dword [esi + 0x1554]
addss xmm0, xmm3
movss dword [esp + 0x40], xmm6
addss xmm1, xmm4
movss dword [esp + 0x44], xmm4
lea ecx, [esp + 0x38]
addss xmm0, xmm6
movss dword [esp + 0x4c], xmm1
subss xmm1, xmm4
movss dword [esp + 0x48], xmm0
subss xmm0, xmm6
movss dword [esp + 0x3c], xmm1
movaps xmm1, xmm7
movss dword [esp + 0x38], xmm0
call fcn.10010a10
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push 0
call fcn.10011300
add esp, 4
test al, al
je 0x100224c8
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xe]
push 0
push eax
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x4c]
call fcn.1001e9e0
add esp, 0xc
mov byte [esp + 0xe], al
test al, al
je 0x10022106
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
sete cl
mov byte [eax], cl
movss xmm1, dword [esp + 0x30]
lea ecx, [esp + 0x40]
cvtps2pd xmm1, xmm1
mov edx, dword [esp + 0x1c]
push 1
movaps xmm0, xmm1
mulsd xmm1, qword [0x100a0738]
mulsd xmm0, qword [0x100a0750]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x14], xmm0
cvtpd2ps xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x34], xmm0
call fcn.10017300
movss xmm1, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
movss xmm2, dword [esp + 0x34]
add esp, 4
addss xmm1, dword [0x100a075c]
addss xmm2, dword [0x100a075c]
movss xmm0, dword [esp + 0x14]
push 0xf
push ecx
mov ecx, dword [ebx + 0x27c]
mov dword [esp], 0x41200000
push 0xff463d34
push eax
movss dword [esp + 0x50], xmm0
lea eax, [esp + 0x50]
movss xmm0, dword [esp + 0x20]
push eax
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm2
call fcn.10043b80
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
movss xmm4, dword [0x100a06f0]
addss xmm1, xmm0
movaps xmm3, xmmword [0x100a0d10]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm1, xmm4
movss dword [esp + 0x4c], xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x48], xmm1
movss xmm1, dword [0x100a071c]
movups xmmword [esp + 0x50], xmm3
jbe 0x1002222b
xorps xmm2, xmm2
jmp 0x10022232
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x100a0824]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x10022256
xorps xmm2, xmm2
jmp 0x1002225d
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm5, dword [esp + 0x58]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1002227e
xorps xmm2, xmm2
jmp 0x10022285
movaps xmm2, xmm1
minss xmm2, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x5c]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
jbe 0x100222a6
xorps xmm1, xmm1
jmp 0x100222aa
minss xmm1, xmm2
mulss xmm1, xmm3
push 0xf
push ecx
mov dword [esp], 0x41200000
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x27c]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10043b80
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
je 0x10022471
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x24]
addss xmm0, dword [0x100a06f0]
movss xmm1, dword [esp + 0x1c]
push 0xf
push ecx
mov ecx, dword [ebx + 0x27c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x100a071c]
addss xmm1, xmm0
mov dword [esp], 0x41200000
push 0xffbf9f3a
push eax
lea eax, [esp + 0x2c]
push eax
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
movss dword [esp + 0x30], xmm1
movss xmm1, dword [esp + 0x40]
subss xmm1, xmm0
movss dword [esp + 0x34], xmm1
call fcn.10043b80
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x100a075c]
movss xmm1, dword [esp + 0x30]
addss xmm1, dword [0x100a075c]
movaps xmm3, xmmword [0x100a0d10]
movss xmm2, dword [esp + 0x38]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x48], xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [0x100a071c]
movss dword [esp + 0x40], xmm2
movups xmmword [esp + 0x50], xmm3
jbe 0x100223b9
xorps xmm2, xmm2
jmp 0x100223c0
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x100a0824]
movss xmm4, dword [0x100a06f0]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x100223ec
xorps xmm2, xmm2
jmp 0x100223f3
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm5, dword [esp + 0x58]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x10022414
xorps xmm2, xmm2
jmp 0x1002241b
movaps xmm2, xmm1
minss xmm2, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x5c]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
jbe 0x1002243c
xorps xmm1, xmm1
jmp 0x10022440
minss xmm1, xmm2
mulss xmm1, xmm3
push 0xf
push ecx
mov dword [esp], 0x41200000
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x27c]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10043b80
movss xmm1, dword [esp + 0x34]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100224bd
movss xmm0, dword [esp + 0x10]
xor edx, edx
addss xmm0, dword [esi + 0x1554]
mov ecx, edi
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [esi + 0x1540]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 1
call fcn.10016ac0
add esp, 0xc
mov al, byte [esp + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret