Function at 0x10019b50
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 [0x100a9f28]
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], edx
test byte [edi + 0xc], 0x42
jne 0x1001a6c4
cmp byte [edi + 0xc4], 0
jg 0x1001a6c4
cmp byte [edi + 0xc5], 0
jg 0x1001a6c4
cmp byte [edi + 0xab], 0
je 0x1001a6c4
movss xmm2, dword [edx + 0x3bcc]
xor eax, eax
movss xmm0, dword [edi + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x1009e48c]
mulss xmm2, dword [0x1009e434]
mov esi, 4
mov cl, byte [edx + 0x4a]
mulss xmm1, dword [0x1009e498]
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 [0x1009e470]
cvttss2si esi, xmm0
je 0x10019c14
movss xmm0, dword [0x1009e514]
movss dword [esp + 0x18], xmm0
jmp 0x10019c1d
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 0x10019c52
test byte [edi + 0xc], 1
jne 0x10019c52
mov ecx, edi
mov byte [esp + 0xa], 1
call fcn.1000fc60
movss xmm1, dword [esp + 0x6c]
subss xmm1, xmm0
movss dword [esp + 0x3c], xmm1
jmp 0x10019c63
movss xmm0, dword [esp + 0x6c]
mov byte [esp + 0xa], 0
movss dword [esp + 0x3c], xmm0
movss xmm1, dword [0x1009e5c0]
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.1001e7e0
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [ebp + 0xc], edx
jle 0x1001a0e4
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 + 0x10096c10]
mulss xmm2, dword [eax*8 + 0x10096c14]
addss xmm4, xmm0
movss xmm0, dword [eax*8 + 0x10096c18]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x18]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [eax*8 + 0x10096c1c]
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 0x10019d5f
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x50], xmm4
comiss xmm2, xmm3
jbe 0x10019d70
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x54], xmm2
push edx
mov ecx, edi
call fcn.10015770
mov edi, eax
lea ecx, [esp + 0x48]
push 8
push 0
mov edx, edi
call fcn.10020d30
push 0x40800
lea eax, [esp + 0x14]
mov edx, edi
push eax
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x5c]
call fcn.10039a10
mov cl, byte [esp + 0x1d]
add esp, 0x14
test cl, cl
jne 0x10019dba
mov al, byte [esp + 8]
test al, al
je 0x1001a091
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 0x1001a09b
cmp word [ecx + 0x370a], 2
jne 0x10019e3e
test edx, edx
jne 0x10019e3e
push dword [esp + 0x28]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
mov edx, edi
call fcn.100194f0
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.10015880
mov edx, dword [esp + 0x1c]
cmp byte [esp + 8], 0
je 0x1001a0b7
mov ecx, 0x20
jmp 0x1001a0c3
mov edx, dword [esp + 0x30]
xorps xmm1, xmm1
movss xmm3, dword [0x1009e48c]
movss xmm7, dword [edx*8 + 0x10096c14]
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jnp 0x10019e7c
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x10019e6f
cmp byte [esp + 0xa], 0
jne 0x10019e7c
movss xmm2, dword [0x1009e5ec]
movaps xmm6, xmm2
jmp 0x10019e8a
movss xmm6, dword [esp + 0x3c]
movss xmm2, dword [0x1009e5ec]
movss xmm0, dword [edx*8 + 0x10096c10]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10019ea4
movss xmm4, dword [esp + 0x68]
jmp 0x10019ea7
movaps xmm4, xmm2
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x10019ec6
movss xmm2, dword [esp + 0x74]
movss dword [esp + 0x20], xmm2
movss xmm2, dword [0x1009e5c0]
jmp 0x10019ed4
movss xmm2, dword [0x1009e5c0]
movss dword [esp + 0x20], xmm2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10019eeb
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x10], xmm0
jmp 0x10019ef1
movss dword [esp + 0x10], xmm2
movss xmm5, dword [edx*8 + 0x10096c18]
xorps xmm3, xmm3
movss xmm2, dword [edx*8 + 0x10096c1c]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x18]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x18]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x1009e710]
mulss xmm5, xmm3
mulss xmm2, xmm3
subss xmm5, xmm0
subss xmm2, xmm1
mulss xmm5, dword [edx*8 + 0x10096c10]
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 0x10019f7f
movss xmm6, dword [esp + 0x20]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x10019f8e
movss xmm4, dword [esp + 0x10]
minss xmm4, xmm5
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x34]
movss xmm5, dword [edx*8 + 0x10096c10]
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.100194f0
mov ecx, dword [esp + 0x34]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x10096c10]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x1001a053
subss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [ecx*8 + 0x10096c14]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x1001a087
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 0x1001a09f
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
jmp 0x1001a0a3
mov edi, dword [esp + 0xc]
mov cl, byte [esp + 9]
test edx, edx
je 0x10019e29
test al, al
jne 0x10019e34
test cl, cl
je 0x1001a0d6
xor ecx, ecx
cmp byte [esp + 9], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x1009e48c]
call fcn.10013b70
mov ecx, dword [ebp + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [esp + 0x1c], edx
cmp edx, dword [ebp + 0xc]
jl 0x10019cb0
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x64], edi
jbe 0x1001a3ed
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x48], eax
test edi, edi
je 0x1001a12b
cmp edi, 1
je 0x1001a12b
mov dword [esp + 0x30], 3
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 0xdc0
mov dword [esp + 0x60], 0x3ec4
jmp 0x1001a147
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.10019a30
add esp, 8
lea eax, [edi + 4]
mov ecx, edx
push eax
call fcn.10015770
mov edi, eax
lea ecx, [esp + 0x78]
push 8
push 0
mov edx, edi
call fcn.10020d30
push 0x40800
lea eax, [esp + 0x14]
mov edx, edi
push eax
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x8c]
call fcn.10039a10
mov dl, byte [esp + 0x1c]
add esp, 0x14
cmp byte [esp + 9], 0
mov ecx, dword [esp + 0x2c]
je 0x1001a1c7
movss xmm0, dword [ecx + 0x3ea4]
comiss xmm0, dword [0x1009e420]
ja 0x1001a1cf
test dl, dl
je 0x1001a3da
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov dword [ecx + 0x4ac8], eax
test dl, dl
je 0x1001a3de
mov eax, dword [ebp + 8]
mov dword [eax], edi
cmp edi, 3
je 0x1001a208
cmp edi, 2
jne 0x1001a1fb
cmp byte [esp + 0xa], 0
jne 0x1001a208
movss xmm0, dword [0x1009e5ec]
movaps xmm4, xmm0
jmp 0x1001a216
movss xmm4, dword [esp + 0x3c]
movss xmm0, dword [0x1009e5ec]
cmp edi, 1
jne 0x1001a3a9
movss xmm3, dword [esp + 0x68]
movss xmm1, dword [0x1009e5c0]
movss xmm2, dword [0x1009e5c0]
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 [0x1009e514]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x38]
comiss xmm4, xmm0
ja 0x1001a283
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm3, xmm0
ja 0x1001a295
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 + 0x10096a4c]
subss xmm5, xmm3
minss xmm7, dword [ecx + 0x10096a54]
movss xmm2, dword [ecx + 0x10096a48]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x10096a50]
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.100194f0
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 0x1001a376
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 0x1001a3de
subss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x10]
subss xmm1, xmm0
movss dword [esp + 0x10], xmm1
jmp 0x1001a3de
movaps xmm3, xmm0
cmp edi, 2
jne 0x1001a3bc
movss xmm1, dword [esp + 0x74]
jmp 0x1001a22d
movss xmm1, dword [0x1009e5c0]
movaps xmm3, xmm0
test edi, edi
jne 0x1001a22d
movss xmm2, dword [esp + 0x70]
jmp 0x1001a235
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x64]
jl 0x1001a0f4
mov esi, dword [0x100a9f28]
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 0x1001a5ff
cmp dword [eax + 0x300], edx
jne 0x1001a5ff
mov eax, dword [edi + 0x4820]
cmp eax, 2
jne 0x1001a45d
cmp byte [edi + 0xdd9], 0
je 0x1001a5ff
push 0x204
push 0x203
push 0x202
mov edx, 0x201
lea ecx, [esp + 0x4c]
jmp 0x1001a47e
cmp eax, 3
jne 0x1001a5ff
push 0x272
push 0x271
push 0x270
mov edx, 0x26f
lea ecx, [esp + 0x40]
call fcn.1001ea60
add esp, 0xc
xorps xmm7, xmm7
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jp 0x1001a4a8
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jnp 0x1001a60a
movss xmm1, dword [edi + 0x3c]
mov ecx, 0x20
minss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1009e598]
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 [0x1009e48c]
movss dword [edi + 0x4980], xmm2
call fcn.10013b70
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 0x1001a583
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x1001a616
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.100194f0
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 0x1001a61c
movss xmm1, dword [esp + 0x14]
xorps xmm7, xmm7
jmp 0x1001a622
movss xmm1, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
jmp 0x1001a622
movss xmm1, dword [esp + 0x14]
mov esi, dword [0x100a9f28]
movss xmm0, dword [esp + 0x20]
movss xmm2, dword [0x1009e5c0]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001a65e
test dword [edx + 0xc], 0x100
movss dword [edx + 0x24], xmm0
movss dword [edx + 0x28], xmm1
jne 0x1001a65e
comiss xmm7, dword [esi + 0x5a7c]
jb 0x1001a65e
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5a7c], eax
movss xmm0, dword [esp + 0x24]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001a6aa
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 0x1001a6aa
comiss xmm7, dword [esi + 0x5a7c]
jb 0x1001a6aa
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