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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x103b0024]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, dword [0x103ca828]
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 0x1002cf98
mov ecx, dword [eax + 0xc8]
xor edx, edx
mov eax, dword [eax + 0xd0]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10004ac0
add esp, 4
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x3e58], eax
jne 0x1002c9b3
push ecx
push esi
mov edx, 0xb
mov ecx, eax
call fcn.1001c700
add esp, 8
mov ecx, esi
cmp esi, 0xffffffff
jae 0x1002c9d6
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x1002c9d6
cmp dl, 0x23
jne 0x1002c9d0
cmp byte [ecx + 1], dl
je 0x1002c9d6
inc ecx
cmp ecx, 0xffffffff
jb 0x1002c9c0
mov eax, dword [0x103ca828]
movss xmm6, dword [eax + 0x3bc4]
cmp esi, ecx
jne 0x1002c9ec
xorps xmm5, xmm5
jmp 0x1002ca36
movss xmm3, dword [0x103a2904]
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.10024540
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x103a277c]
movss xmm6, dword [esp + 0x18]
cvttss2si eax, xmm0
movd xmm5, eax
mov eax, dword [0x103ca828]
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 0x1002ca9c
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 [0x103a27c8]
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.10015240
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x6c]
push 0
push 0
mov edx, esi
call fcn.100153a0
add esp, 8
test al, al
je 0x1002cf98
push 0
lea eax, [esp + 0x4b]
mov edx, esi
push eax
lea eax, [esp + 0x4e]
push eax
lea ecx, [esp + 0x78]
call fcn.1002a7e0
add esp, 0xc
mov byte [esp + 0x13], al
test al, al
je 0x1002cb4a
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
sete cl
mov byte [eax], cl
mov ecx, dword [0x103ca828]
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.10006ff0
mov eax, dword [0x103ca828]
lea ecx, [esp + 0x60]
add esp, 4
movss xmm2, dword [eax + 0x18]
push esi
call fcn.100025c0
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x1002cbc5
movss xmm1, dword [0x103a2804]
jmp 0x1002cbcd
movss xmm1, dword [0x103a2944]
movss xmm0, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
movss xmm2, dword [0x103a2784]
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [eax + 0x14]
comiss xmm1, xmm0
ja 0x1002cbf7
movaps xmm1, xmm2
minss xmm1, xmm0
ucomiss xmm1, xmm2
movss dword [eax + 0x14], xmm1
lahf
test ah, 0x44
jnp 0x1002cc4a
movaps xmm0, xmmword [0x103a2c60]
movups xmmword [esp + 0x20], xmm0
push ecx
movss xmm0, dword [edi + 0x37dc]
lea ecx, [esp + 0x24]
movss dword [esp], xmm0
call fcn.10005110
push dword [esp + 0x1c]
mov ecx, eax
push dword [esp + 0x1c]
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.10006de0
movss xmm2, dword [0x103a2784]
add esp, 0x14
movaps xmm1, xmm2
mov ecx, 0x35
call fcn.10006760
mov edx, eax
movss xmm1, dword [0x103a26f0]
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 + 0x103a2da0]
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 + 0x103a2da0]
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 + 0x103a2da0]
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.10005110
push dword [esp + 0x1c]
mov ecx, eax
push dword [esp + 0x1c]
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.10006de0
movaps xmm0, xmmword [0x103a2af0]
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.10005110
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.10021730
lea eax, [esi + 1]
push eax
mov eax, dword [0x103ca828]
lea ecx, [esp + 0x4c]
movss xmm2, dword [eax + 0x18]
call fcn.100025c0
cmp byte [esp + 0x46], 0
jne 0x1002cd8d
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
jne 0x1002cd8d
movss xmm0, dword [0x103a2940]
jmp 0x1002cd95
movss xmm0, dword [0x103a2800]
movss xmm1, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
movss xmm7, dword [0x103a2744]
mulss xmm1, xmm0
addss xmm1, dword [eax + 0x14]
comiss xmm7, xmm1
ja 0x1002cdc1
movss xmm7, dword [0x103a2784]
minss xmm7, xmm1
movss xmm1, dword [0x103a2784]
xor ecx, ecx
movss dword [eax + 0x14], xmm7
call fcn.10006760
mov edx, eax
movss xmm3, dword [0x103a26f0]
movzx ecx, dl
shr eax, 8
movzx eax, al
mov esi, dword [0x103ca828]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mov dword [esp + 0x48], 0
addsd xmm0, qword [ecx*8 + 0x103a2da0]
lea ecx, [esi + 0x4734]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x103a2da0]
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 + 0x103a2da0]
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 + 0x103a2da0]
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.1001cec0
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 [0x103a27c8]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [edi + 0x37d8]
subss xmm0, dword [0x103a2784]
movss dword [esp + 0x68], xmm0
je 0x1002cf28
test byte [edi + 0x469c], 0x40
je 0x1002cf06
mov edx, 0x10390a5c
jmp 0x1002cf1a
mov eax, dword [esp + 0x1c]
mov edx, 0x10390a60
mov ecx, 0x10390a64
cmp byte [eax], 0
cmove edx, ecx
push 0
lea ecx, [esp + 0x68]
call fcn.1001b220
add esp, 4
movss xmm0, dword [esp + 0x38]
comiss xmm0, dword [0x103a26c8]
jbe 0x1002cf4f
mov ecx, dword [esp + 0x40]
xor edx, edx
push 1
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10006950
add esp, 0xc
mov esi, dword [0x103ca828]
mov eax, dword [esi + 0x4734]
cmp eax, 1
jl 0x1002cf83
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.101238be
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.101238be
mov esp, ebp
pop ebp
ret