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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x1008c00c]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [0x10090d48]
test byte [edi + 8], 0x42
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], eax
jne 0x1000a39c
cmp byte [edi + 0xc0], 0
jg 0x1000a39c
cmp byte [edi + 0xc1], 0
jg 0x1000a39c
cmp byte [edi + 0xa7], 0
je 0x1000a39c
movss xmm2, dword [eax + 0x3bb4]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x10088500]
mulss xmm2, dword [0x10088488]
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x10088528]
test cl, cl
push 4
addss xmm0, xmm2
mov byte [esp + 0x13], 0
pop esi
cmovne edx, esi
mov dword [esp + 0x50], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100884d8]
cvttss2si esi, xmm0
je 0x100099e4
movss xmm0, dword [0x100885d0]
jmp 0x100099e7
xorps xmm0, xmm0
movss dword [esp + 0x14], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x100886f4]
movaps xmm1, xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x18], xmm0
mov dword [edi + 0x144], 1
call fcn.1000dd0d
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0xc], eax
jle 0x10009e00
movss xmm3, dword [edi + 0x10]
xorps xmm6, xmm6
addss xmm3, dword [edi + 0x18]
movss xmm2, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x14]
imul ecx, eax, 0x18
cvtsi2ss xmm6, esi
add ecx, 0x100742c0
subss xmm3, dword [edi + 0x10]
subss xmm2, dword [edi + 0x14]
mov dword [esp + 0x30], ecx
movss xmm0, dword [ecx + 8]
movss xmm1, dword [ecx + 0xc]
movaps xmm5, xmm0
mulss xmm3, dword [ecx]
movaps xmm4, xmm1
mulss xmm2, dword [ecx + 4]
addss xmm3, dword [edi + 0x10]
mulss xmm0, dword [esp + 0x14]
addss xmm2, dword [edi + 0x14]
mulss xmm1, dword [esp + 0x14]
mulss xmm5, xmm6
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x6c], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x70], xmm4
jbe 0x10009ad5
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x6c], xmm3
comiss xmm2, xmm4
jbe 0x10009ae6
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x70], xmm2
push eax
mov ecx, edi
call fcn.10006677
mov edi, eax
lea ecx, [esp + 0x64]
push 8
push 0
mov edx, edi
call fcn.1000fe07
push 0x40800
lea eax, [esp + 0x19]
mov edx, edi
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x78]
call fcn.1004e698
mov dl, byte [esp + 0x22]
add esp, 0x14
test dl, dl
jne 0x10009b30
mov cl, byte [esp + 0xd]
test cl, cl
je 0x10009d9f
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [esp + 0x2c]
not eax
and eax, 1
add eax, 5
cmp byte [esp + 0xd], 0
mov dword [ecx + 0x492c], eax
je 0x10009da5
push 2
pop eax
cmp word [ecx + 0x3702], ax
jne 0x10009b9f
test edx, edx
jne 0x10009b9f
push dword [esp + 0x34]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x44]
mov edx, edi
call fcn.1000930c
pop ecx
xor edx, edx
mov byte [esp + 0xf], 1
xor ecx, ecx
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x18], xmm0
call fcn.10006863
jmp 0x10009dc1
mov edi, dword [esp + 0x30]
movss xmm0, dword [0x10088500]
mov edx, dword [ebp + 0x14]
movss xmm1, dword [edi + 4]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10009bc3
movss xmm6, dword [edx + 4]
jmp 0x10009bcb
movss xmm6, dword [0x1008876c]
movss xmm2, dword [edi]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10009bde
movss xmm5, dword [edx]
jmp 0x10009be6
movss xmm5, dword [0x1008876c]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
movss xmm1, dword [0x100886f4]
lahf
test ah, 0x44
jp 0x10009c01
movss xmm7, dword [edx + 0xc]
jmp 0x10009c04
movaps xmm7, xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10009c1a
movss xmm0, dword [edx + 8]
movss dword [esp + 0x20], xmm0
jmp 0x10009c20
movss dword [esp + 0x20], xmm1
mov eax, dword [esp + 0x30]
xorps xmm3, xmm3
cvtsi2ss xmm3, esi
movss xmm4, dword [eax + 8]
xorps xmm3, xmmword [0x10089010]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x14]
movss xmm2, dword [eax + 0xc]
mulss xmm4, xmm3
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x14]
subss xmm4, xmm0
mulss xmm2, xmm3
subss xmm2, xmm1
mulss xmm4, dword [eax]
mulss xmm2, dword [eax + 4]
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdb8]
subss xmm0, dword [ecx + 0x3e88]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e8c]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x10009ca3
movaps xmm6, xmm7
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x10009cb2
movss xmm5, dword [esp + 0x20]
minss xmm5, xmm4
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x38]
mov edx, edi
movss xmm2, dword [edi + 0x10]
movss xmm3, dword [edi + 0x14]
subss xmm2, xmm5
movss xmm0, dword [edi + 0x18]
subss xmm3, xmm6
movss xmm1, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x10]
addss xmm1, dword [edi + 0x14]
mulss xmm2, dword [eax]
mulss xmm3, dword [eax + 4]
addss xmm2, xmm5
subss xmm5, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [esp + 0x24], xmm2
mulss xmm5, dword [eax]
mulss xmm6, dword [eax + 4]
lea eax, [esp + 0x5c]
push eax
addss xmm5, xmm0
movss dword [esp + 0x2c], xmm3
addss xmm6, xmm1
subss xmm5, xmm2
subss xmm6, xmm3
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x64], xmm6
call fcn.1000930c
pop ecx
mov ecx, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm0, dword [ecx]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x10009d6d
subss xmm0, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jp 0x10009da9
subss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
jmp 0x10009da9
mov edi, dword [esp + 0x10]
jmp 0x10009db1
mov edi, dword [esp + 0x10]
mov dl, byte [esp + 0xe]
mov cl, byte [esp + 0xd]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10009dc1
test cl, cl
jne 0x10009dc1
test dl, dl
je 0x10009df2
movss xmm1, dword [0x10088500]
xor ecx, ecx
cmp byte [esp + 0xe], cl
push 0x20
setne cl
add ecx, 0x1e
cmp byte [esp + 0x11], 0
pop eax
cmovne ecx, eax
call fcn.10004763
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ebp + 0xc]
jl 0x10009a33
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x50], eax
jbe 0x1000a0fc
imul ecx, eax, 0x1c
mov dword [esp + 0x48], ecx
test eax, eax
je 0x10009e3e
cmp eax, 1
je 0x10009e3e
mov dword [esp + 0x30], 3
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], 0xdbc
mov dword [esp + 0x4c], 0x3e8c
jmp 0x10009e5a
mov dword [esp + 0x30], 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], 0xdb8
mov dword [esp + 0x4c], 0x3e88
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x68]
mov dword [esp], 0x40800000
push eax
call fcn.10009810
mov eax, dword [esp + 0x1c]
add esp, 8
add eax, 4
mov ecx, edi
push eax
call fcn.10006677
mov edi, eax
lea ecx, [esp + 0x64]
push 8
push 0
mov edx, edi
call fcn.1000fe07
push 0x40800
lea eax, [esp + 0x19]
mov edx, edi
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x78]
call fcn.1004e698
mov dl, byte [esp + 0x21]
add esp, 0x14
cmp byte [esp + 0xe], 0
mov eax, dword [esp + 0x2c]
je 0x10009ed9
movss xmm0, dword [eax + 0x3e6c]
comiss xmm0, dword [0x10088464]
ja 0x10009ee1
test dl, dl
je 0x1000a0e5
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x492c], ecx
test dl, dl
je 0x1000a0e5
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
mov dword [edx], ecx
cmp ecx, 3
jne 0x1000a094
mov ecx, dword [ebp + 0x14]
movss xmm3, dword [0x1008876c]
movss xmm5, dword [ecx + 4]
movss xmm0, dword [0x100886f4]
movaps xmm1, xmm0
movaps xmm2, xmm0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ecx + eax]
mov ecx, dword [esp + 0x4c]
subss xmm0, dword [ecx + eax]
mov eax, dword [esp + 0x34]
addss xmm0, dword [0x100885d0]
movss dword [eax], xmm0
comiss xmm5, dword [esp + 0x60]
ja 0x10009f70
movaps xmm5, xmm1
minss xmm5, dword [esp + 0x60]
comiss xmm3, dword [esp + 0x5c]
ja 0x10009f80
movaps xmm3, xmm2
minss xmm3, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x40]
movss xmm1, dword [edi + 0x10]
mov edx, edi
movss xmm6, dword [edi + 0x14]
movaps xmm4, xmm1
movss xmm0, dword [edi + 0x1c]
subss xmm4, xmm3
movss xmm7, dword [eax + 0x1007412c]
subss xmm6, xmm5
minss xmm7, dword [eax + 0x10074134]
movss xmm2, dword [eax + 0x10074128]
minss xmm2, dword [eax + 0x10074130]
addss xmm1, dword [edi + 0x18]
addss xmm0, dword [edi + 0x14]
mulss xmm6, xmm7
lea eax, [esp + 0x38]
push eax
mulss xmm4, xmm2
addss xmm6, xmm5
movss dword [esp + 0x38], xmm7
subss xmm5, xmm0
movss dword [esp + 0x4c], xmm2
addss xmm4, xmm3
subss xmm3, xmm1
movss dword [esp + 0x2c], xmm6
mulss xmm5, xmm7
mulss xmm3, xmm2
addss xmm5, xmm0
movss dword [esp + 0x28], xmm4
addss xmm3, xmm1
subss xmm5, xmm6
subss xmm3, xmm4
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x3c], xmm3
call fcn.1000930c
movss xmm0, dword [esp + 0x4c]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
pop ecx
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x1000a061
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [esp + 0x34]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jp 0x1000a0e9
subss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
jmp 0x1000a0e9
movss xmm0, dword [0x1008876c]
movaps xmm5, xmm0
cmp ecx, 1
jne 0x1000a0b0
mov ecx, dword [ebp + 0x14]
movss xmm3, dword [ecx]
jmp 0x10009f16
movaps xmm3, xmm0
movss xmm0, dword [0x100886f4]
cmp ecx, 2
jne 0x1000a0cd
mov ecx, dword [ebp + 0x14]
movss xmm1, dword [ecx + 0xc]
jmp 0x10009f21
movaps xmm1, xmm0
test ecx, ecx
jne 0x10009f21
mov ecx, dword [ebp + 0x14]
movss xmm2, dword [ecx + 8]
jmp 0x10009f24
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x50]
jl 0x10009e10
mov eax, dword [0x10090d48]
mov esi, dword [esp + 0x2c]
mov eax, dword [eax + 0x3e28]
dec dword [eax + 0xe0]
and dword [edi + 0x144], 0
mov eax, dword [esi + 0x4900]
test eax, eax
je 0x1000a318
cmp dword [eax + 0x308], edi
jne 0x1000a318
push 2
pop eax
xorps xmm5, xmm5
xorps xmm1, xmm1
xorps xmm4, xmm4
cmp dword [esi + 0x47dc], eax
jne 0x1000a17c
cmp byte [esi + 0xdd1], 0
je 0x1000a318
push 0x204
push 0x203
push 0x202
mov edx, 0x201
lea ecx, [esp + 0x4c]
call fcn.1000e033
add esp, 0xc
movss xmm1, dword [eax]
movss xmm4, dword [eax + 4]
cmp dword [esi + 0x47dc], 3
jne 0x1000a1ae
push 0x272
push 0x271
push 0x270
mov edx, 0x26f
lea ecx, [esp + 0x4c]
call fcn.1000e033
add esp, 0xc
movss xmm1, dword [eax]
movss xmm4, dword [eax + 4]
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jp 0x1000a1c4
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jnp 0x1000a318
movss xmm3, dword [esi + 0x58]
minss xmm3, dword [esi + 0x5c]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x100886bc]
mov eax, dword [ebp + 0x14]
push 0x20
mulss xmm3, xmm0
movaps xmm2, xmm3
mulss xmm3, xmm4
mulss xmm2, xmm1
addss xmm3, dword [esi + 0x4924]
movss xmm1, dword [0x10088500]
addss xmm2, dword [esi + 0x4920]
movss dword [esi + 0x4924], xmm3
movss dword [esi + 0x4920], xmm2
movss xmm0, dword [eax]
subss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x18]
maxss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 0x14]
pop eax
mov ecx, eax
subss xmm0, dword [edi + 0x1c]
movss dword [esi + 0x4920], xmm2
mov byte [esi + 0x4914], 0
mov byte [esi + 0x47e7], 1
maxss xmm3, xmm0
movss dword [esi + 0x4924], xmm3
call fcn.10004763
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
cvttss2si esi, dword [esi + 0x4920]
mov eax, dword [esp + 0x2c]
cvttss2si edi, dword [eax + 0x4924]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm5
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1000a2a0
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x1000a320
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
addss xmm0, dword [edx + 0x20]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edx + 0x24]
addss xmm0, xmm1
movss dword [esp + 0x48], xmm0
call fcn.1000930c
pop ecx
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x2c]
movss dword [esp + 0x20], xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x4920]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x4920], xmm0
movss xmm0, dword [eax + 0x4924]
subss xmm0, xmm1
movss dword [eax + 0x4924], xmm0
jmp 0x1000a326
movss xmm2, dword [esp + 0x18]
jmp 0x1000a32a
movss xmm2, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
movss xmm1, dword [0x100886f4]
movss xmm0, dword [esp + 0x20]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000a352
mov ecx, edi
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm2
call fcn.1001594a
movss xmm0, dword [esp + 0x24]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000a38a
cvttss2si eax, xmm0
mov ecx, edi
movd xmm1, eax
cvttss2si eax, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
call fcn.1001594a
mov ecx, dword [edi + 0x20]
mov al, byte [esp + 0xf]
mov dword [edi + 0x18], ecx
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x1c], ecx
jmp 0x1000a39e
xor al, al
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.1006dac1
mov esp, ebp
pop ebp
ret