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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa4
mov eax, dword [0x1006b0dc]
xor eax, esp
mov dword [esp + 0xa0], eax
mov ebp, dword [0x1006bdd4]
mov eax, dword [ebp + 0x1958]
mov byte [eax + 0x92], 1
mov ebx, dword [ebp + 0x1958]
cmp byte [ebx + 0x95], 0
jne 0x10021ded
mov edi, dword [esp + 0xb8]
mov eax, dword [ebx + 0x1d8]
mov ecx, dword [ebx + 0x1e0]
mov eax, dword [ecx + eax*4 - 4]
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [esp + 4], 0
call fcn.1000a030
mov esi, eax
mov eax, dword [0x1006bdd4]
cmp dword [eax + 0x1974], esi
jne 0x1002181f
mov byte [eax + 0x1980], 1
cmp edi, 0xffffffff
je 0x1002184a
mov ecx, edi
jmp 0x1002183a
test edx, edx
je 0x1002185c
inc ecx
cmp ecx, 0xffffffff
je 0x10021857
movzx edx, byte [ecx]
cmp edx, 0x23
jne 0x10021830
cmp byte [ecx + 1], 0x23
jne 0x10021834
jmp 0x1002185c
movss xmm1, dword [eax + 0x1888]
jmp 0x100218f6
mov ecx, 0xffffffff
movss xmm1, dword [eax + 0x1888]
cmp ecx, edi
je 0x100218f6
mov edx, edi
mov edi, dword [eax + 0x1884]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
movss dword [esp + 4], xmm1
lea eax, [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xbf800000
mov dword [esp + 8], 0x7f7fffff
mov ecx, edi
movss dword [esp + 0x1c], xmm1
call fcn.1002ff40
sub esp, 0x1c
movss xmm0, dword [esp + 0x98]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jbe 0x100218d3
movss xmm1, dword [esp + 0x1c]
divss xmm1, dword [edi]
subss xmm0, xmm1
addss xmm0, dword [str.33s_]
cvttps2dq xmm0, xmm0
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x98], xmm0
movss xmm1, dword [esp + 0x9c]
jmp 0x1002190a
mov dword [esp + 0x98], 0
movss dword [esp + 0x9c], xmm1
movss xmm0, dword [ebp + 0x1524]
movaps xmm2, xmm0
addss xmm2, xmm0
addss xmm2, xmm1
movsd xmm3, qword [ebx + 0xdc]
movups xmmword [esp + 0x1c], xmm3
shufps xmm2, xmm2, 0
addps xmm2, xmm3
movups xmmword [esp + 0x4c], xmm2
movaps xmm1, xmm2
subps xmm1, xmm3
movups xmmword [esp + 0x5c], xmm1
movlps qword [esp + 0x88], xmm1
movss dword [esp + 4], xmm0
lea edi, [esp + 0x88]
mov dword [esp], edi
call fcn.1000b910
movups xmm5, xmmword [esp + 0x1c]
movhps xmm5, qword [esp + 0x4c]
movups xmmword [esp + 0x88], xmm5
movss xmm0, dword [esp + 0x98]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jbe 0x100219eb
movss xmm2, dword [ebp + 0x1538]
mov ecx, dword [0x1006bdd4]
mov eax, dword [ecx + 0x1958]
mov byte [eax + 0x92], 1
mov eax, dword [ecx + 0x1958]
cmp byte [eax + 0x95], 0
jne 0x100219eb
xorps xmm3, xmm3
ucomiss xmm3, xmm2
jbe 0x100219bb
movss xmm2, dword [ecx + 0x1530]
addss xmm2, dword [eax + 0xe4]
movss dword [eax + 0xdc], xmm2
movss xmm2, dword [eax + 0xe8]
movss dword [eax + 0xe0], xmm2
movsd xmm2, qword [eax + 0x104]
movsd qword [eax + 0xfc], xmm2
ucomiss xmm0, xmm1
movd xmm1, dword [ebp + 0x1524]
movsd xmm3, qword [ebx + 0xdc]
movq xmm2, xmm1
xorps xmm4, xmm4
shufps xmm2, xmm4, 0xe2
addps xmm2, xmm3
movss xmm3, dword [esp + 0x9c]
unpcklps xmm0, xmm3
addps xmm0, xmm2
movaps xmm3, xmm2
movlhps xmm3, xmm0
movups xmmword [esp + 0x78], xmm3
jbe 0x10021a8a
subss xmm0, xmm2
movss dword [esp + 0x70], xmm0
movups xmm0, xmmword [esp + 0x5c]
shufps xmm0, xmm0, 0x55
movss dword [esp + 0x74], xmm0
movd dword [esp + 4], xmm1
lea eax, [esp + 0x70]
mov dword [esp], eax
movups xmmword [esp + 0x3c], xmm5
movups xmmword [esp + 0x2c], xmm3
call fcn.1000b910
movups xmm2, xmmword [esp + 0x3c]
movaps xmm0, xmm2
movups xmm3, xmmword [esp + 0x2c]
cmpltps xmm0, xmm3
movaps xmm1, xmm3
cmpleps xmm1, xmm2
movsd xmm1, xmm0
andps xmm2, xmm1
andnps xmm1, xmm3
orps xmm1, xmm2
movups xmmword [esp + 0x88], xmm1
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 8], 0
call fcn.1000bb30
test al, al
je 0x10021ded
movups xmm0, xmmword [esp + 0x1c]
shufps xmm0, xmm0, 0x55
movups xmmword [esp + 0x2c], xmm0
movups xmm0, xmmword [esp + 0x4c]
shufps xmm0, xmm0, 0x55
movups xmmword [esp + 0x3c], xmm0
lea eax, [esp + 0x6f]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0x10], 0
call fcn.10019600
mov ebx, eax
test al, al
je 0x10021af6
mov eax, dword [esp + 0xbc]
xor byte [eax], 1
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 8], 1
call fcn.100171c0
xor ecx, ecx
cmp byte [esp + 0x6f], 0
sete cl
xor ecx, 9
cmp byte [esp + 0x70], 0
mov eax, 7
cmovne eax, ecx
mov edx, dword [0x1006bdd4]
shl eax, 4
movss xmm2, dword [edx + eax + 0x1584]
movss xmm1, dword [edx + eax + 0x1588]
movss xmm0, dword [edx + eax + 0x1590]
mulss xmm0, dword [edx + 0x14ec]
movss xmm4, dword [0x100581a0]
movaps xmm3, xmm4
minss xmm3, xmm2
xorps xmm5, xmm5
cmpltss xmm2, xmm5
andnps xmm2, xmm3
movss xmm3, dword [0x10058514]
mulss xmm2, xmm3
movss xmm6, dword [0x10058020]
addss xmm2, xmm6
cvttss2si ecx, xmm2
movaps xmm2, xmm4
minss xmm2, xmm1
cmpltss xmm1, xmm5
andnps xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm6
cvttss2si esi, xmm1
movss xmm1, dword [edx + eax + 0x158c]
unpcklps xmm1, xmm0
xorps xmm2, xmm2
movaps xmm0, xmmword [0x10058520]
minps xmm0, xmm1
cmpnltps xmm1, xmm2
andps xmm1, xmm0
mulps xmm1, xmmword [0x10058530]
addps xmm1, xmmword [0x10058540]
cvttps2dq xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 0x10
movd eax, xmm0
pslld xmm1, 0x18
pshufd xmm0, xmm1, 0x55
movd edx, xmm0
movss xmm0, dword [ebp + 0x1528]
shl esi, 8
or esi, ecx
or eax, esi
or edx, eax
movss dword [esp + 0x18], xmm0
movups xmm0, xmmword [esp + 0x3c]
movss dword [esp + 0xc], xmm0
movups xmm0, xmmword [esp + 0x4c]
movss dword [esp + 8], xmm0
movups xmm0, xmmword [esp + 0x2c]
movss dword [esp + 4], xmm0
movdqu xmm0, xmmword [esp + 0x1c]
movd dword [esp], xmm0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
call fcn.10016860
mov edi, dword [esp + 0xbc]
cmp byte [edi], 0
je 0x10021d79
movups xmm3, xmmword [esp + 0x5c]
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
movaps xmm1, xmm3
minss xmm1, xmm0
divss xmm1, dword [0x10058554]
cvttps2dq xmm0, xmm1
cvtdq2ps xmm1, xmm0
movss xmm4, dword [0x100581a0]
movaps xmm0, xmm4
maxss xmm0, xmm1
mov edx, dword [0x1006bdd4]
movss xmm1, dword [edx + 0x16a4]
movaps xmm2, xmm4
minss xmm2, xmm1
xorps xmm5, xmm5
cmpltss xmm1, xmm5
andnps xmm1, xmm2
movss xmm2, dword [0x10058514]
mulss xmm1, xmm2
movss xmm6, dword [0x10058020]
addss xmm1, xmm6
cvttss2si eax, xmm1
movss xmm1, dword [edx + 0x16a8]
minss xmm4, xmm1
cmpltss xmm1, xmm5
andnps xmm1, xmm4
mulss xmm1, xmm2
movss xmm2, dword [edx + 0x16b0]
mulss xmm2, dword [edx + 0x14ec]
addss xmm1, xmm6
cvttss2si ecx, xmm1
movss xmm1, dword [edx + 0x16ac]
unpcklps xmm1, xmm2
movaps xmm2, xmmword [0x10058520]
minps xmm2, xmm1
cmpnltps xmm1, xmmword [0x10058610]
andps xmm1, xmm2
movups xmm2, xmmword [esp + 0x2c]
addss xmm2, xmm0
movups xmm4, xmmword [esp + 0x1c]
addss xmm4, xmm0
addss xmm0, xmm0
mulps xmm1, xmmword [0x10058530]
addps xmm1, xmmword [0x10058540]
subss xmm3, xmm0
cvttps2dq xmm0, xmm1
movdqa xmm1, xmm0
pslld xmm0, 0x10
movd edx, xmm0
pslld xmm1, 0x18
pshufd xmm0, xmm1, 0x55
movd esi, xmm0
shl ecx, 8
or ecx, eax
or edx, ecx
or esi, edx
movss dword [esp + 4], xmm2
movss dword [esp], xmm4
movss dword [esp + 0xc], xmm3
mov dword [esp + 8], esi
call fcn.10016dd0
cmp byte [ebp + 0x29d4], 0
mov esi, dword [esp + 0xb8]
je 0x10021da9
cmp byte [edi], 0
mov eax, 0x10065147
mov edx, 0x10065143
cmove edx, eax
mov dword [esp], 0
lea ecx, [esp + 0x78]
call fcn.100160d0
movss xmm0, dword [esp + 0x98]
pxor xmm1, xmm1
ucomiss xmm0, xmm1
jbe 0x10021def
movss xmm0, dword [esp + 0x78]
movss xmm1, dword [esp + 0x7c]
mov dword [esp + 8], esi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
call fcn.10015f00
jmp 0x10021def
xor ebx, ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.10038f79
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret