Function at 0x10021b70
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 [0x100e3f64]
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 0x10022128
mov ecx, dword [ebx + 0x1c8]
xor edx, edx
mov eax, dword [ebx + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1000eb10
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x1944], eax
jne 0x10021bd1
mov byte [esi + 0x1950], 1
cmp dword [esi + 0x1948], eax
jne 0x10021be0
mov byte [esi + 0x1954], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x10021bfd
mov dl, byte [ecx]
test dl, dl
je 0x10021bfd
cmp dl, 0x23
jne 0x10021bf7
cmp byte [ecx + 1], dl
je 0x10021bfd
inc ecx
cmp ecx, 0xffffffff
jb 0x10021be7
movss xmm2, dword [esi + 0x1854]
mov eax, dword [esi + 0x1850]
mov dword [esp + 0x30], eax
movss dword [esp + 0x34], xmm2
cmp edi, ecx
jne 0x10021c21
xorps xmm0, xmm0
xorps xmm5, xmm5
jmp 0x10021c79
movss xmm3, dword [0x1009f964]
push ecx
push ecx
push edi
push ecx
lea ecx, [esp + 0x48]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.10045f00
movss xmm1, dword [esp + 0x38]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10021c60
mov eax, dword [esp + 0x30]
movss xmm2, dword [esp + 0x34]
divss xmm2, dword [eax]
subss xmm1, xmm2
addss xmm1, dword [0x1009f808]
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 0x10021cd8
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.10010670
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push 0
call fcn.10010f60
add esp, 4
test al, al
je 0x10022128
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.1001e640
add esp, 0xc
mov byte [esp + 0xe], al
test al, al
je 0x10021d66
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 [0x1009f828]
mulsd xmm0, qword [0x1009f840]
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.10016f60
movss xmm1, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
movss xmm2, dword [esp + 0x34]
add esp, 4
addss xmm1, dword [0x1009f84c]
addss xmm2, dword [0x1009f84c]
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.10043820
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
movss xmm4, dword [0x1009f7e0]
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 [0x1009f80c]
movups xmmword [esp + 0x50], xmm3
jbe 0x10021e8b
xorps xmm2, xmm2
jmp 0x10021e92
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x1009f918]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x10021eb6
xorps xmm2, xmm2
jmp 0x10021ebd
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 0x10021ede
xorps xmm2, xmm2
jmp 0x10021ee5
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 0x10021f06
xorps xmm1, xmm1
jmp 0x10021f0a
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.10043820
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
je 0x100220d1
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x24]
addss xmm0, dword [0x1009f7e0]
movss xmm1, dword [esp + 0x1c]
push 0xf
push ecx
mov ecx, dword [ebx + 0x27c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x1009f80c]
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.10043820
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x1009f84c]
movss xmm1, dword [esp + 0x30]
addss xmm1, dword [0x1009f84c]
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 [0x1009f80c]
movss dword [esp + 0x40], xmm2
movups xmmword [esp + 0x50], xmm3
jbe 0x10022019
xorps xmm2, xmm2
jmp 0x10022020
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x1009f918]
movss xmm4, dword [0x1009f7e0]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x1002204c
xorps xmm2, xmm2
jmp 0x10022053
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 0x10022074
xorps xmm2, xmm2
jmp 0x1002207b
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 0x1002209c
xorps xmm1, xmm1
jmp 0x100220a0
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.10043820
movss xmm1, dword [esp + 0x34]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1002211d
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.10016720
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