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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, ecx
mov dword [esp + 8], edx
mov ecx, dword [0x100c68c8]
push esi
push edi
mov eax, dword [ecx + 0x1a20]
mov byte [eax + 0x78], 1
mov esi, dword [ecx + 0x1a20]
cmp byte [esi + 0x7b], 0
jne 0x10021e8b
test edx, edx
jne 0x10021b09
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021af3
sub ecx, edx
lea edx, [ecx + ebx]
mov ecx, dword [0x100c68c8]
mov dword [esp + 0x10], edx
movss xmm1, dword [esi + 0x16c]
xorps xmm0, xmm0
movss xmm2, dword [esi + 0xec]
mov eax, edx
addss xmm2, dword [esi + 0xcc]
movss xmm3, dword [esi + 0xc8]
comiss xmm1, xmm0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x24], xmm2
setae byte [esp + 0xf]
sub eax, ebx
cmp eax, 0x7d0
jle 0x10021da6
cmp byte [esp + 0xf], 0
jne 0x10021dad
movss xmm4, dword [ecx + 0x1938]
lea edi, [esp + 0x38]
add esi, 0x1d4
movss dword [esp + 0x18], xmm4
xorps xmm5, xmm5
xorps xmm1, xmm1
movss dword [esp + 0x1c], xmm5
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 0x44]
comiss xmm0, xmm2
jb 0x10021d54
cmp byte [ecx + 0x2cb4], 0
movaps xmm1, xmm2
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm1
jne 0x10021c0c
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm2
divss xmm0, xmm4
cvttss2si edi, xmm0
test edi, edi
jle 0x10021c0c
xor esi, esi
cmp ebx, edx
jae 0x10021bf7
cmp esi, edi
jge 0x10021be5
push 0xa
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov edx, dword [esp + 0x18]
test eax, eax
mov ebx, edx
cmovne ebx, eax
inc ebx
inc esi
pop ecx
pop ecx
cmp ebx, edx
jb 0x10021bc5
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x18]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm2
movss dword [esp + 0x34], xmm1
cmp ebx, edx
jae 0x10021d3d
mov esi, dword [esp + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [0x1004c84c]
movaps xmm2, xmm1
movss dword [esp + 0x38], xmm3
addss xmm2, xmm4
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x44], xmm2
push 0xa
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
add esp, 4
lea ecx, [esp + 0x3c]
xor edx, edx
mov edi, eax
call fcn.1001795b
add esp, 4
test al, al
jne 0x10021d04
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x14]
push edx
push edi
mov edx, ebx
call fcn.1001c032
movss xmm0, dword [esp + 0x1c]
add esp, 0xc
maxss xmm0, dword [esp + 0x1c]
mov edx, edi
mov ecx, ebx
push 0
push dword [esp + 0x38]
movss dword [esp + 0x24], xmm0
push dword [esp + 0x38]
call fcn.1001b756
movss xmm0, dword [esp + 0x34]
add esp, 0xc
movss xmm1, dword [esp + 0x18]
test edi, edi
addss xmm0, xmm1
mov ebx, esi
cmovne ebx, edi
inc ebx
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
cmp ebx, esi
jb 0x10021c4e
xor edi, edi
jmp 0x10021d1c
push 0xa
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
test eax, eax
mov ebx, esi
pop ecx
cmovne ebx, eax
inc ebx
inc edi
pop ecx
cmp ebx, esi
jb 0x10021d08
movss xmm1, dword [esp + 0x34]
movss xmm2, dword [esp + 0x24]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
addss xmm1, xmm0
movss xmm3, dword [esp + 0x20]
subss xmm1, xmm2
movss xmm5, dword [esp + 0x1c]
xorps xmm0, xmm0
addss xmm1, xmm0
addss xmm1, xmm2
movss dword [esp + 0x38], xmm3
addss xmm5, xmm3
movss dword [esp + 0x3c], xmm2
lea ecx, [esp + 0x30]
movss dword [esp + 0x44], xmm1
subss xmm1, xmm2
movss dword [esp + 0x40], xmm5
subss xmm5, xmm3
movss dword [esp + 0x34], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x30], xmm5
call fcn.10016ec0
push 0
xor edx, edx
lea ecx, [esp + 0x3c]
call fcn.10017769
jmp 0x10021e8a
cmp byte [esp + 0xf], 0
je 0x10021dfa
comiss xmm0, xmm1
ja 0x10021dfa
mov esi, dword [ecx + 0x1a20]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10021dd9
lea ecx, [esp + 0x30]
call fcn.1002169f
movss xmm1, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
addss xmm1, dword [eax]
jmp 0x10021dec
comiss xmm1, xmm0
jbe 0x10021dec
movss xmm0, dword [esi + 0xc]
subss xmm0, dword [esi + 0x54]
addss xmm1, xmm0
subss xmm1, xmm3
maxss xmm1, dword [0x1004c6e0]
jmp 0x10021dfd
xorps xmm1, xmm1
push ecx
movss dword [esp], xmm1
lea ecx, [esp + 0x34]
push 0
push edx
mov edx, ebx
movss dword [esp + 0x28], xmm1
call fcn.1001c032
movss xmm1, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
movss xmm3, dword [esp + 0x2c]
add esp, 0xc
movss xmm2, dword [esp + 0x24]
addss xmm1, xmm3
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x44], xmm0
call fcn.10016ec0
push 0
xor edx, edx
lea ecx, [esp + 0x3c]
call fcn.10017769
pop ecx
test al, al
je 0x10021e8b
push dword [esp + 0x3c]
movss xmm3, dword [esp + 0x20]
mov ecx, ebx
push dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
call fcn.1001b7e2
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret