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

Disassembly:
sub esp, 0x64
mov eax, dword [0x10114fd8]
push edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
test byte [edi + 0xc], 0x42
jne 0x10023064
cmp byte [edi + 0xc4], 0
jg 0x10023064
cmp byte [edi + 0xc5], 0
jg 0x10023064
cmp byte [edi + 0xab], 0
je 0x10023064
movss xmm1, dword [eax + 0x3bd0]
xor edx, edx
mov cl, byte [eax + 0x66]
movaps xmm0, xmm1
mulss xmm0, dword [0x100c0efc]
test cl, cl
push esi
mulss xmm1, dword [0x100c0f34]
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 [0x100bd4f4]
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100c0f20]
cvttss2si esi, xmm0
mov dword [esp + 0x48], esi
je 0x10022793
movss xmm0, dword [0x100bd500]
jmp 0x10022796
xorps xmm0, xmm0
movss xmm1, dword [0x100c0f80]
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.1000bde7
xor eax, eax
pop ecx
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x7c], eax
jle 0x10022b34
movss xmm4, dword [edi + 0x1c]
movss xmm2, dword [edi + 0x20]
imul ecx, eax, 0x18
movd xmm6, esi
cvtdq2ps xmm6, xmm6
add ecx, 0x100bdb00
mov dword [esp + 0x50], ecx
mulss xmm4, dword [ecx]
mulss xmm2, dword [ecx + 4]
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 0x10022880
movss dword [esp + 0x18], xmm5
movss dword [esp + 0x20], xmm4
comiss xmm2, xmm3
jbe 0x10022891
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm2
push eax
mov ecx, edi
call fcn.10011062
push 8
mov edi, eax
lea eax, [esp + 0x1c]
push 0
push edi
push eax
call fcn.100131e8
push 0x40800
lea eax, [esp + 0x7f]
push eax
lea eax, [esp + 0x82]
push eax
lea eax, [esp + 0x34]
push edi
push eax
call fcn.1005eec2
mov dh, byte [esp + 0x8e]
add esp, 0x24
mov dl, byte [esp + 0x6b]
test dh, dh
jne 0x100228e1
test dl, dl
je 0x10022ab3
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 0x10022ab3
push 2
pop eax
cmp word [ecx + 0x370a], ax
jne 0x10022961
test edi, edi
jne 0x10022961
push dword [esp + 0x74]
mov eax, dword [esp + 0x74]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1001b6fc
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.10012d65
mov dl, byte [esp + 0x7f]
add esp, 0x14
mov dh, byte [esp + 0x6a]
jmp 0x10022ac3
mov edi, dword [esp + 0x50]
movss xmm1, dword [0x100bd4f4]
mov edx, dword [esp + 0x84]
movss xmm0, dword [edi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10022989
movss xmm5, dword [edx + 4]
jmp 0x10022991
movss xmm5, dword [0x100c0f94]
movss xmm2, dword [edi]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x100229a4
movss xmm4, dword [edx]
jmp 0x100229ac
movss xmm4, dword [0x100c0f94]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [0x100c0f80]
lahf
test ah, 0x44
jp 0x100229c7
movss xmm7, dword [edx + 0xc]
jmp 0x100229ca
movaps xmm7, xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x100229da
movss xmm6, dword [edx + 8]
jmp 0x100229dd
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 [0x100c1060]
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 0x10022a5b
movaps xmm5, xmm0
minss xmm5, xmm7
comiss xmm4, xmm3
ja 0x10022a67
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.1001b25a
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 0x10022ac3
test dl, dl
jne 0x10022ac3
test dh, dh
je 0x10022b21
mov ecx, dword [0x10114fd8]
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.1000d7bf
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 0x100227f2
xor edx, edx
mov dword [esp + 0x54], edx
cmp dword [esp + 0x4c], edx
jbe 0x10022da4
imul eax, edx, 0x1c
mov dword [esp + 0x48], eax
test edx, edx
je 0x10022b72
cmp edx, 1
je 0x10022b72
mov dword [esp + 0x58], 3
lea eax, [esp + 0x44]
mov dword [esp + 0x5c], 0xdc4
mov dword [esp + 0x60], 0x3ea4
jmp 0x10022b8e
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.1001c206
add esp, 0x14
lea eax, [edx + 4]
mov ecx, edi
push eax
call fcn.10011062
push 8
mov edi, eax
lea eax, [esp + 0xc]
push 0
push edi
push eax
call fcn.100131e8
push 0x40800
lea eax, [esp + 0x7f]
push eax
lea eax, [esp + 0x82]
push eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.1005eec2
mov dl, byte [esp + 0x8f]
add esp, 0x24
cmp byte [esp + 0x6a], 0
mov eax, dword [esp + 0x64]
je 0x10022c16
movss xmm0, dword [eax + 0x3e84]
comiss xmm0, dword [0x100c0eec]
ja 0x10022c1e
test dl, dl
je 0x10022d75
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x4940], ecx
test dl, dl
je 0x10022d75
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
movss xmm2, dword [0x100c0f94]
mov dword [edx], ecx
cmp ecx, 3
jne 0x10022c55
mov ecx, dword [esp + 0x84]
movss xmm1, dword [ecx + 4]
jmp 0x10022c6b
movaps xmm1, xmm2
movaps xmm0, xmm1
cmp ecx, 1
jne 0x10022c78
mov ecx, dword [esp + 0x84]
movss xmm2, dword [ecx]
movss xmm0, dword [0x100c0f80]
movaps xmm3, xmm0
jmp 0x10022c98
movaps xmm4, xmm2
cmp ecx, 2
jne 0x10022d54
mov ecx, dword [esp + 0x84]
movss xmm3, dword [ecx + 0xc]
movss xmm0, dword [0x100c0f80]
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 [0x100bd500]
movss dword [eax], xmm0
comiss xmm1, dword [esp + 0x44]
ja 0x10022ce8
movss xmm1, dword [esp + 0x44]
minss xmm1, xmm3
comiss xmm2, dword [esp + 0x40]
ja 0x10022cf9
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 + 0x100bdb70]
minss xmm0, dword [eax + 0x100bdb68]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x100bdb6c]
minss xmm0, dword [eax + 0x100bdb74]
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.1001b25a
add esp, 0x14
jmp 0x10022d79
movss xmm3, dword [0x100c0f80]
test ecx, ecx
jne 0x10022c90
mov ecx, dword [esp + 0x84]
movss xmm5, dword [ecx + 8]
jmp 0x10022c9b
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x54]
inc edx
mov dword [esp + 0x54], edx
cmp edx, dword [esp + 0x4c]
jl 0x10022b44
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x58], xmm0
mov eax, dword [0x10114fd8]
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 0x10022fdf
cmp dword [eax + 0x300], edi
jne 0x10022fdf
mov eax, dword [ecx + 0x47f0]
xorps xmm1, xmm1
xorps xmm3, xmm3
cmp eax, 2
jne 0x10022e0e
cmp byte [ecx + 0xdd9], 0
je 0x10022fdf
push 0x204
push 0x203
push 0x202
push 0x201
jmp 0x10022e27
cmp eax, 3
jne 0x10022e41
push 0x272
push 0x271
push 0x270
push 0x26f
lea eax, [esp + 0x38]
push eax
call fcn.10014e50
mov ecx, dword [esp + 0x78]
add esp, 0x14
movss xmm3, dword [eax + 4]
movss xmm1, dword [eax]
ucomiss xmm1, dword [0x100bd4e8]
lahf
test ah, 0x44
jp 0x10022e5f
ucomiss xmm3, dword [0x100bd4e8]
lahf
test ah, 0x44
jnp 0x10022fdf
movss xmm2, dword [ecx + 0x5c]
minss xmm2, dword [ecx + 0x58]
mov eax, dword [esp + 0x84]
mulss xmm2, dword [ecx + 0x18]
mulss xmm2, dword [0x100c0f70]
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 [0x10114fd8]
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.1000d7bf
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 0x10022f61
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10022fe7
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.1001b6fc
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 0x10022fed
movss xmm1, dword [esp + 0x60]
jmp 0x10022ff1
movss xmm1, dword [esp + 0x60]
mov edi, dword [esp + 0x70]
movss xmm0, dword [esp + 0x58]
ucomiss xmm0, dword [0x100c0f80]
pop esi
lahf
test ah, 0x44
jnp 0x10023016
push edi
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
call fcn.10012679
pop ecx
movss xmm0, dword [esp + 0x2c]
ucomiss xmm0, dword [0x100c0f80]
lahf
test ah, 0x44
jnp 0x10023052
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.10012679
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 0x10023066
xor al, al
pop edi
add esp, 0x64
ret