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

Disassembly:
sub esp, 0x68
mov eax, dword [0x100bcb7c]
push edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x58], eax
test byte [edi + 8], 0x42
jne 0x10012d97
cmp byte [edi + 0x98], 0
jg 0x10012d97
cmp byte [edi + 0x99], 0
jg 0x10012d97
cmp byte [edi + 0x83], 0
je 0x10012d97
movss xmm1, dword [eax + 0x18e0]
xor edx, edx
mov cl, byte [eax + 0xb3]
movaps xmm0, xmm1
mulss xmm0, dword [0x10061ec0]
test cl, cl
push esi
mulss xmm1, dword [0x10061efc]
push 4
addss xmm0, dword [edi + 0x3c]
pop esi
cmovne edx, esi
mov byte [esp + 0x6d], 0
mov dword [esp + 0x54], edx
addss xmm0, dword [0x10061ef4]
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10061ee4]
cvttss2si esi, xmm0
mov dword [esp + 0x4c], esi
je 0x100124f4
movss xmm0, dword [0x10061f10]
jmp 0x100124f7
xorps xmm0, xmm0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [0x10061f58]
movaps xmm1, xmm0
movss dword [esp + 0x30], xmm0
push str.RESIZE
mov dword [esp + 0x38], 0x7f7fffff
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x40], xmm0
mov dword [edi + 0x13c], 1
mov dword [edi + 0x140], 2
call fcn.1000e924
xor eax, eax
pop ecx
mov dword [esp + 0x60], eax
cmp dword [esp + 0x80], eax
jle 0x10012895
movss xmm2, dword [edi + 0x18]
imul ecx, eax, 0x18
movd xmm6, esi
cvtdq2ps xmm6, xmm6
add ecx, 0x1007a008
mov dword [esp + 0x50], ecx
movss xmm4, dword [ecx]
mulss xmm4, dword [edi + 0x14]
mulss xmm2, dword [ecx + 4]
movss xmm0, dword [ecx + 8]
movss xmm1, dword [ecx + 0xc]
movaps xmm5, xmm0
addss xmm4, dword [edi + 0xc]
addss xmm2, dword [edi + 0x10]
mulss xmm0, dword [esp + 0x58]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x58]
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 0x100125ee
movss dword [esp + 0x18], xmm5
movss dword [esp + 0x20], xmm4
comiss xmm2, xmm3
jbe 0x100125ff
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm2
push 0x40800
lea ecx, [esp + 0x73]
push ecx
lea ecx, [esp + 0x76]
push ecx
push eax
mov ecx, edi
call fcn.10008f95
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10029200
mov dh, byte [esp + 0x82]
add esp, 0x14
mov dl, byte [esp + 0x6f]
test dh, dh
jne 0x1001263b
test dl, dl
je 0x10012811
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1e0c], eax
test dl, dl
je 0x10012811
cmp byte [ecx + 0x3e5], 0
je 0x100126c5
cmp dword [esp + 0x60], 0
jne 0x100126c5
mov eax, dword [esp + 0x78]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x30]
push edi
push eax
call fcn.10006953
push 0
push 0
mov byte [esp + 0x85], 1
movss xmm0, dword [eax]
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x54], xmm0
call fcn.10010609
mov dl, byte [esp + 0x87]
add esp, 0x18
mov dh, byte [esp + 0x6e]
jmp 0x10012821
mov edx, dword [esp + 0x50]
xorps xmm2, xmm2
cvtsi2ss xmm2, esi
movss xmm0, dword [edx + 8]
xorps xmm2, xmmword [0x10061fd0]
mulss xmm0, dword [esp + 0x58]
movaps xmm3, xmm2
mulss xmm3, dword [edx + 8]
movss xmm6, dword [edx]
movss xmm1, dword [edx + 0xc]
mulss xmm2, dword [edx + 0xc]
subss xmm3, xmm0
mulss xmm1, dword [esp + 0x58]
movss xmm4, dword [edx + 4]
movss xmm5, dword [ecx + 0xec]
subss xmm5, dword [ecx + 0x1a7c]
mulss xmm3, xmm6
subss xmm2, xmm1
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ecx + 0x1a78]
mov ecx, dword [esp + 0x88]
mulss xmm2, xmm4
addss xmm3, xmm0
movss xmm0, dword [0x10061ef4]
ucomiss xmm4, xmm0
addss xmm2, xmm1
lahf
addss xmm5, xmm2
test ah, 0x44
jp 0x10012762
movss xmm2, dword [ecx + 4]
jmp 0x1001276a
movss xmm2, dword [0x10061f70]
ucomiss xmm6, xmm0
lahf
test ah, 0x44
jp 0x10012779
movss xmm1, dword [ecx]
jmp 0x10012781
movss xmm1, dword [0x10061f70]
xorps xmm0, xmm0
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x10012794
movss xmm4, dword [ecx + 0xc]
jmp 0x1001279c
movss xmm4, dword [0x10061f58]
ucomiss xmm6, xmm0
lahf
test ah, 0x44
jp 0x100127ac
movss xmm0, dword [ecx + 8]
jmp 0x100127b4
movss xmm0, dword [0x10061f58]
comiss xmm2, xmm5
ja 0x100127c0
movaps xmm2, xmm5
minss xmm2, xmm4
comiss xmm1, xmm3
ja 0x100127cc
movaps xmm1, xmm3
minss xmm1, xmm0
lea eax, [esp + 0x38]
movss dword [esp + 0x40], xmm1
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x48], xmm2
push eax
push edx
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.1000649b
movss xmm0, dword [esp + 0x50]
add esp, 0x14
mov dl, byte [esp + 0x6f]
mov dh, byte [esp + 0x6e]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x68], xmm0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10012821
test dl, dl
jne 0x10012821
test dh, dh
je 0x10012883
mov ecx, dword [0x100bcb7c]
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 + 0x15dc]
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 + 0x1520]
movss dword [esp + 0x18], xmm0
call fcn.10006eed
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x78]
pop ecx
mov ecx, dword [esp + 0x60]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x80]
jl 0x10012560
xor edx, edx
mov dword [esp + 0x60], edx
cmp dword [esp + 0x54], edx
jbe 0x10012a92
movd xmm0, esi
lea eax, [esp + 8]
push ecx
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push edx
push edi
push eax
call fcn.100094ca
add esp, 0x14
lea eax, [esp + 0x6e]
mov ecx, edi
push 0x800
push eax
lea eax, [esp + 0x77]
push eax
mov eax, dword [esp + 0x6c]
add eax, 4
push eax
call fcn.10008f95
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10029200
mov ecx, dword [esp + 0x70]
add esp, 0x14
cmp byte [esp + 0x6f], 0
je 0x10012912
movss xmm0, dword [ecx + 0x1a48]
comiss xmm0, dword [0x10061eb4]
ja 0x1001291d
cmp byte [esp + 0x6e], 0
je 0x10012a67
mov edx, dword [esp + 0x60]
mov eax, edx
and eax, 1
add eax, 3
cmp byte [esp + 0x6e], 0
mov dword [ecx + 0x1e0c], eax
je 0x10012a6b
mov eax, dword [esp + 0x7c]
and dword [esp + 0x44], 0
and dword [esp + 0x40], 0
mov dword [eax], edx
movss xmm2, dword [edi + 0xc]
movss xmm0, dword [edi + 0x10]
test edx, edx
jne 0x10012985
movss xmm0, dword [ecx + 0xec]
xorps xmm1, xmm1
subss xmm0, dword [ecx + 0x1a7c]
movss xmm3, dword [0x10061f10]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm1
addss xmm0, xmm3
jmp 0x100129d1
cmp edx, 1
jne 0x100129c6
movss xmm2, dword [ecx + 0xe8]
movss xmm1, dword [0x10061ef4]
subss xmm2, dword [ecx + 0x1a78]
movss dword [esp + 0x40], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x44], xmm1
movss xmm1, dword [0x10061f70]
addss xmm2, dword [0x10061f10]
jmp 0x10012b67
movss xmm3, dword [0x10061f10]
xorps xmm1, xmm1
cmp edx, 2
jne 0x10012b0b
movss xmm0, dword [0x10061ef4]
mov eax, dword [esp + 0x88]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [ecx + 0xec]
subss xmm0, dword [ecx + 0x1a7c]
movss dword [esp + 0x40], xmm1
movss xmm1, dword [eax + 4]
addss xmm0, xmm3
movss xmm3, dword [0x10061f70]
movss xmm4, dword [0x10061f58]
movss xmm5, dword [0x10061f58]
comiss xmm1, xmm0
ja 0x10012a32
movaps xmm1, xmm4
minss xmm1, xmm0
comiss xmm3, xmm2
ja 0x10012a3e
movaps xmm3, xmm5
minss xmm3, xmm2
lea eax, [esp + 0x38]
movss dword [esp + 0x48], xmm3
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x50], xmm1
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push edi
call fcn.1000649b
add esp, 0x14
mov edx, dword [esp + 0x60]
inc edx
mov dword [esp + 0x60], edx
cmp edx, dword [esp + 0x54]
jl 0x100128a5
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x68], xmm0
call fcn.1000e6d6
mov ecx, dword [esp + 0x5c]
and dword [edi + 0x13c], 0
mov dword [edi + 0x140], 1
mov eax, dword [ecx + 0x1c58]
test eax, eax
je 0x10012d1e
cmp dword [eax + 0x33c], edi
jne 0x10012d1e
mov eax, dword [ecx + 0x1b80]
xorps xmm1, xmm1
movss dword [esp + 0x60], xmm1
xorps xmm2, xmm2
movss dword [esp + 0x58], xmm2
xorps xmm0, xmm0
cmp eax, 3
jne 0x10012b93
cmp byte [ecx + 0x101], 0
je 0x10012d1e
push ecx
push ecx
and dword [esp + 4], 0
and dword [esp], 0
push 0
push 1
jmp 0x10012ba7
cmp edx, 3
jne 0x10012b54
movss xmm2, dword [ecx + 0xe8]
subss xmm2, dword [ecx + 0x1a78]
mov eax, dword [esp + 0x88]
movss xmm4, dword [0x10061f58]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm1
movss xmm5, dword [eax + 8]
addss xmm2, xmm3
movss xmm3, dword [0x10061f70]
movaps xmm1, xmm3
jmp 0x10012a26
movss xmm6, dword [0x10061f70]
movaps xmm1, xmm6
movaps xmm5, xmm1
cmp edx, 1
jne 0x10012b77
mov eax, dword [esp + 0x88]
movss xmm3, dword [eax]
jmp 0x10012a16
movaps xmm3, xmm6
test edx, edx
jne 0x10012a16
mov eax, dword [esp + 0x88]
movss xmm4, dword [eax + 0xc]
jmp 0x10012a1e
cmp eax, 4
jne 0x10012bd0
push ecx
push ecx
and dword [esp + 4], 0
and dword [esp], 0
push 0
push 2
lea eax, [esp + 0x38]
push eax
call fcn.100091a7
mov ecx, dword [esp + 0x70]
xorps xmm0, xmm0
add esp, 0x14
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x58], xmm2
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x10012be6
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10012d1e
movss xmm1, dword [ecx + 0xac]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x10061f50]
minss xmm1, dword [ecx + 0xa8]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x88]
movss xmm0, dword [eax]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [edi + 0x18]
lea edi, [esp + 8]
mov byte [ecx + 0x1c6c], 0
mov byte [ecx + 0x1ba3], 1
mov eax, dword [0x100bcb7c]
movss dword [esp + 0x44], xmm0
lea esi, [eax + 0x17dc]
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 + 0x1520]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x18], xmm0
call fcn.10006eed
movd xmm2, dword [esp + 0x60]
movss xmm1, dword [esp + 0x50]
subss xmm1, dword [esp + 0x54]
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
cvtdq2ps xmm2, xmm2
mov dword [ecx], eax
lea eax, [esp + 0x2c]
subss xmm1, dword [esp + 0x58]
movaps xmm0, xmm2
mulss xmm2, dword [esp + 0x64]
mulss xmm0, dword [esp + 0x5c]
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x6c]
addss xmm1, dword [edi + 0x1c]
subss xmm0, dword [esp + 0x48]
movss dword [esp + 0x3c], xmm1
maxss xmm0, xmm2
addss xmm0, dword [edi + 0x20]
movss dword [esp + 0x40], xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
push edi
push eax
call fcn.10006953
add esp, 0x14
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x10012d2a
movss xmm1, dword [esp + 0x64]
movss xmm0, dword [esp + 0x68]
ucomiss xmm0, dword [0x10061f58]
pop esi
lahf
test ah, 0x44
jnp 0x10012d49
push edi
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm1
call fcn.1000b486
pop ecx
movss xmm0, dword [esp + 0x2c]
ucomiss xmm0, dword [0x10061f58]
lahf
test ah, 0x44
jnp 0x10012d85
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 + 0xc], xmm1
movss dword [edi + 0x10], xmm0
call fcn.1000b486
pop ecx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov al, byte [esp + 0x69]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
jmp 0x10012d99
xor al, al
pop edi
add esp, 0x68
ret