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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], edx
mov edx, dword [0x100a93dc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], edx
test byte [edi + 0xc], 0x42
jne 0x1001b414
cmp byte [edi + 0xc4], 0
jg 0x1001b414
cmp byte [edi + 0xc5], 0
jg 0x1001b414
cmp byte [edi + 0xab], 0
je 0x1001b414
movss xmm2, dword [edx + 0x3bcc]
xor eax, eax
movss xmm0, dword [edi + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x1009d6d0]
mulss xmm2, dword [0x1009d684]
mov esi, 4
mov cl, byte [edx + 0x4a]
mulss xmm1, dword [0x1009d6dc]
test cl, cl
mov byte [esp + 0xb], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [esp + 0x64], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1009d6b4]
cvttss2si esi, xmm0
je 0x1001a964
movss xmm0, dword [0x1009d744]
movss dword [esp + 0x18], xmm0
jmp 0x1001a96d
xorps xmm2, xmm2
movss dword [esp + 0x18], xmm2
cmp byte [edx + 0x4b], 0
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x68], xmm0
je 0x1001a9a2
test byte [edi + 0xc], 1
jne 0x1001a9a2
mov ecx, edi
mov byte [esp + 0xa], 1
call fcn.100109f0
movss xmm1, dword [esp + 0x6c]
subss xmm1, xmm0
movss dword [esp + 0x3c], xmm1
jmp 0x1001a9b3
movss xmm0, dword [esp + 0x6c]
mov byte [esp + 0xa], 0
movss dword [esp + 0x3c], xmm0
movss xmm1, dword [0x1009d7e8]
mov ecx, str.RESIZE
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x14], xmm1
mov dword [edi + 0x148], 1
call fcn.1001f370
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [ebp + 0xc], edx
jle 0x1001ae34
nop dword [eax]
movss xmm0, dword [edi + 0x14]
lea eax, [edx + edx*2]
movss xmm1, dword [edi + 0x18]
movaps xmm4, xmm0
addss xmm4, dword [edi + 0x1c]
movaps xmm2, xmm1
mov dword [esp + 0x30], eax
addss xmm2, dword [edi + 0x20]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [eax*8 + 0x10095dc0]
mulss xmm2, dword [eax*8 + 0x10095dc4]
addss xmm4, xmm0
movss xmm0, dword [eax*8 + 0x10095dc8]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x18]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [eax*8 + 0x10095dcc]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x18]
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [esp + 0x50], xmm5
comiss xmm4, xmm5
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x54], xmm3
jbe 0x1001aaaf
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x50], xmm4
comiss xmm2, xmm3
jbe 0x1001aac0
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x54], xmm2
push edx
mov ecx, edi
call fcn.10016520
mov edi, eax
lea ecx, [esp + 0x48]
push 8
push 0
mov edx, edi
call fcn.100218b0
push 0x40800
lea eax, [esp + 0x14]
mov edx, edi
push eax
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x5c]
call fcn.1003a710
mov cl, byte [esp + 0x1d]
add esp, 0x14
test cl, cl
jne 0x1001ab0a
mov al, byte [esp + 8]
test al, al
je 0x1001ade1
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [esp + 0x2c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4ac8], eax
mov al, byte [esp + 8]
test al, al
je 0x1001adeb
cmp word [ecx + 0x370a], 2
jne 0x1001ab8e
test edx, edx
jne 0x1001ab8e
push dword [esp + 0x28]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
mov edx, edi
call fcn.1001a240
add esp, 4
mov byte [esp + 0xb], 1
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x14], xmm0
call fcn.10016630
mov edx, dword [esp + 0x1c]
cmp byte [esp + 8], 0
je 0x1001ae07
mov ecx, 0x20
jmp 0x1001ae13
mov edx, dword [esp + 0x30]
xorps xmm1, xmm1
movss xmm3, dword [0x1009d6d0]
movss xmm7, dword [edx*8 + 0x10095dc4]
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jnp 0x1001abcc
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x1001abbf
cmp byte [esp + 0xa], 0
jne 0x1001abcc
movss xmm2, dword [0x1009d80c]
movaps xmm6, xmm2
jmp 0x1001abda
movss xmm6, dword [esp + 0x3c]
movss xmm2, dword [0x1009d80c]
movss xmm0, dword [edx*8 + 0x10095dc0]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1001abf4
movss xmm4, dword [esp + 0x68]
jmp 0x1001abf7
movaps xmm4, xmm2
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x1001ac16
movss xmm2, dword [esp + 0x74]
movss dword [esp + 0x20], xmm2
movss xmm2, dword [0x1009d7e8]
jmp 0x1001ac24
movss xmm2, dword [0x1009d7e8]
movss dword [esp + 0x20], xmm2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001ac3b
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x10], xmm0
jmp 0x1001ac41
movss dword [esp + 0x10], xmm2
movss xmm5, dword [edx*8 + 0x10095dc8]
xorps xmm3, xmm3
movss xmm2, dword [edx*8 + 0x10095dcc]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x18]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x18]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x1009d930]
mulss xmm5, xmm3
mulss xmm2, xmm3
subss xmm5, xmm0
subss xmm2, xmm1
mulss xmm5, dword [edx*8 + 0x10095dc0]
mulss xmm2, xmm7
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3ec0]
addss xmm2, xmm1
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ec4]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x1001accf
movss xmm6, dword [esp + 0x20]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x1001acde
movss xmm4, dword [esp + 0x10]
minss xmm4, xmm5
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x34]
movss xmm5, dword [edx*8 + 0x10095dc0]
lea ecx, [esp + 0x40]
push eax
mov edx, edi
movss xmm0, dword [edi + 0x14]
movss xmm1, dword [edi + 0x18]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x1c]
subss xmm2, xmm4
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x20]
subss xmm3, xmm6
mulss xmm2, xmm5
mulss xmm3, xmm7
addss xmm2, xmm4
subss xmm4, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [esp + 0x28], xmm2
mulss xmm4, xmm5
mulss xmm6, xmm7
addss xmm4, xmm0
movss dword [esp + 0x14], xmm3
addss xmm6, xmm1
subss xmm4, xmm2
subss xmm6, xmm3
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm6
call fcn.1001a240
mov ecx, dword [esp + 0x34]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x10095dc0]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x1001ada3
subss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [ecx*8 + 0x10095dc4]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x1001add7
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x10]
subss xmm1, xmm0
movss dword [esp + 0x10], xmm1
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 8]
jmp 0x1001adef
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
jmp 0x1001adf3
mov edi, dword [esp + 0xc]
mov cl, byte [esp + 9]
test edx, edx
je 0x1001ab79
test al, al
jne 0x1001ab84
test cl, cl
je 0x1001ae26
xor ecx, ecx
cmp byte [esp + 9], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x1009d6d0]
call fcn.10014920
mov ecx, dword [ebp + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [esp + 0x1c], edx
cmp edx, dword [ebp + 0xc]
jl 0x1001aa00
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x64], edi
jbe 0x1001b13d
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x48], eax
test edi, edi
je 0x1001ae7b
cmp edi, 1
je 0x1001ae7b
mov dword [esp + 0x30], 3
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 0xdc0
mov dword [esp + 0x60], 0x3ec4
jmp 0x1001ae97
mov dword [esp + 0x30], 4
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], 0xdbc
mov dword [esp + 0x60], 0x3ec0
mov edx, dword [esp + 0xc]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x7c]
push edi
mov dword [esp + 0x30], eax
call fcn.1001a780
add esp, 8
lea eax, [edi + 4]
mov ecx, edx
push eax
call fcn.10016520
mov edi, eax
lea ecx, [esp + 0x78]
push 8
push 0
mov edx, edi
call fcn.100218b0
push 0x40800
lea eax, [esp + 0x14]
mov edx, edi
push eax
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x8c]
call fcn.1003a710
mov dl, byte [esp + 0x1c]
add esp, 0x14
cmp byte [esp + 9], 0
mov ecx, dword [esp + 0x2c]
je 0x1001af17
movss xmm0, dword [ecx + 0x3ea4]
comiss xmm0, dword [0x1009d670]
ja 0x1001af1f
test dl, dl
je 0x1001b12a
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov dword [ecx + 0x4ac8], eax
test dl, dl
je 0x1001b12e
mov eax, dword [ebp + 8]
mov dword [eax], edi
cmp edi, 3
je 0x1001af58
cmp edi, 2
jne 0x1001af4b
cmp byte [esp + 0xa], 0
jne 0x1001af58
movss xmm0, dword [0x1009d80c]
movaps xmm4, xmm0
jmp 0x1001af66
movss xmm4, dword [esp + 0x3c]
movss xmm0, dword [0x1009d80c]
cmp edi, 1
jne 0x1001b0f9
movss xmm3, dword [esp + 0x68]
movss xmm1, dword [0x1009d7e8]
movss xmm2, dword [0x1009d7e8]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [edx + ecx]
mov edx, dword [esp + 0x60]
subss xmm0, dword [edx + ecx]
mov ecx, dword [esp + 0x28]
addss xmm0, dword [0x1009d744]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x38]
comiss xmm4, xmm0
ja 0x1001afd3
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm3, xmm0
ja 0x1001afe5
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [esp + 0x48]
mov edx, eax
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x18]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x1c]
movss xmm7, dword [ecx + 0x10095bfc]
subss xmm5, xmm3
minss xmm7, dword [ecx + 0x10095c04]
movss xmm2, dword [ecx + 0x10095bf8]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x10095c00]
addss xmm1, dword [eax + 0x20]
subss xmm6, xmm4
lea ecx, [esp + 0x40]
movss dword [esp + 0x28], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [esp + 0x5c]
mulss xmm6, xmm7
addss xmm5, xmm3
movss dword [esp + 0x4c], xmm2
subss xmm3, xmm0
addss xmm6, xmm4
subss xmm4, xmm1
movss dword [esp + 0x28], xmm5
mulss xmm3, xmm2
mulss xmm4, xmm7
addss xmm3, xmm0
movss dword [esp + 0x14], xmm6
addss xmm4, xmm1
subss xmm3, xmm5
subss xmm4, xmm6
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm4
call fcn.1001a240
movss xmm0, dword [esp + 0x4c]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x1001b0c6
subss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [esp + 0x28]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x1001b12e
subss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x10]
subss xmm1, xmm0
movss dword [esp + 0x10], xmm1
jmp 0x1001b12e
movaps xmm3, xmm0
cmp edi, 2
jne 0x1001b10c
movss xmm1, dword [esp + 0x74]
jmp 0x1001af7d
movss xmm1, dword [0x1009d7e8]
movaps xmm3, xmm0
test edi, edi
jne 0x1001af7d
movss xmm2, dword [esp + 0x70]
jmp 0x1001af85
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x64]
jl 0x1001ae44
mov esi, dword [0x100a93dc]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0x3e60]
dec dword [eax + 0xe4]
mov dword [edx + 0x148], 0
mov eax, dword [edi + 0x495c]
test eax, eax
je 0x1001b34f
cmp dword [eax + 0x300], edx
jne 0x1001b34f
mov eax, dword [edi + 0x4820]
cmp eax, 2
jne 0x1001b1ad
cmp byte [edi + 0xdd9], 0
je 0x1001b34f
push 0x204
push 0x203
push 0x202
mov edx, 0x201
lea ecx, [esp + 0x4c]
jmp 0x1001b1ce
cmp eax, 3
jne 0x1001b34f
push 0x272
push 0x271
push 0x270
mov edx, 0x26f
lea ecx, [esp + 0x40]
call fcn.1001f5f0
add esp, 0xc
xorps xmm7, xmm7
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jp 0x1001b1f8
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jnp 0x1001b35a
movss xmm1, dword [edi + 0x3c]
mov ecx, 0x20
minss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1009d7c0]
mov edx, dword [esp + 0xc]
mulss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm2, xmm1
movss xmm1, dword [esp + 0x68]
mulss xmm0, xmm3
addss xmm2, dword [edi + 0x4980]
addss xmm0, dword [edi + 0x497c]
movss dword [edi + 0x4980], xmm2
movss dword [edi + 0x497c], xmm0
subss xmm1, dword [edx + 0x14]
subss xmm1, dword [edx + 0x1c]
maxss xmm0, xmm1
movss xmm1, dword [esp + 0x3c]
subss xmm1, dword [edx + 0x18]
subss xmm1, dword [edx + 0x20]
movss dword [edi + 0x497c], xmm0
mov byte [edi + 0x4970], 0
mov byte [edi + 0x482b], 1
maxss xmm2, xmm1
movss xmm1, dword [0x1009d6d0]
movss dword [edi + 0x4980], xmm2
call fcn.10014920
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x497c]
cvttss2si edi, dword [edi + 0x4980]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1001b2d3
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x1001b366
addss xmm0, dword [edx + 0x24]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x4c]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x28]
movss dword [esp + 0x60], xmm0
call fcn.1001a240
mov edx, dword [esp + 0x30]
add esp, 4
movd xmm2, esi
xorps xmm7, xmm7
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edx + 0x497c]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [edx + 0x497c], xmm0
movss xmm0, dword [edx + 0x4980]
subss xmm0, xmm2
movss dword [edx + 0x4980], xmm0
mov edx, dword [esp + 0xc]
jmp 0x1001b36c
movss xmm1, dword [esp + 0x14]
xorps xmm7, xmm7
jmp 0x1001b372
movss xmm1, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
jmp 0x1001b372
movss xmm1, dword [esp + 0x14]
mov esi, dword [0x100a93dc]
movss xmm0, dword [esp + 0x20]
movss xmm2, dword [0x1009d7e8]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001b3ae
test dword [edx + 0xc], 0x100
movss dword [edx + 0x24], xmm0
movss dword [edx + 0x28], xmm1
jne 0x1001b3ae
comiss xmm7, dword [esi + 0x5a7c]
jb 0x1001b3ae
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5a7c], eax
movss xmm0, dword [esp + 0x24]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001b3fa
test dword [edx + 0xc], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x14], xmm1
movss dword [edx + 0x18], xmm0
jne 0x1001b3fa
comiss xmm7, dword [esi + 0x5a7c]
jb 0x1001b3fa
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x5a7c], ecx
mov esi, dword [esp + 0xc]
mov ecx, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov al, byte [esp + 0xb]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret