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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x10129014]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, dword [0x1012e1cc]
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 0x1004ecc4
mov ecx, dword [eax + 0xbc]
xor edx, edx
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1002d180
mov edi, eax
add esp, 4
cmp dword [esi + 0x19e4], edi
jne 0x1004e780
mov dword [esi + 0x19e8], edi
cmp dword [esi + 0x1a18], edi
jne 0x1004e78f
mov byte [esi + 0x1a1c], 1
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1004e7b6
nop word [eax + eax]
mov cl, byte [eax]
test cl, cl
je 0x1004e7b6
cmp cl, 0x23
jne 0x1004e7b0
cmp byte [eax + 1], cl
je 0x1004e7b6
inc eax
cmp eax, 0xffffffff
jb 0x1004e7a0
movss xmm1, dword [esi + 0x18c4]
cmp edx, eax
jne 0x1004e7c7
xorps xmm7, xmm7
jmp 0x1004e80c
movss xmm3, dword [0x100e9f0c]
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.1004a760
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x100e9e3c]
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 0x1004e86d
movss xmm1, dword [esi + 0x1560]
addss xmm1, xmm7
jmp 0x1004e870
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.1002fbb0
push 0
mov edx, edi
lea ecx, [esp + 0x70]
call fcn.1002fd30
add esp, 4
test al, al
je 0x1004ecc4
push 0
lea eax, [esp + 0x1d]
mov edx, edi
push eax
lea eax, [esp + 0x22]
push eax
lea ecx, [esp + 0x78]
call fcn.1004d1b0
add esp, 0xc
mov byte [esp + 0x1b], al
test al, al
je 0x1004e918
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
sete cl
mov byte [eax], cl
mov eax, dword [0x1012e1cc]
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.1002e8b0
mov al, byte [esp + 0x1e]
add esp, 4
cmp byte [esp + 0x19], 0
je 0x1004e980
test al, al
je 0x1004e980
mov edx, 9
jmp 0x1004e98a
xor edx, edx
test al, al
setne dl
add edx, 7
mov ecx, dword [0x1012e1cc]
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 [0x100e9e40]
jbe 0x1004e9ca
xorps xmm2, xmm2
jmp 0x1004e9d1
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm3, dword [0x100e9ee8]
movss xmm4, dword [0x100e9e0c]
movss xmm6, dword [esp + 0x54]
comiss xmm1, xmm6
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si edx, xmm2
jbe 0x1004e9fd
xorps xmm2, xmm2
jmp 0x1004ea04
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 0x1004ea25
xorps xmm2, xmm2
jmp 0x1004ea2c
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 0x1004ea47
xorps xmm0, xmm0
jmp 0x1004ea4b
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.1002e190
mov eax, dword [0x1012e1cc]
xorps xmm0, xmm0
movss xmm1, dword [0x100e9e40]
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 0x1004eab3
xorps xmm2, xmm2
jmp 0x1004eaba
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm3, dword [0x100e9ee8]
movss xmm4, dword [0x100e9e0c]
movss xmm5, dword [esp + 0x54]
comiss xmm0, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si edx, xmm2
jbe 0x1004eae6
xorps xmm2, xmm2
jmp 0x1004eaed
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 0x1004eb0e
xorps xmm2, xmm2
jmp 0x1004eb15
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 0x1004eb32
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 0x1004ebd4
movss xmm0, dword [esp + 0x24]
divss xmm0, dword [0x100e9e9c]
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.10047180
jmp 0x1004ec36
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x1004ec3a
movss xmm2, dword [esp + 0x24]
movaps xmm0, xmm2
divss xmm0, dword [0x100e9ea8]
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.1002e6a0
add esp, 8
mov eax, dword [esp + 0x1c]
cmp byte [esi + 0x2d58], 0
je 0x1004ec61
cmp byte [eax], 0
mov ecx, 0x100e8304
mov edx, 0x100e8300
cmove edx, ecx
lea ecx, [esp + 0x6c]
push 0
call fcn.1003c8b0
add esp, 4
movss xmm1, dword [esp + 0x34]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1004ecaf
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.1002d950
add esp, 0xc
mov al, byte [esp + 0x1b]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.1005db50
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1005db50
mov esp, ebp
pop ebp
ret