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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x103b0040]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, dword [0x103ca868]
mov esi, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], esi
mov eax, dword [edi + 0x3e38]
mov byte [eax + 0x90], 1
mov eax, dword [edi + 0x3e38]
mov dword [esp + 0x30], eax
cmp byte [eax + 0x93], 0
jne 0x1002d178
mov ecx, dword [eax + 0xc8]
xor edx, edx
mov eax, dword [eax + 0xd0]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10004a30
add esp, 4
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x3e58], eax
jne 0x1002cb93
push ecx
push esi
mov edx, 0xb
mov ecx, eax
call fcn.1001c3c0
add esp, 8
mov ecx, esi
cmp esi, 0xffffffff
jae 0x1002cbb6
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x1002cbb6
cmp dl, 0x23
jne 0x1002cbb0
cmp byte [ecx + 1], dl
je 0x1002cbb6
inc ecx
cmp ecx, 0xffffffff
jb 0x1002cba0
mov eax, dword [0x103ca868]
movss xmm6, dword [eax + 0x3bc4]
cmp esi, ecx
jne 0x1002cbcc
xorps xmm5, xmm5
jmp 0x1002cc16
movss xmm3, dword [0x103a3b54]
movaps xmm2, xmm6
push ecx
push ecx
push esi
push ecx
lea ecx, [esp + 0x24]
mov dword [esp], 0xbf800000
push ecx
mov ecx, dword [eax + 0x3bc0]
call fcn.10024600
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x103a39dc]
movss xmm6, dword [esp + 0x18]
cvttss2si eax, xmm0
movd xmm5, eax
mov eax, dword [0x103ca868]
cvtdq2ps xmm5, xmm5
movss xmm2, dword [eax + 0x37d8]
xorps xmm0, xmm0
comiss xmm5, xmm0
movss xmm7, dword [edi + 0x37d8]
addss xmm2, xmm2
movaps xmm1, xmm7
movss dword [esp + 0x38], xmm5
addss xmm1, xmm7
addss xmm2, dword [eax + 0x3bc4]
mov eax, dword [esp + 0x30]
addss xmm1, xmm6
movss xmm4, dword [eax + 0xd4]
movss xmm3, dword [eax + 0xd8]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x5c], xmm4
movss dword [esp + 0x34], xmm3
jbe 0x1002cc7c
movaps xmm0, xmm5
addss xmm0, dword [edi + 0x37ec]
addss xmm0, xmm2
movss dword [esp + 0x6c], xmm4
addss xmm1, xmm3
movss dword [esp + 0x70], xmm3
lea ecx, [esp + 0x48]
addss xmm0, dword [0x103a3a28]
movss dword [esp + 0x78], xmm1
subss xmm1, xmm3
addss xmm0, xmm4
movss dword [esp + 0x4c], xmm1
movaps xmm1, xmm7
movss dword [esp + 0x74], xmm0
subss xmm0, xmm4
movss dword [esp + 0x48], xmm0
call fcn.10015040
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x6c]
push 0
push 0
mov edx, esi
call fcn.100151a0
add esp, 8
test al, al
je 0x1002d178
push 0
lea eax, [esp + 0x4b]
mov edx, esi
push eax
lea eax, [esp + 0x4e]
push eax
lea ecx, [esp + 0x78]
call fcn.1002a9d0
add esp, 0xc
mov byte [esp + 0x13], al
test al, al
je 0x1002cd2a
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
sete cl
mov byte [eax], cl
mov ecx, dword [0x103ca868]
or dword [ecx + 0x46a0], 4
mov word [ecx + 0x3e80], 0x101
movss xmm3, dword [esp + 0x5c]
lea ecx, [esp + 0x6c]
movss xmm2, dword [esp + 0x34]
movaps xmm4, xmm3
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm2
addss xmm4, xmm1
movss dword [esp + 0x48], xmm3
addss xmm0, xmm1
movss dword [esp + 0x4c], xmm2
push 1
mov edx, esi
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x58], xmm0
call fcn.10006ed0
mov eax, dword [0x103ca868]
lea ecx, [esp + 0x60]
add esp, 4
movss xmm2, dword [eax + 0x18]
push esi
call fcn.10002510
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x1002cda5
movss xmm1, dword [0x103a3a64]
jmp 0x1002cdad
movss xmm1, dword [0x103a3b94]
movss xmm0, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
movss xmm2, dword [0x103a39e4]
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [eax + 0x14]
comiss xmm1, xmm0
ja 0x1002cdd7
movaps xmm1, xmm2
minss xmm1, xmm0
ucomiss xmm1, xmm2
movss dword [eax + 0x14], xmm1
lahf
test ah, 0x44
jnp 0x1002ce2a
movaps xmm0, xmmword [0x103a3d40]
movups xmmword [esp + 0x20], xmm0
push ecx
movss xmm0, dword [edi + 0x37dc]
lea ecx, [esp + 0x24]
movss dword [esp], xmm0
call fcn.10005080
push dword [esp + 0x1c]
mov ecx, eax
push dword [esp + 0x1c]
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.10006cc0
movss xmm2, dword [0x103a39e4]
add esp, 0x14
movaps xmm1, xmm2
mov ecx, 0x35
call fcn.10006650
mov edx, eax
movss xmm1, dword [0x103a3950]
movzx ecx, dl
shr eax, 8
movzx eax, al
shr edx, 0x10
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
push ecx
addsd xmm0, qword [ecx*8 + 0x103a3d90]
lea ecx, [esp + 0x24]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x24], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x103a3d90]
movzx eax, dl
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x28], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x103a3d90]
mov eax, dword [esp + 0x60]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x37dc]
movss dword [esp], xmm0
call fcn.10005080
push dword [esp + 0x1c]
mov ecx, eax
push dword [esp + 0x1c]
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.10006cc0
movaps xmm0, xmmword [0x103a3cd0]
add esp, 0x10
movups xmmword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x37dc]
mov dword [esp], 0x3f800000
push 0
push ecx
lea ecx, [esp + 0x2c]
movss dword [esp], xmm0
call fcn.10005080
mov ecx, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, dword [ecx + 0x248]
lea eax, [esp + 0x5c]
push eax
call fcn.100218d0
lea eax, [esi + 1]
push eax
mov eax, dword [0x103ca868]
lea ecx, [esp + 0x4c]
movss xmm2, dword [eax + 0x18]
call fcn.10002510
cmp byte [esp + 0x46], 0
jne 0x1002cf6d
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
jne 0x1002cf6d
movss xmm0, dword [0x103a3b90]
jmp 0x1002cf75
movss xmm0, dword [0x103a3a60]
movss xmm1, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
movss xmm7, dword [0x103a39a4]
mulss xmm1, xmm0
addss xmm1, dword [eax + 0x14]
comiss xmm7, xmm1
ja 0x1002cfa1
movss xmm7, dword [0x103a39e4]
minss xmm7, xmm1
movss xmm1, dword [0x103a39e4]
xor ecx, ecx
movss dword [eax + 0x14], xmm7
call fcn.10006650
mov edx, eax
movss xmm3, dword [0x103a3950]
movzx ecx, dl
shr eax, 8
movzx eax, al
mov esi, dword [0x103ca868]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mov dword [esp + 0x48], 0
addsd xmm0, qword [ecx*8 + 0x103a3d90]
lea ecx, [esi + 0x4734]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x103a3d90]
mov eax, edx
shr edx, 0x18
shr eax, 0x10
movzx eax, al
movss dword [esp + 0x20], xmm2
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm3
addsd xmm0, qword [eax*8 + 0x103a3d90]
lea eax, [esp + 0x48]
push eax
movss dword [esp + 0x28], xmm1
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm3
movss dword [esp + 0x2c], xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x103a3d90]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm3
mulss xmm0, xmm7
movss dword [esp + 0x30], xmm0
movups xmm0, xmmword [esi + 0x3860]
movups xmmword [esp + 0x50], xmm0
call fcn.1001cba0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [esi + 0x3860], xmm0
cmp byte [edi + 0x5a2c], 0
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [edi + 0x37ec]
addss xmm0, dword [0x103a3a28]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [edi + 0x37d8]
subss xmm0, dword [0x103a39e4]
movss dword [esp + 0x68], xmm0
je 0x1002d108
test byte [edi + 0x469c], 0x40
je 0x1002d0e6
mov edx, 0x1039011c
jmp 0x1002d0fa
mov eax, dword [esp + 0x1c]
mov edx, 0x10390120
mov ecx, 0x10390124
cmp byte [eax], 0
cmove edx, ecx
push 0
lea ecx, [esp + 0x68]
call fcn.1001aef0
add esp, 4
movss xmm0, dword [esp + 0x38]
comiss xmm0, dword [0x103a392c]
jbe 0x1002d12f
mov ecx, dword [esp + 0x40]
xor edx, edx
push 1
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10006840
add esp, 0xc
mov esi, dword [0x103ca868]
mov eax, dword [esi + 0x4734]
cmp eax, 1
jl 0x1002d163
mov ecx, dword [esi + 0x473c]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x386
add eax, eax
movups xmmword [esi + eax*8], xmm0
dec dword [esi + 0x4734]
mov al, byte [esp + 0x13]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.10123fc5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10123fc5
mov esp, ebp
pop ebp
ret