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

Disassembly:
sub esp, 0x64
mov eax, dword [0x10110f1c]
push edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
test byte [edi + 0xc], 0x42
jne 0x10022498
cmp byte [edi + 0xc4], 0
jg 0x10022498
cmp byte [edi + 0xc5], 0
jg 0x10022498
cmp byte [edi + 0xab], 0
je 0x10022498
movss xmm1, dword [eax + 0x3bd0]
xor edx, edx
mov cl, byte [eax + 0x66]
movaps xmm0, xmm1
mulss xmm0, dword [0x100bdecc]
test cl, cl
push esi
mulss xmm1, dword [0x100bdf04]
push 4
addss xmm0, dword [edi + 0x4c]
pop esi
cmovne edx, esi
mov byte [esp + 0x69], 0
mov dword [esp + 0x4c], edx
addss xmm0, dword [0x100ba4c4]
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100bdef0]
cvttss2si esi, xmm0
mov dword [esp + 0x48], esi
je 0x10021bc3
movss xmm0, dword [0x100ba4d0]
jmp 0x10021bc6
xorps xmm0, xmm0
movss xmm1, dword [0x100bdf50]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
push str.RESIZE
movss dword [esp + 0x34], xmm1
mov dword [esp + 0x38], 0x7f7fffff
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x40], xmm0
mov dword [edi + 0x148], 1
call fcn.1000b2f8
xor eax, eax
pop ecx
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x7c], eax
jle 0x10021f64
imul ecx, eax, 0x18
movd xmm6, esi
cvtdq2ps xmm6, xmm6
add ecx, 0x100baad0
mov dword [esp + 0x50], ecx
movss xmm4, dword [ecx]
mulss xmm4, dword [edi + 0x1c]
movss xmm2, dword [ecx + 4]
mulss xmm2, dword [edi + 0x20]
movss xmm0, dword [ecx + 8]
movss xmm1, dword [ecx + 0xc]
movaps xmm5, xmm0
addss xmm4, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
mulss xmm0, dword [esp + 0x54]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x54]
mulss xmm5, xmm6
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [esp + 0x20], xmm5
comiss xmm4, xmm5
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x24], xmm3
jbe 0x10021cb0
movss dword [esp + 0x18], xmm5
movss dword [esp + 0x20], xmm4
comiss xmm2, xmm3
jbe 0x10021cc1
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm2
push eax
mov ecx, edi
call fcn.10010571
push 8
mov edi, eax
lea eax, [esp + 0x1c]
push 0
push edi
push eax
call fcn.1001269c
push 0x40800
lea eax, [esp + 0x7f]
push eax
lea eax, [esp + 0x82]
push eax
lea eax, [esp + 0x34]
push edi
push eax
call fcn.1005e521
mov dh, byte [esp + 0x8e]
add esp, 0x24
mov dl, byte [esp + 0x6b]
test dh, dh
jne 0x10021d11
test dl, dl
je 0x10021ee3
mov edi, dword [esp + 0x5c]
mov eax, edi
mov ecx, dword [esp + 0x64]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4940], eax
test dl, dl
je 0x10021ee3
push 2
pop eax
cmp word [ecx + 0x370a], ax
jne 0x10021d91
test edi, edi
jne 0x10021d91
push dword [esp + 0x74]
mov eax, dword [esp + 0x74]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1001abb7
push edi
push edi
mov byte [esp + 0x7d], 1
movss xmm0, dword [eax]
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x50], xmm0
call fcn.10012219
mov dl, byte [esp + 0x7f]
add esp, 0x14
mov dh, byte [esp + 0x6a]
jmp 0x10021ef3
mov edi, dword [esp + 0x50]
movss xmm1, dword [0x100ba4c4]
mov edx, dword [esp + 0x84]
movss xmm0, dword [edi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10021db9
movss xmm5, dword [edx + 4]
jmp 0x10021dc1
movss xmm5, dword [0x100bdf64]
movss xmm2, dword [edi]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10021dd4
movss xmm4, dword [edx]
jmp 0x10021ddc
movss xmm4, dword [0x100bdf64]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [0x100bdf50]
lahf
test ah, 0x44
jp 0x10021df7
movss xmm7, dword [edx + 0xc]
jmp 0x10021dfa
movaps xmm7, xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10021e0a
movss xmm6, dword [edx + 8]
jmp 0x10021e0d
movaps xmm6, xmm0
movss xmm0, dword [edi + 8]
xorps xmm2, xmm2
mulss xmm0, dword [esp + 0x54]
movss xmm1, dword [edi + 0xc]
mulss xmm1, dword [esp + 0x54]
cvtsi2ss xmm2, esi
xorps xmm2, xmmword [0x100be030]
movaps xmm3, xmm2
mulss xmm2, dword [edi + 0xc]
mulss xmm3, dword [edi + 8]
subss xmm2, xmm1
subss xmm3, xmm0
mulss xmm2, dword [edi + 4]
mulss xmm3, dword [edi]
addss xmm2, xmm1
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ea0]
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdc4]
subss xmm0, dword [ecx + 0x3ea4]
addss xmm0, xmm2
comiss xmm5, xmm0
ja 0x10021e8b
movaps xmm5, xmm0
minss xmm5, xmm7
comiss xmm4, xmm3
ja 0x10021e97
movaps xmm4, xmm3
minss xmm4, xmm6
lea eax, [esp + 0x38]
movss dword [esp + 0x40], xmm4
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x48], xmm5
push eax
push edi
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x80]
push eax
call fcn.1001a715
movss xmm0, dword [esp + 0x50]
add esp, 0x14
mov dl, byte [esp + 0x6b]
mov dh, byte [esp + 0x6a]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x58], xmm0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10021ef3
test dl, dl
jne 0x10021ef3
test dh, dh
je 0x10021f51
mov ecx, dword [0x10110f1c]
lea edi, [esp + 8]
xor eax, eax
test dh, dh
push 0x20
setne al
add eax, 0x1e
test dl, dl
pop esi
cmovne eax, esi
lea esi, [ecx + 0x387c]
shl eax, 4
add esi, eax
lea eax, [esp + 8]
push eax
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 + 0x18]
mulss xmm0, dword [ecx + 0x37a0]
movss dword [esp + 0x18], xmm0
call fcn.1000cc8e
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x4c]
pop ecx
mov ecx, dword [esp + 0x5c]
mov dword [edx + ecx*4], eax
mov eax, ecx
mov edi, dword [esp + 0x70]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x7c]
jl 0x10021c22
xor edx, edx
mov dword [esp + 0x54], edx
cmp dword [esp + 0x4c], edx
jbe 0x100221d4
imul eax, edx, 0x1c
mov dword [esp + 0x48], eax
test edx, edx
je 0x10021fa2
cmp edx, 1
je 0x10021fa2
mov dword [esp + 0x58], 3
lea eax, [esp + 0x44]
mov dword [esp + 0x5c], 0xdc4
mov dword [esp + 0x60], 0x3ea4
jmp 0x10021fbe
mov dword [esp + 0x58], 4
lea eax, [esp + 0x40]
mov dword [esp + 0x5c], 0xdc0
mov dword [esp + 0x60], 0x3ea0
movd xmm0, esi
push ecx
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x40800000
mov dword [esp + 0x58], eax
lea eax, [esp + 0x10]
movss dword [esp], xmm0
push edx
push edi
push eax
call fcn.1001b703
add esp, 0x14
lea eax, [edx + 4]
mov ecx, edi
push eax
call fcn.10010571
push 8
mov edi, eax
lea eax, [esp + 0xc]
push 0
push edi
push eax
call fcn.1001269c
push 0x40800
lea eax, [esp + 0x7f]
push eax
lea eax, [esp + 0x82]
push eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.1005e521
mov dl, byte [esp + 0x8f]
add esp, 0x24
cmp byte [esp + 0x6a], 0
mov eax, dword [esp + 0x64]
je 0x10022046
movss xmm0, dword [eax + 0x3e84]
comiss xmm0, dword [0x100bdebc]
ja 0x1002204e
test dl, dl
je 0x100221a5
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x4940], ecx
test dl, dl
je 0x100221a5
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
movss xmm2, dword [0x100bdf64]
mov dword [edx], ecx
cmp ecx, 3
jne 0x10022085
mov ecx, dword [esp + 0x84]
movss xmm1, dword [ecx + 4]
jmp 0x1002209b
movaps xmm1, xmm2
movaps xmm0, xmm1
cmp ecx, 1
jne 0x100220a8
mov ecx, dword [esp + 0x84]
movss xmm2, dword [ecx]
movss xmm0, dword [0x100bdf50]
movaps xmm3, xmm0
jmp 0x100220c8
movaps xmm4, xmm2
cmp ecx, 2
jne 0x10022184
mov ecx, dword [esp + 0x84]
movss xmm3, dword [ecx + 0xc]
movss xmm0, dword [0x100bdf50]
movaps xmm5, xmm0
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [ecx + eax]
mov ecx, dword [esp + 0x60]
subss xmm0, dword [ecx + eax]
mov eax, dword [esp + 0x50]
addss xmm0, dword [0x100ba4d0]
movss dword [eax], xmm0
comiss xmm1, dword [esp + 0x44]
ja 0x10022118
movss xmm1, dword [esp + 0x44]
minss xmm1, xmm3
comiss xmm2, dword [esp + 0x40]
ja 0x10022129
movss xmm2, dword [esp + 0x40]
minss xmm2, xmm5
mov eax, dword [esp + 0x48]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm1
movss xmm0, dword [eax + 0x100bab40]
minss xmm0, dword [eax + 0x100bab38]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x100bab3c]
minss xmm0, dword [eax + 0x100bab44]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x34], xmm0
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.1001a715
add esp, 0x14
jmp 0x100221a9
movss xmm3, dword [0x100bdf50]
test ecx, ecx
jne 0x100220c0
mov ecx, dword [esp + 0x84]
movss xmm5, dword [ecx + 8]
jmp 0x100220cb
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x54]
inc edx
mov dword [esp + 0x54], edx
cmp edx, dword [esp + 0x4c]
jl 0x10021f74
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x58], xmm0
mov eax, dword [0x10110f1c]
mov ecx, dword [esp + 0x64]
mov eax, dword [eax + 0x3e40]
dec dword [eax + 0xe4]
and dword [edi + 0x148], 0
mov eax, dword [ecx + 0x4914]
test eax, eax
je 0x10022413
cmp dword [eax + 0x300], edi
jne 0x10022413
mov eax, dword [ecx + 0x47f0]
xorps xmm1, xmm1
xorps xmm3, xmm3
cmp eax, 2
jne 0x1002223e
cmp byte [ecx + 0xdd9], 0
je 0x10022413
push 0x204
push 0x203
push 0x202
push 0x201
jmp 0x10022257
cmp eax, 3
jne 0x10022271
push 0x272
push 0x271
push 0x270
push 0x26f
lea eax, [esp + 0x38]
push eax
call fcn.100142b9
mov ecx, dword [esp + 0x78]
add esp, 0x14
movss xmm3, dword [eax + 4]
movss xmm1, dword [eax]
ucomiss xmm1, dword [0x100ba4b8]
lahf
test ah, 0x44
jp 0x1002228f
ucomiss xmm3, dword [0x100ba4b8]
lahf
test ah, 0x44
jnp 0x10022413
movss xmm2, dword [ecx + 0x5c]
minss xmm2, dword [ecx + 0x58]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x100bdf40]
mov eax, dword [esp + 0x84]
mulss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm3
mulss xmm0, xmm1
addss xmm2, dword [ecx + 0x4938]
addss xmm0, dword [ecx + 0x4934]
movss dword [ecx + 0x4938], xmm2
movss dword [ecx + 0x4934], xmm0
movss xmm1, dword [eax]
subss xmm1, dword [edi + 0x14]
subss xmm1, dword [edi + 0x1c]
maxss xmm1, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x20]
movss dword [ecx + 0x4934], xmm1
lea edi, [esp + 8]
mov byte [ecx + 0x4928], 0
mov byte [ecx + 0x47fb], 1
maxss xmm0, xmm2
movss dword [ecx + 0x4938], xmm0
mov eax, dword [0x10110f1c]
lea esi, [eax + 0x3a7c]
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 + 0x14]
mulss xmm0, dword [eax + 0x37a0]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x18], xmm0
call fcn.1000cc8e
pop ecx
mov ecx, dword [esp + 0x80]
xorps xmm0, xmm0
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
cvttss2si esi, dword [eax + 0x4934]
cvttss2si edi, dword [eax + 0x4938]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movd xmm1, edi
ucomiss xmm2, xmm0
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x10022395
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1002241b
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x28]
movaps xmm0, xmm2
push ecx
push eax
addss xmm0, dword [eax + 0x24]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x28]
lea eax, [esp + 0x40]
push eax
movss dword [esp + 0x38], xmm0
call fcn.1001abb7
movd xmm2, esi
add esp, 0xc
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x64]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [eax + 0x4934]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [eax + 0x4934], xmm0
movss xmm0, dword [eax + 0x4938]
subss xmm0, xmm2
movss dword [eax + 0x4938], xmm0
jmp 0x10022421
movss xmm1, dword [esp + 0x60]
jmp 0x10022425
movss xmm1, dword [esp + 0x60]
mov edi, dword [esp + 0x70]
movss xmm0, dword [esp + 0x58]
ucomiss xmm0, dword [0x100bdf50]
pop esi
lahf
test ah, 0x44
jnp 0x1002244a
push edi
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
call fcn.10011b50
pop ecx
movss xmm0, dword [esp + 0x2c]
ucomiss xmm0, dword [0x100bdf50]
lahf
test ah, 0x44
jnp 0x10022486
cvttss2si eax, xmm0
push edi
movd xmm1, eax
cvttss2si eax, dword [esp + 0x34]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x14], xmm1
movss dword [edi + 0x18], xmm0
call fcn.10011b50
pop ecx
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
mov al, byte [esp + 0x65]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
jmp 0x1002249a
xor al, al
pop edi
add esp, 0x64
ret