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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x10128014]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, dword [0x1012d1c0]
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], edi
mov eax, dword [esi + 0x19b0]
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x19b0]
mov dword [esp + 0x2c], eax
cmp byte [eax + 0x7f], 0
jne 0x1004e8c4
mov ecx, dword [eax + 0xbc]
xor edx, edx
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1002ce90
mov edi, eax
add esp, 4
cmp dword [esi + 0x19e4], edi
jne 0x1004e380
mov dword [esi + 0x19e8], edi
cmp dword [esi + 0x1a18], edi
jne 0x1004e38f
mov byte [esi + 0x1a1c], 1
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1004e3b6
nop word [eax + eax]
mov cl, byte [eax]
test cl, cl
je 0x1004e3b6
cmp cl, 0x23
jne 0x1004e3b0
cmp byte [eax + 1], cl
je 0x1004e3b6
inc eax
cmp eax, 0xffffffff
jb 0x1004e3a0
movss xmm1, dword [esi + 0x18c4]
cmp edx, eax
jne 0x1004e3c7
xorps xmm7, xmm7
jmp 0x1004e40c
movss xmm3, dword [0x100e8ef4]
movaps xmm2, xmm1
push ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x18c0]
lea eax, [esp + 0x20]
mov dword [esp], 0xbf800000
push eax
call fcn.1004a470
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x100e8e24]
movss xmm1, dword [esp + 0x14]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm5, dword [esi + 0x154c]
xorps xmm0, xmm0
comiss xmm7, xmm0
mov eax, dword [esp + 0x2c]
movss xmm2, dword [esi + 0x18c4]
movaps xmm3, xmm5
movss xmm6, dword [eax + 0xc8]
addss xmm3, xmm5
movss xmm4, dword [eax + 0xcc]
movss dword [esp + 0x34], xmm7
movss dword [esp + 0x28], xmm6
movss dword [esp + 0x20], xmm4
addss xmm2, xmm3
addss xmm3, xmm1
movss dword [esp + 0x24], xmm2
jbe 0x1004e46d
movss xmm1, dword [esi + 0x1560]
addss xmm1, xmm7
jmp 0x1004e470
xorps xmm1, xmm1
addss xmm1, xmm2
movss dword [esp + 0x6c], xmm6
movaps xmm0, xmm4
movss dword [esp + 0x70], xmm4
addss xmm0, xmm3
lea ecx, [esp + 0x10]
addss xmm1, xmm6
movss dword [esp + 0x78], xmm0
subss xmm0, xmm4
movss dword [esp + 0x74], xmm1
subss xmm1, xmm6
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x10], xmm1
movaps xmm1, xmm5
call fcn.1002f8c0
push 0
mov edx, edi
lea ecx, [esp + 0x70]
call fcn.1002fa40
add esp, 4
test al, al
je 0x1004e8c4
push 0
lea eax, [esp + 0x1d]
mov edx, edi
push eax
lea eax, [esp + 0x22]
push eax
lea ecx, [esp + 0x78]
call fcn.1004cdb0
add esp, 0xc
mov byte [esp + 0x1b], al
test al, al
je 0x1004e518
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
sete cl
mov byte [eax], cl
mov eax, dword [0x1012d1c0]
mov word [eax + 0x19f3], 0x101
mov eax, dword [eax + 0x19b0]
or dword [eax + 0x10c], 4
movss xmm3, dword [esp + 0x28]
lea ecx, [esp + 0x6c]
movss xmm1, dword [esp + 0x20]
movaps xmm4, xmm3
addss xmm4, dword [esp + 0x24]
movaps xmm2, xmm1
movss dword [esp + 0x40], xmm3
addss xmm2, dword [esp + 0x24]
push 1
mov edx, edi
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x4c], xmm4
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x50], xmm2
call fcn.1002e5c0
mov al, byte [esp + 0x1e]
add esp, 4
cmp byte [esp + 0x19], 0
je 0x1004e580
test al, al
je 0x1004e580
mov edx, 9
jmp 0x1004e58a
xor edx, edx
test al, al
setne dl
add edx, 7
mov ecx, dword [0x1012d1c0]
lea eax, [edx + 0xb]
add eax, eax
xorps xmm1, xmm1
movss xmm5, dword [ecx + 0x1510]
movups xmm3, xmmword [ecx + eax*8 + 0x1510]
comiss xmm1, xmm3
movaps xmm0, xmm3
movaps xmmword [esp + 0x50], xmm3
shufps xmm0, xmm3, 0xff
mulss xmm5, xmm0
movss xmm0, dword [0x100e8e28]
jbe 0x1004e5ca
xorps xmm2, xmm2
jmp 0x1004e5d1
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm3, dword [0x100e8ed0]
movss xmm4, dword [0x100e8df4]
movss xmm6, dword [esp + 0x54]
comiss xmm1, xmm6
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si edx, xmm2
jbe 0x1004e5fd
xorps xmm2, xmm2
jmp 0x1004e604
movaps xmm2, xmm0
minss xmm2, xmm6
movss xmm6, dword [esp + 0x58]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm1, xmm6
jbe 0x1004e625
xorps xmm2, xmm2
jmp 0x1004e62c
movaps xmm2, xmm0
minss xmm2, xmm6
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 0x10
or edx, eax
comiss xmm1, xmm5
jbe 0x1004e647
xorps xmm0, xmm0
jmp 0x1004e64b
minss xmm0, xmm5
push dword [esp + 0x4c]
movss xmm2, dword [esi + 0x1550]
push dword [esp + 0x4c]
mulss xmm0, xmm3
push dword [esp + 0x4c]
push dword [esp + 0x4c]
addss xmm0, xmm4
cvttss2si ecx, xmm0
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.1002dea0
mov eax, dword [0x1012d1c0]
xorps xmm0, xmm0
movss xmm1, dword [0x100e8e28]
add esp, 0x10
movups xmm3, xmmword [eax + 0x16e0]
comiss xmm0, xmm3
movaps xmm6, xmm3
movaps xmmword [esp + 0x50], xmm3
shufps xmm6, xmm3, 0xff
mulss xmm6, dword [eax + 0x1510]
jbe 0x1004e6b3
xorps xmm2, xmm2
jmp 0x1004e6ba
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x100e8ed0]
movss xmm4, dword [0x100e8df4]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si edx, xmm2
jbe 0x1004e6e6
xorps xmm2, xmm2
jmp 0x1004e6ed
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm5, dword [esp + 0x58]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x1004e70e
xorps xmm2, xmm2
jmp 0x1004e715
movaps xmm2, xmm1
minss xmm2, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 0x10
or edx, eax
comiss xmm0, xmm6
ja 0x1004e732
movaps xmm0, xmm1
minss xmm0, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
shl ecx, 0x18
or ecx, edx
mov edx, dword [esp + 0x2c]
test byte [edx + 0x16c], 0x40
je 0x1004e7d4
movss xmm0, dword [esp + 0x24]
divss xmm0, dword [0x100e8e84]
push 0xf
push ecx
cvttss2si eax, xmm0
movd xmm0, eax
lea eax, [esp + 0x34]
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x30]
addss xmm1, dword [esp + 0x28]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esi + 0x1550]
movss dword [esp], xmm0
push ecx
mov ecx, dword [edx + 0x274]
push eax
lea eax, [esp + 0x20]
movss dword [esp + 0x24], xmm1
push eax
call fcn.10046e80
jmp 0x1004e836
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x1004e83a
movss xmm2, dword [esp + 0x24]
movaps xmm0, xmm2
divss xmm0, dword [0x100e8e90]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x20]
addss xmm1, xmm1
movss dword [esp + 0x14], xmm0
push dword [esp + 0x14]
subss xmm2, xmm1
push dword [esp + 0x14]
movaps xmm1, xmm2
call fcn.1002e3b0
add esp, 8
mov eax, dword [esp + 0x1c]
cmp byte [esi + 0x2d58], 0
je 0x1004e861
cmp byte [eax], 0
mov ecx, 0x100e72fc
mov edx, 0x100e72f8
cmove edx, ecx
lea ecx, [esp + 0x6c]
push 0
call fcn.1003c5c0
add esp, 4
movss xmm1, dword [esp + 0x34]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1004e8af
movss xmm0, dword [esi + 0x1560]
xor edx, edx
addss xmm0, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x154c]
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x14], xmm0
push dword [esp + 0x14]
push dword [esp + 0x14]
push 1
call fcn.1002d660
add esp, 0xc
mov al, byte [esp + 0x1b]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.1005d6c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1005d6c0
mov esp, ebp
pop ebp
ret