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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x43000c]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, ecx
mov ecx, dword [0x430b24]
push edi
mov edi, edx
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x1928]
cmp byte [edx + 0x7b], 0
jne 0x4931d6
test edi, edi
jne 0x492ba9
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x492b97
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [0x430b24]
movss xmm1, dword [edx + 0x16c]
xorps xmm3, xmm3
movss xmm4, dword [edx + 0xec]
mov eax, edi
addss xmm4, dword [edx + 0xcc]
movss xmm5, dword [edx + 0xc8]
comiss xmm1, xmm3
movss dword [esp + 0x38], xmm5
movss dword [esp + 0x20], xmm4
setae byte [esp + 0x1b]
sub eax, esi
cmp eax, 0x7d0
jle 0x492f0c
cmp byte [esp + 0x1b], 0
jne 0x492f17
movups xmm0, xmmword [edx + 0x1d4]
movss xmm6, dword [ecx + 0x1854]
xorps xmm2, xmm2
movaps xmmword [esp + 0x60], xmm0
xorps xmm1, xmm1
shufps xmm0, xmm0, 0xff
comiss xmm0, xmm4
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x1c], xmm2
jb 0x492eac
cmp byte [ecx + 0x2b90], 0
movaps xmm1, xmm4
mov edx, dword [0x4281d8]
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x44], xmm1
jne 0x492cc9
movss xmm0, dword [esp + 0x64]
subss xmm0, xmm4
divss xmm0, xmm6
cvttss2si ecx, xmm0
mov dword [esp + 0x28], ecx
test ecx, ecx
jle 0x492cc9
xor eax, eax
mov dword [esp + 0x14], eax
cmp esi, edi
jae 0x492cb4
nop dword [eax + eax]
cmp eax, ecx
jge 0x492c9f
push 0xa
push esi
call edx
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, dword [0x4281d8]
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp esi, edi
jb 0x492c74
movss xmm4, dword [esp + 0x20]
xorps xmm3, xmm3
movss xmm5, dword [esp + 0x38]
movss xmm6, dword [esp + 0x24]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
addss xmm1, xmm4
movss dword [esp + 0x44], xmm1
cmp esi, edi
jae 0x492e98
movaps xmm0, xmm5
movss dword [esp + 0x28], xmm1
addss xmm0, dword [0x42cd10]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
addss xmm0, xmm6
movss dword [esp + 0x14], xmm0
push 0xa
push esi
call edx
mov edx, dword [0x430b24]
add esp, 8
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 0x1928]
comiss xmm0, dword [ecx + 0x1d8]
jbe 0x492d49
movss xmm0, dword [ecx + 0x1e0]
comiss xmm0, dword [esp + 0x28]
jbe 0x492d49
movss xmm0, dword [esp + 0x54]
comiss xmm0, dword [ecx + 0x1d4]
jbe 0x492d49
movss xmm0, dword [ecx + 0x1dc]
comiss xmm0, dword [esp + 0x38]
ja 0x492d56
cmp byte [edx + 0x2b90], 0
je 0x492e51
movss xmm0, dword [edx + 0x1854]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x1850]
mov dword [esp + 0x30], eax
movss dword [esp + 0x2c], xmm0
cmp esi, ecx
jne 0x492d7b
xorps xmm1, xmm1
jmp 0x492ddb
movss xmm3, dword [0x42cd10]
movaps xmm2, xmm0
push ecx
push ecx
push esi
push ecx
lea ecx, [esp + 0x68]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.004a1304
movss xmm0, dword [esp + 0x58]
comiss xmm0, dword [0x42cc38]
jbe 0x492dbe
mov eax, dword [esp + 0x30]
movss xmm1, dword [esp + 0x2c]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x42cc9c]
mov ecx, dword [esp + 0x3c]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x58], xmm1
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm1
jae 0x492dec
movss dword [esp + 0x1c], xmm1
push dword [esp + 0x44]
mov edx, ecx
push dword [esp + 0x44]
push ecx
mov ecx, esi
call fcn.0048c2c4
movss xmm0, dword [esp + 0x34]
add esp, 0xc
movss xmm1, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
addss xmm0, xmm1
mov edx, dword [0x4281d8]
test eax, eax
cmove eax, edi
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x14]
addss xmm0, xmm1
lea esi, [eax + 1]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm0, xmm1
movss dword [esp + 0x44], xmm0
cmp esi, edi
jb 0x492cf5
xor eax, eax
mov dword [esp + 0x14], eax
cmp esi, edi
jae 0x492e7c
push 0xa
push esi
call dword [0x4281d8]
add esp, 8
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp esi, edi
jb 0x492e5b
movss xmm4, dword [esp + 0x20]
xorps xmm3, xmm3
movd xmm0, eax
cvtdq2ps xmm1, xmm0
mulss xmm1, dword [esp + 0x24]
addss xmm1, dword [esp + 0x44]
movss xmm2, dword [esp + 0x1c]
subss xmm1, xmm4
movss xmm5, dword [esp + 0x38]
addss xmm1, xmm3
addss xmm1, xmm4
movss dword [esp + 0x60], xmm5
addss xmm2, xmm5
movss dword [esp + 0x64], xmm4
lea ecx, [esp + 0x58]
movss dword [esp + 0x6c], xmm1
subss xmm1, xmm4
movss dword [esp + 0x68], xmm2
subss xmm2, xmm5
movss dword [esp + 0x5c], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x58], xmm2
call fcn.004861e4
push ecx
xor edx, edx
lea ecx, [esp + 0x64]
call fcn.00486b54
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004a83e0
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x1b], 0
je 0x492fca
comiss xmm3, xmm1
ja 0x492fca
mov edx, dword [ecx + 0x1928]
ucomiss xmm1, xmm3
mov dword [esp + 0x30], edx
lahf
test ah, 0x44
jp 0x492fa9
mov eax, dword [edx + 0x1c4]
movss xmm1, dword [edx + 0xc]
movss xmm2, dword [edx + 0x21c]
mov dword [esp + 0x1c], eax
subss xmm2, xmm1
test eax, eax
je 0x492f97
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 1]
movss xmm0, dword [ecx + 0x14]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x1c]
movss xmm2, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm2, xmm0
mulss xmm2, dword [eax + ecx*4]
mov eax, dword [esp + 0x30]
mov ecx, dword [0x430b24]
addss xmm2, xmm0
subss xmm2, dword [eax + 0x3c]
addss xmm1, xmm2
subss xmm1, xmm5
maxss xmm1, dword [0x42cca0]
jmp 0x492fcd
comiss xmm1, xmm3
jbe 0x492fbc
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [edx + 0x54]
addss xmm1, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x42cca0]
jmp 0x492fcd
xorps xmm1, xmm1
movss xmm2, dword [ecx + 0x1854]
mov eax, dword [ecx + 0x1850]
movss dword [esp + 0x1c], xmm1
mov dword [esp + 0x2c], eax
movss dword [esp + 0x30], xmm2
cmp esi, edi
jne 0x492ff4
xorps xmm0, xmm0
jmp 0x493056
movss xmm3, dword [0x42cd10]
push ecx
push edi
push esi
push ecx
lea ecx, [esp + 0x68]
movss dword [esp], xmm1
push ecx
mov ecx, eax
call fcn.004a1304
movss xmm0, dword [esp + 0x58]
xorps xmm3, xmm3
comiss xmm0, xmm3
jbe 0x493031
mov eax, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x30]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x42cc9c]
movss xmm2, dword [esp + 0x5c]
movss xmm4, dword [esp + 0x20]
movss xmm5, dword [esp + 0x38]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm5
movss dword [esp + 0x40], xmm0
addss xmm1, xmm0
movss dword [esp + 0x44], xmm2
movaps xmm0, xmm4
movss dword [esp + 0x60], xmm5
addss xmm0, xmm2
movss dword [esp + 0x64], xmm4
lea ecx, [esp + 0x40]
movss dword [esp + 0x68], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x6c], xmm0
call fcn.004861e4
push ecx
xor edx, edx
lea ecx, [esp + 0x64]
call fcn.00486b54
add esp, 4
test al, al
je 0x4931d6
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [0x430b24]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x1928]
mov dword [esp + 0x30], ecx
test edi, edi
jne 0x4930eb
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4930d7
mov eax, dword [esp + 0x14]
sub ecx, edx
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x30]
cmp esi, edi
je 0x4931d6
mov edx, dword [ecx + 0x27c]
mov ecx, dword [eax + 0x1850]
movss xmm1, dword [0x42cca0]
movss xmm7, dword [eax + 0x1854]
mov dword [esp + 0x20], ecx
xor ecx, ecx
call fcn.00485434
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edi
test eax, 0xff000000
je 0x4931ba
test edi, edi
jne 0x493150
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49313a
sub ecx, dword [esp + 0x30]
lea eax, [ecx + esi]
mov dword [esp + 0x24], eax
cmp esi, eax
je 0x4931ba
cmp dword [esp + 0x20], 0
jne 0x493161
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
ucomiss xmm7, dword [0x42cc38]
lahf
test ah, 0x44
jp 0x493176
mov eax, dword [edx + 0x28]
movss xmm7, dword [eax + 0xc]
mov ecx, dword [edx + 0x3c]
movaps xmm2, xmm7
mov eax, dword [edx + 0x44]
shl ecx, 4
push 0
push ecx
movups xmm0, xmmword [eax + ecx - 0x10]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x48]
movups xmmword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push esi
push eax
push dword [esp + 0x40]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push edx
call fcn.004a14c4
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2b90], 0
je 0x4931d6
push edi
mov edx, esi
lea ecx, [esp + 0x5c]
call fcn.0048c1b4
add esp, 4
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.004a83e0
mov esp, ebp
pop ebp
ret