Function at 0x10021b40
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 [0x100e3e74]
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 0x100220f8
mov ecx, dword [ebx + 0x1c8]
xor edx, edx
mov eax, dword [ebx + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1000ead0
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x1944], eax
jne 0x10021ba1
mov byte [esi + 0x1950], 1
cmp dword [esi + 0x1948], eax
jne 0x10021bb0
mov byte [esi + 0x1954], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x10021bcd
mov dl, byte [ecx]
test dl, dl
je 0x10021bcd
cmp dl, 0x23
jne 0x10021bc7
cmp byte [ecx + 1], dl
je 0x10021bcd
inc ecx
cmp ecx, 0xffffffff
jb 0x10021bb7
movss xmm2, dword [esi + 0x1854]
mov eax, dword [esi + 0x1850]
mov dword [esp + 0x30], eax
movss dword [esp + 0x34], xmm2
cmp edi, ecx
jne 0x10021bf1
xorps xmm0, xmm0
xorps xmm5, xmm5
jmp 0x10021c49
movss xmm3, dword [0x1009f68c]
push ecx
push ecx
push edi
push ecx
lea ecx, [esp + 0x48]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.10045ec0
movss xmm1, dword [esp + 0x38]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10021c30
mov eax, dword [esp + 0x30]
movss xmm2, dword [esp + 0x34]
divss xmm2, dword [eax]
subss xmm1, xmm2
addss xmm1, dword [0x1009f530]
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 0x10021ca8
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.10010630
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push 0
call fcn.10010f20
add esp, 4
test al, al
je 0x100220f8
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.1001e610
add esp, 0xc
mov byte [esp + 0xe], al
test al, al
je 0x10021d36
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 [0x1009f550]
mulsd xmm0, qword [0x1009f568]
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.10016f20
movss xmm1, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
movss xmm2, dword [esp + 0x34]
add esp, 4
addss xmm1, dword [0x1009f574]
addss xmm2, dword [0x1009f574]
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.100437e0
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
movss xmm4, dword [0x1009f508]
addss xmm1, xmm0
movaps xmm3, xmmword [0x1009fb70]
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 [0x1009f534]
movups xmmword [esp + 0x50], xmm3
jbe 0x10021e5b
xorps xmm2, xmm2
jmp 0x10021e62
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x1009f640]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x10021e86
xorps xmm2, xmm2
jmp 0x10021e8d
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 0x10021eae
xorps xmm2, xmm2
jmp 0x10021eb5
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 0x10021ed6
xorps xmm1, xmm1
jmp 0x10021eda
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.100437e0
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
je 0x100220a1
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x24]
addss xmm0, dword [0x1009f508]
movss xmm1, dword [esp + 0x1c]
push 0xf
push ecx
mov ecx, dword [ebx + 0x27c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x1009f534]
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.100437e0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x1009f574]
movss xmm1, dword [esp + 0x30]
addss xmm1, dword [0x1009f574]
movaps xmm3, xmmword [0x1009fb70]
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 [0x1009f534]
movss dword [esp + 0x40], xmm2
movups xmmword [esp + 0x50], xmm3
jbe 0x10021fe9
xorps xmm2, xmm2
jmp 0x10021ff0
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x1009f640]
movss xmm4, dword [0x1009f508]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x1002201c
xorps xmm2, xmm2
jmp 0x10022023
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 0x10022044
xorps xmm2, xmm2
jmp 0x1002204b
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 0x1002206c
xorps xmm1, xmm1
jmp 0x10022070
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.100437e0
movss xmm1, dword [esp + 0x34]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100220ed
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.100166e0
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