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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x10030040]
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 [0x10030628]
test byte [edi + 8], 0x42
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
jne 0x10007c7f
cmp byte [edi + 0xc0], 0
jg 0x10007c7f
cmp byte [edi + 0xc1], 0
jg 0x10007c7f
cmp byte [edi + 0xa7], 0
je 0x10007c7f
movss xmm2, dword [eax + 0x3bb4]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x1002dd58]
mulss xmm2, dword [0x1002dd08]
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x1002dd60]
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 [0x1002dd3c]
cvttss2si esi, xmm0
je 0x100072f8
movss xmm0, dword [0x1002dd88]
jmp 0x100072fb
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [0x1002ddfc]
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x18], xmm0
mov dword [edi + 0x144], 1
call fcn.1000ae54
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [ebp + 0xc], eax
jle 0x100076fd
movss xmm3, dword [edi + 0x10]
xorps xmm6, xmm6
addss xmm3, dword [edi + 0x18]
movss xmm2, dword [edi + 0x14]
addss xmm2, dword [edi + 0x1c]
imul ecx, eax, 0x18
cvtsi2ss xmm6, esi
add ecx, 0x100290a0
subss xmm3, dword [edi + 0x10]
subss xmm2, dword [edi + 0x14]
mov dword [esp + 0x2c], 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 + 0x28]
addss xmm2, dword [edi + 0x14]
mulss xmm1, dword [esp + 0x28]
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 0x100073e4
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x6c], xmm3
comiss xmm2, xmm4
jbe 0x100073f5
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x70], xmm2
push eax
mov ecx, edi
call fcn.10004702
mov edi, eax
push 8
push ecx
mov edx, edi
lea ecx, [esp + 0x6c]
call fcn.1000cb77
push 0x40800
lea eax, [esp + 0x19]
mov edx, edi
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x78]
call fcn.10021d15
mov dl, byte [esp + 0x22]
add esp, 0x14
test dl, dl
jne 0x1000743e
mov cl, byte [esp + 0xd]
test cl, cl
je 0x1000769c
mov edx, dword [esp + 0x14]
mov eax, edx
mov ecx, dword [esp + 0x24]
not eax
and eax, 1
add eax, 5
cmp byte [esp + 0xd], 0
mov dword [ecx + 0x492c], eax
je 0x100076a2
push 2
pop eax
cmp word [ecx + 0x3702], ax
jne 0x100074ad
test edx, edx
jne 0x100074ad
push dword [esp + 0x30]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x44]
mov edx, edi
call fcn.10006c41
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 + 0x34], xmm1
movss dword [esp + 0x18], xmm0
call fcn.10004866
jmp 0x100076be
mov edi, dword [esp + 0x2c]
movss xmm1, dword [0x1002dd58]
mov edx, dword [ebp + 0x14]
movss xmm0, dword [edi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100074d1
movss xmm5, dword [edx + 4]
jmp 0x100074d9
movss xmm5, dword [0x1002de18]
movss xmm2, dword [edi]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x100074ec
movss xmm4, dword [edx]
jmp 0x100074f4
movss xmm4, dword [0x1002de18]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [0x1002ddfc]
lahf
test ah, 0x44
jp 0x1000750f
movss xmm7, dword [edx + 0xc]
jmp 0x10007512
movaps xmm7, xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10007522
movss xmm6, dword [edx + 8]
jmp 0x10007525
movaps xmm6, xmm0
mov eax, dword [esp + 0x2c]
xorps xmm2, xmm2
cvtsi2ss xmm2, esi
movss xmm0, dword [eax + 8]
xorps xmm2, xmmword [0x1002dee0]
mulss xmm0, dword [esp + 0x28]
movaps xmm3, xmm2
mulss xmm3, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
mulss xmm2, dword [eax + 0xc]
mulss xmm1, dword [esp + 0x28]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [eax]
mulss xmm2, dword [eax + 4]
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdb8]
subss xmm0, dword [ecx + 0x3e88]
addss xmm2, xmm1
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e8c]
addss xmm0, xmm2
comiss xmm5, xmm0
ja 0x100075a7
movaps xmm5, xmm7
minss xmm5, xmm0
comiss xmm4, xmm3
ja 0x100075b3
movaps xmm4, xmm6
minss xmm4, xmm3
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x38]
mov edx, edi
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0x14]
movaps xmm2, xmm1
addss xmm1, dword [edi + 0x18]
subss xmm2, xmm4
movaps xmm3, xmm0
addss xmm0, dword [edi + 0x1c]
subss xmm3, xmm5
mulss xmm2, dword [eax]
mulss xmm3, dword [eax + 4]
addss xmm2, xmm4
subss xmm4, xmm1
addss xmm3, xmm5
subss xmm5, xmm0
movss dword [esp + 0x1c], xmm2
mulss xmm4, dword [eax]
mulss xmm5, dword [eax + 4]
lea eax, [esp + 0x5c]
push eax
addss xmm4, xmm1
movss dword [esp + 0x24], xmm3
addss xmm5, xmm0
subss xmm4, xmm2
subss xmm5, xmm3
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x64], xmm5
call fcn.10006c41
pop ecx
mov ecx, dword [esp + 0x2c]
xorps xmm2, xmm2
movss xmm0, dword [ecx]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000766a
subss xmm0, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jp 0x100076a6
subss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x100076a6
mov edi, dword [esp + 0x10]
jmp 0x100076ae
mov edi, dword [esp + 0x10]
mov dl, byte [esp + 0xe]
mov cl, byte [esp + 0xd]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100076be
test cl, cl
jne 0x100076be
test dl, dl
je 0x100076ef
movss xmm1, dword [0x1002dd58]
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.10003105
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ebp + 0xc]
jl 0x10007342
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x50], eax
jbe 0x100079fb
imul ecx, eax, 0x1c
mov dword [esp + 0x48], ecx
test eax, eax
je 0x1000773b
cmp eax, 1
je 0x1000773b
mov dword [esp + 0x2c], 3
lea ecx, [esp + 0x60]
mov dword [esp + 0x28], 0xdbc
mov dword [esp + 0x4c], 0x3e8c
jmp 0x10007757
mov dword [esp + 0x2c], 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28], 0xdb8
mov dword [esp + 0x4c], 0x3e88
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x68]
mov dword [esp], 0x40800000
push eax
call fcn.1000713d
mov eax, dword [esp + 0x1c]
add esp, 8
add eax, 4
mov ecx, edi
push eax
call fcn.10004702
mov edi, eax
push 8
push ecx
mov edx, edi
lea ecx, [esp + 0x6c]
call fcn.1000cb77
push 0x40800
lea eax, [esp + 0x19]
mov edx, edi
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x78]
call fcn.10021d15
mov dl, byte [esp + 0x21]
add esp, 0x14
cmp byte [esp + 0xe], 0
mov eax, dword [esp + 0x24]
je 0x100077d5
movss xmm0, dword [eax + 0x3e6c]
comiss xmm0, dword [0x1002dcf8]
ja 0x100077dd
test dl, dl
je 0x100079e4
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x492c], ecx
test dl, dl
je 0x100079e4
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
mov dword [edx], ecx
cmp ecx, 3
jne 0x10007810
mov ecx, dword [ebp + 0x14]
movss xmm4, dword [0x1002de18]
movss xmm3, dword [ecx + 4]
jmp 0x1000782a
movss xmm1, dword [0x1002de18]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp ecx, 1
jne 0x10007837
mov ecx, dword [ebp + 0x14]
movss xmm4, dword [ecx]
movss xmm0, dword [0x1002ddfc]
movaps xmm1, xmm0
jmp 0x10007856
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp ecx, 2
jne 0x100079c7
mov ecx, dword [ebp + 0x14]
movss xmm1, dword [ecx + 0xc]
movss xmm0, dword [0x1002ddfc]
movaps xmm5, xmm0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
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 + 0x30]
addss xmm0, dword [0x1002dd88]
movss dword [eax], xmm0
comiss xmm3, dword [esp + 0x60]
ja 0x100078a5
movaps xmm3, xmm1
minss xmm3, dword [esp + 0x60]
comiss xmm4, dword [esp + 0x5c]
ja 0x100078b5
movaps xmm4, xmm5
minss xmm4, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x40]
movss xmm1, dword [edi + 0x10]
mov edx, edi
movss xmm0, dword [edi + 0x14]
movaps xmm5, xmm1
addss xmm1, dword [edi + 0x18]
movss xmm7, dword [eax + 0x10028f0c]
subss xmm5, xmm4
minss xmm7, dword [eax + 0x10028f14]
movss xmm2, dword [eax + 0x10028f08]
movaps xmm6, xmm0
minss xmm2, dword [eax + 0x10028f10]
addss xmm0, dword [edi + 0x1c]
subss xmm6, xmm3
lea eax, [esp + 0x38]
movss dword [esp + 0x30], xmm7
push eax
mulss xmm5, xmm2
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [esp + 0x4c], xmm2
subss xmm4, xmm1
addss xmm6, xmm3
subss xmm3, xmm0
movss dword [esp + 0x20], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm1
movss dword [esp + 0x24], xmm6
addss xmm3, xmm0
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm3
call fcn.10006c41
movss xmm0, dword [esp + 0x4c]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
pop ecx
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x34], xmm0
lahf
test ah, 0x44
jp 0x10007994
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm0, dword [esp + 0x30]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jp 0x100079e8
subss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x100079e8
movss xmm1, dword [0x1002ddfc]
test ecx, ecx
jne 0x1000784e
mov ecx, dword [ebp + 0x14]
movss xmm5, dword [ecx + 8]
jmp 0x10007859
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x50]
jl 0x1000770d
mov eax, dword [0x10030628]
mov esi, dword [esp + 0x24]
mov eax, dword [eax + 0x3e28]
dec dword [eax + 0xe0]
and dword [edi + 0x144], 0
mov eax, dword [esi + 0x4900]
test eax, eax
je 0x10007bfb
cmp dword [eax + 0x308], edi
jne 0x10007bfb
mov eax, dword [esi + 0x47dc]
xorps xmm5, xmm5
xorps xmm1, xmm1
xorps xmm4, xmm4
cmp eax, 2
jne 0x10007a68
cmp byte [esi + 0xdd1], 0
je 0x10007bfb
push 0x204
push 0x203
push 0x202
mov edx, 0x201
jmp 0x10007a81
cmp eax, 3
jne 0x10007a96
push 0x272
push 0x271
push 0x270
mov edx, 0x26f
lea ecx, [esp + 0x4c]
call fcn.1000aff1
add esp, 0xc
movss xmm4, dword [eax + 4]
movss xmm1, dword [eax]
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jp 0x10007aac
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jnp 0x10007bfb
movss xmm3, dword [esi + 0x58]
minss xmm3, dword [esi + 0x5c]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x1002dde0]
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 [0x1002dd58]
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.10003105
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
cvttss2si esi, dword [esi + 0x4920]
mov eax, dword [esp + 0x24]
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 0x10007b84
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x10007c03
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
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [esp + 0x48], xmm0
call fcn.10006c41
pop ecx
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x24]
movss dword [esp + 0x34], 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 0x10007c09
movss xmm2, dword [esp + 0x18]
jmp 0x10007c0d
movss xmm2, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
movss xmm1, dword [0x1002ddfc]
movss xmm0, dword [esp + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10007c35
mov ecx, edi
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm2
call fcn.10010e3e
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10007c6d
cvttss2si eax, xmm0
mov ecx, edi
movd xmm1, eax
cvttss2si eax, dword [esp + 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
call fcn.10010e3e
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov al, byte [esp + 0xf]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], edx
jmp 0x10007c81
xor al, al
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.100257e1
mov esp, ebp
pop ebp
ret