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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x100bf008]
xor eax, esp
mov dword [esp + 0x164], eax
cmp byte [0x100bfe80], 0
xorps xmm1, xmm1
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x5c], edi
je 0x100223e4
movss xmm0, dword [0x100c0250]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100223e4
mov ecx, dword [0x1011a804]
mov eax, dword [0x100bf240]
add ecx, 0xffffffca
xor ecx, 0xb869bbb0
test byte [ecx + eax], 1
jne 0x100223e4
movss xmm0, dword [0x100bff0c]
jmp 0x100223ec
movss xmm0, dword [0x100bfdc8]
mov eax, dword [0x100bf254]
movss dword [esp + 0x20], xmm0
movq xmm0, qword [0x100bf24c]
push 0x30
mov dword [esp + 0x70], eax
lea eax, [esp + 0x120]
movq qword [esp + 0x68], xmm0
xorps xmm0, xmm0
push 0
push eax
mov dword [0x10118a80], 0
mov dword [0x10118a7c], 0
movups xmmword [esp + 0x104], xmm0
mov dword [esp + 0x124], 0
movups xmmword [esp + 0x114], xmm0
call sub.VCRUNTIME140.dll_memset
movss xmm0, dword [esp + 0x2c]
add esp, 0xc
mulss xmm0, dword [0x100b5400]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x30], 0
cvttss2si eax, xmm0
movss xmm0, dword [esi]
mulss xmm0, dword [0x100b5280]
mov dword [esp + 0x60], eax
movss dword [esp + 0x14], xmm0
call fcn.1001c860
movss dword [esp + 0x158], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.1001c870
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [0x100b5280]
movss dword [esp + 0x14], xmm0
call fcn.1001c860
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.1001c870
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [0x100b5280]
movss dword [esp + 0x14], xmm0
call fcn.1001c860
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.1001c870
movss xmm4, dword [esp + 0x158]
movaps xmm2, xmm0
movss xmm3, dword [esp + 0x10]
movaps xmm0, xmm4
movss xmm5, dword [esp + 0x24]
movss xmm1, dword [esp + 0x2c]
movss xmm7, dword [esp + 0x28]
mulss xmm0, xmm3
movaps xmm6, xmm7
mulss xmm1, xmm2
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
mulss xmm6, xmm5
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
subss xmm6, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm1
movaps xmm1, xmm7
mulss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x44], xmm6
movaps xmm6, xmm7
mulss xmm6, xmm3
xorps xmm6, xmmword [0x100b56b0]
subss xmm6, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm4
movss dword [esp + 0x50], xmm6
movaps xmm6, xmm5
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm3
mulss xmm6, xmm2
mulss xmm0, xmm1
cmp dword [0x100bf2d8], 0x1f
addss xmm6, xmm0
mulss xmm5, xmm1
mulss xmm2, xmm3
mulss xmm7, xmm4
subss xmm5, xmm2
movss dword [esp + 0x4c], xmm6
movss dword [esp + 0x28], xmm7
movss dword [esp + 0x24], xmm5
jne 0x100225d3
movss xmm0, dword [0x100bffc8]
movss dword [esp + 0x20], xmm0
mov ecx, dword [0x100bf2d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x754]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov ecx, dword [0x100bf2d4]
fstp dword [esp + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6dc]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
xor ecx, ecx
fstp dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
nop dword [eax]
mov eax, dword [0x100bf240]
movaps xmm0, xmmword [0x100b5610]
mov dword [esp + 0xdc], edi
mov edi, dword [0x100bf2d4]
mov dword [esp + 0xd8], eax
mov eax, dword [ecx*4 + 0x100af7a0]
mov ecx, edi
movups xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xf0], 0x3f800000
mov byte [esp + 0xf4], 1
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0xffffffff
mov byte [esp + 0x168], 0
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x6f8]
call eax
mov esi, eax
test esi, esi
je 0x100228c0
cmp dword [esi + 0xf4], 0
je 0x100228c0
mov ecx, dword [0x1011a8d0]
push dword [esp + 0x10]
add ecx, 0xffffff97
xor ecx, 0xb869bbe3
mov eax, dword [ecx + edi]
mov dword [esp + 0x1c], eax
mov eax, dword [0x1011a8fc]
add eax, 0xffffff8c
xor eax, 0xb869bbee
movss xmm0, dword [eax + edi]
movss dword [esp + 0x3c], xmm0
call dword [0x1011a6f8]
mov eax, dword [0x1011a700]
mov dword [esp], 0x3f800000
push ecx
mov dword [esp + 0x18], eax
mov dword [esp], 0
call dword [esp + 0x18]
fstp dword [esp + 0x18]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x1011a700]
add esp, 8
cmp dword [esi + 0xc8], 4
fstp dword [esp + 0x34]
jne 0x10022764
mov ecx, dword [0x1011a6dc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jle 0x10022764
movd xmm0, dword [esi + 0xf4]
lea eax, [esp + 0x154]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x15c]
push eax
mulss xmm0, dword [esp + 0x40]
cvttss2si eax, xmm0
push eax
push 0
push dword [esp + 0x28]
call dword [0x1011a750]
jmp 0x100227b0
mov eax, dword [0x1011a700]
sub esp, 8
mov dword [esp + 0x24], eax
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [esp + 0x24]
mov eax, dword [0x1011a700]
fstp dword [esp + 0x15c]
mov dword [esp + 0x24], eax
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [esp + 0x24]
fstp dword [esp + 0x160]
add esp, 8
mov eax, dword [esp + 0x18]
cmp eax, 0x40
je 0x1002282f
cmp eax, 0x1c
jne 0x1002282f
movss xmm3, dword [esp + 0x38]
movss xmm0, dword [0x100b5418]
comiss xmm0, xmm3
jbe 0x1002282f
movss xmm1, dword [esp + 0x10]
mov eax, 3
movss xmm2, dword [esp + 0x154]
movaps xmm0, xmm1
dec eax
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
ja 0x100227e5
movss xmm0, dword [0x100b5358]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x100b5358]
subss xmm0, xmm2
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x154], xmm0
jmp 0x1002284a
movss xmm0, dword [esp + 0x10]
movss xmm3, dword [esp + 0x154]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x18], xmm3
movss xmm0, dword [esp + 0x158]
call fcn.100a2330
movaps xmmword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x34]
call fcn.100a2330
movss xmm4, dword [esp + 0x10]
movaps xmm2, xmm0
mulss xmm4, dword [esp + 0x40]
movaps xmm6, xmm2
movaps xmm0, xmmword [esp + 0xc0]
movaps xmm1, xmm0
shufps xmm2, xmm2, 1
mulss xmm1, dword [esp + 0x18]
shufps xmm0, xmm0, 1
mulss xmm0, dword [esp + 0x18]
mulss xmm6, xmm4
mulss xmm2, xmm4
addss xmm6, xmm1
addss xmm2, xmm0
jmp 0x100228c6
xorps xmm6, xmm6
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x44]
movss xmm0, dword [esp + 0x4c]
movss xmm4, dword [esp + 0x50]
movss xmm5, dword [esp + 0x28]
mulss xmm3, xmm2
mulss xmm0, xmm6
addss xmm3, dword [esp + 0x48]
mulss xmm4, xmm2
mulss xmm2, dword [esp + 0x58]
addss xmm4, dword [esp + 0x54]
addss xmm3, xmm0
mulss xmm5, xmm6
movss xmm0, dword [esp + 0x24]
addss xmm2, dword [esp + 0x2c]
mulss xmm0, xmm6
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm4, xmm0
subss xmm5, xmm2
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.1001c880
addss xmm0, dword [0x100b524c]
mov eax, dword [0x100bf2dc]
movss xmm7, dword [esp + 0x68]
movss xmm6, dword [esp + 0x6c]
mov dword [esp + 0x8c], 0
divss xmm3, xmm0
mov byte [esp + 0xb5], 1
divss xmm4, xmm0
movss xmm1, dword [eax + 0x104]
divss xmm5, xmm0
mulss xmm4, xmm1
mulss xmm3, xmm1
mulss xmm5, xmm1
addss xmm4, xmm7
addss xmm3, dword [esp + 0x64]
addss xmm5, xmm6
movaps xmm2, xmm4
movss dword [esp + 0x1c], xmm4
subss xmm2, xmm7
movaps xmm1, xmm3
movss dword [esp + 0x34], xmm3
subss xmm1, dword [esp + 0x64]
movaps xmm0, xmm5
movss dword [esp + 0x10], xmm5
subss xmm0, xmm6
movss dword [esp + 0x84], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x80], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x88], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10022a04
mov byte [esp + 0xb5], 0
mov ecx, dword [0x1011a5d4]
lea edx, [esp + 0xf8]
movss xmm0, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
push edx
mov dword [esp + 0xb4], 0
lea edx, [esp + 0x74]
mov byte [esp + 0xb8], 1
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x7c], xmm6
mov dword [esp + 0x80], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov eax, dword [ecx]
push edi
push 0x4600400b
push edx
mov eax, dword [eax + 0xc]
call eax
cmp dword [esp + 0x144], edi
jne 0x10022b25
mov eax, dword [esp + 0x13c]
cmp eax, 1
jl 0x10022aba
cmp eax, 7
jle 0x10022abf
cmp eax, 0xa
jne 0x10022b25
movss xmm0, dword [esp + 0x34]
lea edx, [esp + 0x15c]
inc dword [esp + 0x30]
lea ecx, [esp + 0xd8]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0xe8], xmm0
call fcn.1008d210
test al, al
je 0x10022b25
movss xmm0, dword [esp + 0x160]
inc dword [0x10118a80]
comiss xmm0, dword [0x100b5358]
jb 0x10022b25
inc dword [0x10118a7c]
mov edx, dword [esp + 0x30]
mov eax, edx
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, dword [esp + 0x60]
add eax, 0xff
cmp eax, esi
jb 0x10022b4f
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0xff
jb 0x10022610
cmp edx, esi
jl 0x10022b93
movd xmm0, dword [0x10118a80]
movd xmm1, dword [0x10118a7c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x100b5278]
comiss xmm1, xmm0
setae al
pop edi
pop esi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.100a127a
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x16c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100a127a
mov esp, ebp
pop ebp
ret 0xc