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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x653ea8]
xor eax, esp
mov dword [esp + 0x94], eax
movss xmm0, dword [ebp + 8]
lea eax, [esp + 0x30]
push esi
mov esi, ecx
movss dword [esp + 0x2c], xmm0
push edi
push eax
push ecx
movss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x44], esi
movss dword [esp], xmm0
call fcn.004a3980
movss xmm1, dword [esp + 0x30]
mov ecx, esi
mulss xmm1, dword [esp + 0x38]
mov edi, dword [esi + 0x50]
addss xmm1, dword [esi + 0x24]
cvttss2si eax, xmm1
mov dword [esp + 0x14], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esi + 0x24], xmm1
call fcn.0046a030
mov edx, dword [esp + 0x14]
xorps xmm0, xmm0
mov ecx, edx
movss dword [esp + 0x2c], xmm0
sub ecx, dword [edi + 4]
add ecx, eax
mov dword [esp + 0x10], 0
xor eax, eax
mov dword [esp + 0xc], 0
test ecx, ecx
mov dword [esp + 0x28], 0
cmovns eax, ecx
sub edx, eax
mov dword [esp + 0x14], edx
je 0x4a10bb
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, edi
movss dword [esp], xmm0
call fcn.004a3ee0
movss xmm0, dword [esp + 0x10]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4a18e9
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.004a3d60
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, dword [esi + 0x48]
movss dword [esp], xmm0
call fcn.004a2c60
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x6c]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.004a3b20
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x70]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.004a3be0
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.004a3ca0
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.004a3e20
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.004a3fa0
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.004a4060
mov eax, dword [esi + 0x4c]
cmp byte [eax + 0x13], 3
jne 0x4a10bb
mov edi, dword [esi + 4]
test edi, edi
je 0x4a10bb
movss xmm1, dword [edi + 0x24]
movss xmm0, dword [0x62fcc4]
mulss xmm1, xmm1
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.0058f650
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x5f5850]
jb 0x4a10bb
movss xmm0, dword [edi + 4]
xorps xmm0, xmmword [0x62ff20]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x14]
fld qword [esp + 0x20]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
call fcn.0058fd70
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x62fd5c]
movss dword [esp + 0x2c], xmm0
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], 0
jle 0x4a18e9
call fcn.0049eba0
mov ecx, dword [esi + 0x4c]
mov edi, eax
mov dword [esp + 0x20], edi
mov dword [edi + 0x5c], ecx
mov ecx, dword [esi + 0x50]
mov dword [edi + 0x60], ecx
movss xmm0, dword [esp + 0x10]
movss dword [edi + 0x54], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [edi + 0x58], xmm0
mov ecx, dword [esi + 0x50]
call fcn.004a3a50
movzx eax, al
cmp eax, 3
ja case.default.0x4a1117
jmp dword [eax*4 + 0x4a190c]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jmp case.default.0x4a1117
sub esp, 8
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.004a6810
fstp dword [edi + 0xc]
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.004a6810
add esp, 8
lea eax, [edi + 0xc]
fstp dword [edi + 0x10]
mov dword [edi + 0x14], 0
push eax
push eax
call fcn.00551865
mov ecx, dword [esi + 0x50]
call fcn.0049aad0
test eax, eax
mov eax, dword [esi + 0x50]
je 0x4a11a4
movss xmm1, dword [eax + 0x28]
addss xmm1, dword [esp + 0xc]
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0xc]
jmp 0x4a133e
movss xmm0, dword [eax + 0x28]
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.004a6810
fadd dword [esp + 0x14]
add esp, 8
fstp dword [esp + 8]
movss xmm1, dword [esp + 8]
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0xc]
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x10]
mulss xmm1, dword [edi + 0x14]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
jmp case.default.0x4a1117
mov eax, dword [esi + 0x50]
sub esp, 8
movss xmm1, dword [eax + 0x1c]
movaps xmm0, xmm1
mulss xmm1, dword [0x5f5854]
mulss xmm0, dword [0x62fcb8]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.004a6810
fadd dword [esp + 0x14]
fstp dword [edi + 0xc]
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x20]
movaps xmm0, xmm1
mulss xmm1, dword [0x5f5854]
mulss xmm0, dword [0x62fcb8]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.004a6810
fadd dword [esp + 0x14]
fstp dword [edi + 0x10]
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x24]
movaps xmm0, xmm1
mulss xmm1, dword [0x5f5854]
mulss xmm0, dword [0x62fcb8]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.004a6810
fadd dword [esp + 0x14]
add esp, 8
fstp dword [edi + 0x14]
jmp case.default.0x4a1117
sub esp, 8
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.004a6810
fstp dword [edi + 0xc]
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.004a6810
fstp dword [edi + 0x10]
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.004a6810
add esp, 8
lea eax, [edi + 0xc]
fstp dword [edi + 0x14]
push eax
push eax
call fcn.00551865
mov ecx, dword [esi + 0x50]
call fcn.0049aad0
test eax, eax
mov eax, dword [esi + 0x50]
je 0x4a130a
movss xmm1, dword [eax + 0x28]
addss xmm1, dword [esp + 0xc]
jmp 0x4a1335
movss xmm0, dword [eax + 0x28]
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.004a6810
fadd dword [esp + 0x14]
add esp, 8
fstp dword [esp + 8]
movss xmm1, dword [esp + 8]
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
movss dword [edi + 0x10], xmm0
movss xmm0, dword [edi + 0x14]
mulss xmm0, xmm1
movss dword [edi + 0x14], xmm0
movq xmm0, qword [esp + 0x78]
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x80]
movq qword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x78]
mov dword [esp + 0x5c], eax
addss xmm0, dword [ecx]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [ecx + 4]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [ecx + 8]
movss dword [ecx + 8], xmm0
mov edx, dword [esi + 4]
test edx, edx
je 0x4a13cd
mov eax, dword [esi + 0x4c]
cmp dword [eax + 0x20], 0
jne 0x4a13cd
push edx
push ecx
push ecx
call fcn.00551871
push dword [esi + 4]
lea eax, [esp + 0x58]
push eax
push eax
call fcn.00551871
movq xmm0, qword [esp + 0x54]
movq qword [edi], xmm0
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [esi + 0x50]
call fcn.004a3a40
cmp al, 2
jne 0x4a1459
movss xmm2, dword [edi + 0x10]
lea eax, [esp + 0x84]
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0xc]
subss xmm2, dword [esp + 0x58]
subss xmm1, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x54]
push eax
lea eax, [edi + 0x24]
push eax
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x94], xmm1
call fcn.00551865
movss xmm1, dword [0x62fde8]
jmp 0x4a151a
mov ecx, dword [esi + 0x50]
call fcn.004a3a40
cmp al, 1
jne 0x4a1544
mov ecx, dword [esi + 0x50]
call fcn.004a3a50
test al, al
jne 0x4a14c5
sub esp, 8
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0xc2c80000
call fcn.004a6810
fstp dword [edi + 0x24]
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0xc2c80000
call fcn.004a6810
fstp dword [edi + 0x28]
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0xc2c80000
call fcn.004a6810
fstp dword [edi + 0x2c]
add esp, 8
jmp 0x4a1544
movss xmm2, dword [edi + 0x10]
lea eax, [esp + 0x90]
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0xc]
subss xmm2, dword [esp + 0x58]
subss xmm1, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x54]
push eax
lea eax, [edi + 0x24]
push eax
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0x98], xmm0
movss dword [esp + 0xa0], xmm1
call fcn.00551865
movss xmm1, dword [0x62fd70]
movss xmm0, dword [edi + 0x24]
mulss xmm0, xmm1
movss dword [edi + 0x24], xmm0
movss xmm0, dword [edi + 0x28]
mulss xmm0, xmm1
movss dword [edi + 0x28], xmm0
movss xmm0, dword [edi + 0x2c]
mulss xmm0, xmm1
movss dword [edi + 0x2c], xmm0
movq xmm0, qword [esp + 0x6c]
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x74]
movq qword [esp + 0x60], xmm0
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x4a1574
mov eax, dword [esi + 0x4c]
cmp dword [eax + 0x20], 0
jne 0x4a1574
push ecx
lea eax, [esp + 0x64]
push eax
push eax
call fcn.005518a7
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [edi + 0x24]
movss dword [edi + 0x24], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [edi + 0x28]
movss dword [edi + 0x28], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [edi + 0x2c]
movss dword [edi + 0x2c], xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x2c]
comiss xmm1, xmm0
jbe 0x4a15fd
movaps xmm0, xmm1
sub esp, 8
mulss xmm0, dword [0x62fcb8]
mulss xmm1, dword [0x5f5854]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.004a6810
fmul dword [0x62fda4]
add esp, 8
fstp dword [esp + 8]
movss xmm0, dword [esp + 8]
addss xmm0, dword [edi + 0x24]
movss dword [edi + 0x24], xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x30]
comiss xmm1, xmm0
jbe 0x4a1650
movaps xmm0, xmm1
sub esp, 8
mulss xmm0, dword [0x62fcb8]
mulss xmm1, dword [0x5f5854]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.004a6810
fmul dword [0x62fda4]
add esp, 8
movss xmm0, dword [edi + 0x28]
fstp dword [esp + 8]
addss xmm0, dword [esp + 8]
movss dword [edi + 0x28], xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x34]
comiss xmm1, xmm0
jbe 0x4a169d
movaps xmm0, xmm1
sub esp, 8
mulss xmm0, dword [0x62fcb8]
mulss xmm1, dword [0x5f5854]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.004a6810
fmul dword [0x62fda4]
add esp, 8
fstp dword [esp + 8]
movss xmm0, dword [esp + 8]
addss xmm0, dword [edi + 0x2c]
movss dword [edi + 0x2c], xmm0
movss xmm1, dword [esp + 0x28]
sub esp, 8
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x24]
movss dword [edi + 0x24], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x28]
mulss xmm1, dword [edi + 0x2c]
movss dword [edi + 0x28], xmm0
movss dword [edi + 0x2c], xmm1
mov eax, dword [esp + 0x48]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x4c]
movzx eax, word [eax + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x40], xmm0
mov ecx, dword [esi + 0x4c]
movzx eax, word [ecx + 0x1e]
movd xmm0, eax
movzx eax, word [ecx + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.004a6810
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
add esp, 8
movss dword [edi + 0x40], xmm0
mov eax, dword [esi + 0x4c]
cmp byte [eax + 0x13], 3
jne 0x4a1740
cmp dword [esi + 4], 0
je 0x4a1740
addss xmm0, dword [esp + 0x2c]
movss dword [edi + 0x40], xmm0
mov byte [edi + 0x50], 0
mov eax, dword [esi + 0x4c]
mov al, byte [eax + 4]
mov byte [edi + 0x48], al
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 0x74]
sub eax, dword [ecx + 0x70]
sar eax, 2
cmp eax, 1
jbe 0x4a17ad
cmp byte [ecx + 4], 4
jne 0x4a178c
call fcn.004a6860
test al, 1
je 0x4a1777
mov byte [edi + 0x50], 0
mov byte [edi + 0x48], 1
jmp 0x4a178c
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x74]
sub ecx, dword [eax + 0x70]
sar ecx, 2
dec cl
mov byte [edi + 0x50], cl
mov byte [edi + 0x48], 2
mov ecx, dword [esi + 0x4c]
cmp dword [ecx + 0xc], 0
je 0x4a17ad
mov eax, dword [ecx + 0x74]
sub eax, dword [ecx + 0x70]
sar eax, 2
dec eax
push eax
push 0
call fcn.004a68a0
add esp, 8
mov byte [edi + 0x50], al
movss xmm4, dword [esp + 0x30]
movss xmm3, dword [edi + 0xc]
movaps xmm0, xmm4
mulss xmm0, dword [edi + 0x24]
mov ecx, dword [esp + 0x18]
movss xmm1, dword [edi + 0x2c]
movss xmm2, dword [edi + 0x10]
mulss xmm1, xmm4
subss xmm3, xmm0
push edi
movss xmm0, dword [edi + 0x28]
mulss xmm0, xmm4
subss xmm2, xmm0
movss xmm0, dword [edi + 0x14]
subss xmm0, xmm1
unpcklps xmm3, xmm2
movq qword [edi + 0x18], xmm3
movss dword [esp + 0x54], xmm0
mov eax, dword [esp + 0x54]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 4]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 4]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov dword [edi + 0x44], eax
test ecx, ecx
jne 0x4a1838
mov ecx, dword [esi + 0x48]
call fcn.00495490
mov dword [esp + 0x18], edi
jmp 0x4a188a
mov esi, dword [ecx + 0x70]
push ecx
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esi + 4]
add esi, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
test ecx, ecx
je 0x4a1883
mov eax, dword [ecx]
push edi
push dword [esp + 0x1c]
mov eax, dword [eax + 8]
call eax
mov edx, dword [esp + 8]
mov dword [edx + 4], eax
mov dword [eax + 8], edx
mov esi, dword [esi]
mov ecx, dword [edx + 4]
add esi, 4
mov dword [esp + 8], ecx
mov ecx, dword [esi]
test ecx, ecx
jne 0x4a1857
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov dword [edi + 0x70], eax
movzx ecx, byte [edi + 0x50]
lea edx, [esp + 0x20]
mov eax, dword [esi + 0x30]
push edx
lea edi, [eax + ecx*8]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov ecx, dword [eax + 4]
push ecx
mov dword [esp + 0x10], ecx
mov ecx, edi
push eax
call fcn.00429f40
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4a18ff
lea ecx, [eax + 1]
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 8]
mov dword [eax], edx
mov eax, dword [esp + 0x34]
inc dword [esi + 0x28]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x14]
jl 0x4a10d6
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.00553607
mov esp, ebp
pop ebp
ret 4
push 0x61ee64
call fcn.00551a60
nop dword [eax]
push ds
adc dword [edx], ecx
cmp byte [ecx], dl
dec edx
add al, bh
adc dword [edx], ecx
cdq
adc cl, byte [edx]
int3