Function at 0x10021f93
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 [0x100c68f8]
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 0x10022366
test edx, edx
jne 0x10021fe4
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021fce
sub ecx, edx
lea edx, [ecx + ebx]
mov ecx, dword [0x100c68f8]
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 0x10022281
cmp byte [esp + 0xf], 0
jne 0x10022288
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 0x1002222f
cmp byte [ecx + 0x2cb4], 0
movaps xmm1, xmm2
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm1
jne 0x100220e7
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm2
divss xmm0, xmm4
cvttss2si edi, xmm0
test edi, edi
jle 0x100220e7
xor esi, esi
cmp ebx, edx
jae 0x100220d2
cmp esi, edi
jge 0x100220c0
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 0x100220a0
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 0x10022218
mov esi, dword [esp + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [0x1004c76c]
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.10017e4d
add esp, 4
test al, al
jne 0x100221df
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x14]
push edx
push edi
mov edx, ebx
call fcn.1001c50d
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.1001bc31
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 0x10022129
xor edi, edi
jmp 0x100221f7
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 0x100221e3
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.100173b2
push 0
xor edx, edx
lea ecx, [esp + 0x3c]
call fcn.10017c5b
jmp 0x10022365
cmp byte [esp + 0xf], 0
je 0x100222d5
comiss xmm0, xmm1
ja 0x100222d5
mov esi, dword [ecx + 0x1a20]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100222b4
lea ecx, [esp + 0x30]
call fcn.10021b7a
movss xmm1, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
addss xmm1, dword [eax]
jmp 0x100222c7
comiss xmm1, xmm0
jbe 0x100222c7
movss xmm0, dword [esi + 0xc]
subss xmm0, dword [esi + 0x54]
addss xmm1, xmm0
subss xmm1, xmm3
maxss xmm1, dword [0x1004c600]
jmp 0x100222d8
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.1001c50d
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.100173b2
push 0
xor edx, edx
lea ecx, [esp + 0x3c]
call fcn.10017c5b
pop ecx
test al, al
je 0x10022366
push dword [esp + 0x3c]
movss xmm3, dword [esp + 0x20]
mov ecx, ebx
push dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
call fcn.1001bcbd
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret