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

Disassembly:
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [0x10083558]
push edi
mov edi, dword [esp + 0x70]
cmp byte [edi + 0xb1], 0
movss xmm2, dword [edi + 0x50]
movss xmm0, dword [edi + 0x54]
mov ebx, dword [edi + 0xc]
mov byte [edi + 0xb3], 0
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x70], xmm0
je 0x1002aa19
cmp byte [esp + 0x78], 0
movss xmm1, dword [ebp + 0x38f0]
movss dword [esp + 0x70], xmm1
movss dword [ebp + 0x38f0], xmm0
je 0x1002a9a8
cmp byte [ebp + 0x4aaa], 0
mov ecx, 0x19c
je 0x1002a9ad
mov ecx, 0x1ac
mov eax, dword [0x10083558]
push ecx
movss dword [esp], xmm2
push 1
movups xmm0, xmmword [ecx + eax + 0x38a8]
movups xmmword [esp + 0x64], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x38a8]
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x74], xmm0
call fcn.1001c2a0
add esp, 4
push eax
mov eax, dword [esp + 0x80]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call fcn.10029880
movss xmm0, dword [esp + 0x8c]
add esp, 0x1c
movss dword [ebp + 0x38f0], xmm0
pop edi
pop ebp
pop ebx
add esp, 0x60
ret
push esi
test bl, bl
js 0x1002ab6f
test ebx, 0x6000000
je 0x1002aa31
mov ecx, 0x12c
jmp 0x1002aa42
mov ecx, ebx
and ecx, 0x1000000
or ecx, 0x10c00000
shr ecx, 0x14
mov eax, dword [0x10083558]
movups xmm0, xmmword [ecx + eax + 0x38a8]
movups xmmword [esp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x38a8]
lea eax, [esp + 0x60]
push eax
movss dword [esp + 0x70], xmm0
call fcn.1001c2a0
add esp, 4
mov ecx, eax
test byte [ebp + 0x4968], 0x40
xorps xmm2, xmm2
je 0x1002aabe
movss xmm1, dword [ebp + 0x49c0]
comiss xmm2, xmm1
jbe 0x1002aa93
xorps xmm0, xmm0
jmp 0x1002aa9f
movss xmm0, dword [0x10078204]
minss xmm0, xmm1
mulss xmm0, dword [0x1007a6d0]
and ecx, 0xffffff
addss xmm0, dword [0x10078200]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
movss xmm3, dword [edi + 0x18]
mov esi, ebx
movss xmm4, dword [edi + 0x1c]
movaps xmm0, xmm3
mov edx, dword [edi]
addss xmm0, dword [edi + 0x20]
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x24]
movss dword [esp + 0x24], xmm0
and esi, 1
je 0x1002aaf2
xorps xmm0, xmm0
jmp 0x1002ab24
movss xmm1, dword [edx + 0x3d00]
mov eax, dword [edi + 0x304]
mulss xmm1, dword [edi + 0x268]
test eax, eax
je 0x1002ab14
mulss xmm1, dword [eax + 0x268]
movss xmm0, dword [edx + 0x38e8]
addss xmm0, xmm0
addss xmm0, xmm1
xor edx, edx
addss xmm0, xmm4
movss xmm4, dword [esp + 0x10]
addss xmm3, xmm2
test esi, esi
mov eax, 0xc0
cmovne eax, edx
push eax
push ecx
movss dword [esp], xmm4
lea eax, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0x270]
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x28], xmm3
push eax
movss dword [esp + 0x30], xmm0
call fcn.10048730
movss xmm2, dword [esp + 0x10]
jmp 0x1002ab74
mov esi, ebx
and esi, 1
test esi, esi
jne 0x1002abd1
mov ecx, dword [0x10083558]
movzx eax, byte [esp + 0x7c]
add eax, eax
push 0x30
push ecx
movss dword [esp], xmm2
movups xmm0, xmmword [ecx + eax*8 + 0x3a34]
lea eax, [esp + 0x68]
push eax
movups xmmword [esp + 0x6c], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [ecx + 0x38a8]
movss dword [esp + 0x78], xmm0
call fcn.1001c2a0
mov ecx, dword [esp + 0x84]
add esp, 4
push eax
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, dword [edi + 0x270]
call fcn.10048730
test ebx, 0x400
je 0x1002adc3
mov edx, dword [edi + 0xc]
mov eax, dword [edi]
test dl, 1
je 0x1002abec
xorps xmm1, xmm1
jmp 0x1002ac1e
movss xmm0, dword [eax + 0x3d00]
mov ecx, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test ecx, ecx
je 0x1002ac0e
mulss xmm0, dword [ecx + 0x268]
movss xmm1, dword [eax + 0x38e8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm4, dword [edi + 0x1c]
xorps xmm3, xmm3
addss xmm1, xmm4
test edx, 0x400
je 0x1002ac6e
movss xmm2, dword [eax + 0x3d00]
mov ecx, dword [edi + 0x304]
mulss xmm2, dword [edi + 0x268]
test ecx, ecx
je 0x1002ac54
mulss xmm2, dword [ecx + 0x268]
movss xmm0, dword [eax + 0x38e8]
addss xmm2, dword [edi + 0x160]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x1002ac71
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x18]
movaps xmm7, xmm1
maxss xmm7, xmm4
movaps xmm6, xmm0
maxss xmm6, xmm0
movaps xmm5, xmm0
addss xmm2, xmm1
addss xmm5, dword [edi + 0x28]
addss xmm0, dword [edi + 0x20]
addss xmm4, dword [edi + 0x24]
movss dword [esp + 0x14], xmm6
minss xmm5, xmm0
minss xmm2, xmm4
movss dword [esp + 0x68], xmm5
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x6c], xmm2
test esi, esi
je 0x1002acc6
movss xmm4, dword [esp + 0x10]
jmp 0x1002acc9
xorps xmm4, xmm4
mov eax, dword [0x10083558]
addss xmm7, xmm3
subss xmm5, dword [esp + 0x74]
push 0x30
push ecx
movups xmm0, xmmword [eax + 0x3a64]
movss dword [esp], xmm4
movups xmmword [esp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x38a8]
lea eax, [esp + 0x58]
push eax
movss dword [esp + 0x2c], xmm5
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm2
subss xmm0, xmm3
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esp + 0x80]
movss dword [esp + 0x34], xmm0
call fcn.1001c2a0
mov ecx, dword [edi + 0x270]
add esp, 4
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10048730
movss xmm3, dword [ebp + 0x38f0]
xorps xmm2, xmm2
comiss xmm3, xmm2
jbe 0x1002adc3
movss xmm0, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x24]
movss xmm1, dword [esp + 0x18]
comiss xmm0, xmm1
jbe 0x1002adc3
movss xmm0, dword [esp + 0x14]
sub esp, 8
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x30], eax
movss dword [esp + 4], xmm3
mov dword [esp], 0x3f800000
push 5
mov dword [esp + 0x38], ecx
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm1
call fcn.1001eff0
mov ecx, dword [edi + 0x270]
add esp, 8
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10047860
cmp byte [edi + 0xac], 0
je 0x1002add6
push 0
call fcn.1003e040
add esp, 4
cmp byte [edi + 0xad], 0
je 0x1002ade9
push 1
call fcn.1003e040
add esp, 4
cmp byte [esp + 0x80], 0
je 0x1002afe4
test bl, 2
jne 0x1002afdb
xor ebp, ebp
cmp dword [esp + 0x84], ebp
jle 0x1002afdb
mov ebx, 0x10078c08
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + 0x88]
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x20], eax
test eax, 0xff000000
je 0x1002afca
movss xmm0, dword [edi + 0x18]
mov esi, ebp
movss xmm1, dword [edi + 0x1c]
movaps xmm2, xmm0
movaps xmm3, xmm1
addss xmm2, dword [edi + 0x20]
addss xmm3, dword [edi + 0x24]
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, dword [ebx - 8]
mulss xmm3, dword [ebx - 4]
addss xmm2, xmm0
movss xmm0, dword [esp + 0x74]
addss xmm3, xmm1
movss xmm1, dword [esp + 0x8c]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x18], xmm3
and esi, 1
je 0x1002aea0
movss dword [esp + 0x34], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x30], xmm0
jmp 0x1002aeac
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm0
mulss xmm1, dword [ebx]
lea ecx, [esp + 0x34]
test esi, esi
lea eax, [esp + 0x2c]
cmovne eax, ecx
mov ecx, dword [edi + 0x270]
addss xmm1, xmm2
movss xmm0, dword [eax]
lea eax, [esp + 0x38]
mulss xmm0, dword [ebx + 4]
push eax
movss dword [esp + 0x3c], xmm1
addss xmm0, xmm3
movss dword [esp + 0x40], xmm0
call fcn.100287c0
movss xmm1, dword [esp + 0x8c]
movss xmm0, dword [esp + 0x74]
test esi, esi
je 0x1002af0e
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x48], xmm1
jmp 0x1002af1a
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
mulss xmm0, dword [ebx]
lea ecx, [esp + 0x4c]
test esi, esi
lea eax, [esp + 0x44]
cmovne eax, ecx
mov ecx, dword [edi + 0x270]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax]
lea eax, [esp + 0x50]
mulss xmm0, dword [ebx + 4]
push eax
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x58], xmm0
call fcn.100287c0
movss xmm1, dword [esp + 0x74]
lea eax, [esp + 0x60]
movss xmm2, dword [esp + 0x10]
push dword [ebx + 0xc]
addss xmm1, xmm2
push dword [ebx + 8]
push ecx
mov ecx, dword [edi + 0x270]
movaps xmm0, xmm1
movss dword [esp], xmm2
mulss xmm0, dword [ebx]
push eax
mulss xmm1, dword [ebx + 4]
addss xmm0, dword [esp + 0x24]
addss xmm1, dword [esp + 0x28]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm1
call fcn.1004be50
mov esi, dword [edi + 0x270]
mov ecx, esi
push dword [esp + 0x20]
push dword [esi + 0x38]
push dword [esi + 0x40]
call fcn.100469f0
mov dword [esi + 0x38], 0
inc ebp
add ebx, 0x18
cmp ebp, dword [esp + 0x84]
jl 0x1002ae20
push edi
call fcn.1002aff0
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x60
ret