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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c715d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
push esi
push edi
mov eax, dword [0x4e84c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
cmp byte [ebx + 0xc], 0
movss xmm1, dword [0x4c89e0]
mov edx, dword [ebx + 0x10]
movaps xmm3, xmm1
mov edi, dword [ebx + 0x14]
movaps xmm4, xmm1
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [0x4c8a74]
movaps xmm6, xmm1
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x1c], xmm4
movaps xmm7, xmm1
movss dword [ebp - 0x38], xmm6
je 0x494299
movaps xmm0, xmm1
movss dword [ebp - 0x30], xmm0
test edi, edi
jle 0x49428f
mov eax, dword [ebx + 8]
mov ecx, edi
add eax, 8
movaps xmm5, xmm3
nop dword [eax + eax]
movsd xmm2, qword [eax - 8]
movsd xmm3, qword [eax + 8]
movsd xmm4, qword [eax]
add eax, edx
movss xmm0, dword [ebp - 0x20]
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm3, xmm3
comiss xmm0, xmm2
cvtpd2ps xmm4, xmm4
jbe 0x49423b
movss dword [ebp - 0x20], xmm2
movss xmm0, dword [ebp - 0x18]
comiss xmm0, xmm4
jbe 0x49424a
movss dword [ebp - 0x18], xmm4
comiss xmm5, xmm3
jbe 0x494257
movss dword [ebp - 0x1c], xmm3
movaps xmm5, xmm3
comiss xmm2, xmm1
movaps xmm0, xmm1
jbe 0x494262
movaps xmm1, xmm2
comiss xmm4, xmm6
maxss xmm0, xmm2
movss dword [ebp - 0x30], xmm0
jbe 0x494273
movaps xmm6, xmm4
comiss xmm3, xmm7
jbe 0x49427b
movaps xmm7, xmm3
sub ecx, 1
jne 0x494210
movss xmm4, dword [ebp - 0x1c]
movss xmm3, dword [ebp - 0x18]
movss dword [ebp - 0x38], xmm6
movss xmm5, dword [ebp - 0x30]
jmp 0x494319
movaps xmm5, xmm1
test edi, edi
jle 0x494319
mov eax, dword [ebx + 8]
mov ecx, edi
add eax, 8
nop dword [eax]
movss xmm0, dword [eax - 8]
movss xmm3, dword [eax - 4]
movss xmm2, dword [eax]
add eax, edx
movss xmm5, dword [ebp - 0x20]
comiss xmm5, xmm0
jbe 0x4942cf
movss dword [ebp - 0x20], xmm0
movss xmm5, dword [ebp - 0x18]
comiss xmm5, xmm3
jbe 0x4942de
movss dword [ebp - 0x18], xmm3
comiss xmm4, xmm2
jbe 0x4942e6
movaps xmm4, xmm2
comiss xmm0, xmm1
movaps xmm5, xmm1
jbe 0x4942f1
movaps xmm1, xmm0
comiss xmm3, xmm6
maxss xmm5, xmm0
jbe 0x4942fd
movaps xmm6, xmm3
comiss xmm2, xmm7
jbe 0x494305
movaps xmm7, xmm2
sub ecx, 1
jne 0x4942b0
movss xmm3, dword [ebp - 0x18]
movss dword [ebp - 0x1c], xmm4
movss dword [ebp - 0x38], xmm6
movss xmm2, dword [ebp - 0x38]
movaps xmm6, xmm7
subss xmm5, dword [ebp - 0x20]
subss xmm6, xmm4
mov dword [ebp - 0x44], 0
movaps xmm4, xmm2
xor ecx, ecx
subss xmm4, xmm3
comiss xmm4, xmm5
jbe 0x494355
comiss xmm6, xmm4
mov edx, 2
seta cl
xor eax, eax
inc ecx
comiss xmm6, xmm5
cmova edx, eax
jmp 0x494369
comiss xmm6, xmm5
mov eax, 2
cmova ecx, eax
xor edx, edx
comiss xmm6, xmm4
setbe dl
inc edx
mov dword [esi + 0x70], ecx
mov eax, 3
mov dword [esi + 0x68], edx
mov dword [ebp - 0x3c], eax
cmp edx, ecx
jne 0x49438b
lea eax, [ecx + 1]
xor edx, edx
div dword [ebp - 0x3c]
mov eax, 3
mov dword [esi + 0x68], edx
sub eax, ecx
movss xmm0, dword [0x4c9634]
sub eax, edx
mulss xmm5, xmm0
mov dword [esi + 0x6c], eax
inc eax
cdq
idiv dword [ebp - 0x3c]
mulss xmm4, xmm0
mulss xmm6, xmm0
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x50], xmm5
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x4c], xmm4
movss dword [ebp - 0x38], xmm6
movss dword [ebp - 0x48], xmm6
cmp edx, ecx
je 0x4943fc
movss xmm0, dword [0x4da970]
xorps xmm5, xmm0
xorps xmm4, xmm0
xorps xmm6, xmm0
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x50], xmm5
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x4c], xmm4
movss dword [ebp - 0x38], xmm6
movss dword [ebp - 0x48], xmm6
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [esi], xmm0
xorps xmm0, xmm0
ucomiss xmm5, xmm0
movss xmm0, dword [0x4da724]
lahf
test ah, 0x44
jnp 0x49442b
divss xmm0, xmm5
movaps xmm5, xmm0
movss xmm0, dword [0x4da724]
movss dword [ebp - 0x30], xmm5
ucomiss xmm4, dword [0x4da6f0]
lahf
test ah, 0x44
jnp 0x494444
divss xmm0, xmm4
movaps xmm4, xmm0
movss dword [ebp - 0x18], xmm4
xorps xmm0, xmm0
ucomiss xmm6, xmm0
lahf
test ah, 0x44
jnp 0x494464
movss xmm0, dword [0x4da724]
divss xmm0, xmm6
movaps xmm6, xmm0
movss dword [ebp - 0x38], xmm6
addss xmm7, dword [ebp - 0x1c]
addss xmm1, dword [ebp - 0x20]
movss xmm0, dword [0x4da714]
addss xmm2, xmm3
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x64], 1
mulss xmm7, xmm0
mov dword [ebp - 0x68], 0
mulss xmm2, xmm0
mov dword [ebp - 0x70], 0
mulss xmm1, xmm0
mov dword [ebp - 0x6c], 0
movss dword [ebp - 0x4c], xmm2
movss dword [ebp - 0x48], xmm7
movss dword [ebp - 0x50], xmm1
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [esi + 0x10], xmm0
mov dword [ebp - 4], 0
test edi, edi
js 0x494561
jle 0x494561
mov eax, edi
shl eax, 4
push 0x10
push eax
call fcn.004927e0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x49450d
xor edx, edx
mov esi, eax
mov eax, dword [ebp - 0x68]
lea edx, [edx + 0x10]
movups xmm0, xmmword [edx + eax - 0x10]
movups xmmword [edx + ecx - 0x10], xmm0
sub esi, 1
jne 0x4944f5
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x494526
cmp byte [ebp - 0x64], 0
je 0x494526
push eax
call fcn.004927f0
mov ecx, dword [ebp - 0x20]
add esp, 4
movups xmm0, xmmword [ebp - 0x60]
mov dword [ebp - 0x6c], edi
xor eax, eax
mov dword [ebp - 0x68], ecx
mov edx, edi
mov byte [ebp - 0x64], 1
nop dword [eax + eax]
lea eax, [eax + 0x10]
movups xmmword [eax + ecx - 0x10], xmm0
sub edx, 1
je 0x494552
mov ecx, dword [ebp - 0x68]
jmp 0x494540
movss xmm5, dword [ebp - 0x30]
movss xmm6, dword [ebp - 0x38]
movss xmm4, dword [ebp - 0x18]
cmp byte [ebx + 0xc], 0
mov eax, edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x3c], 0
je 0x494636
test edi, edi
jle 0x4946eb
mov eax, dword [ebx + 8]
xor edx, edx
movss xmm7, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x44], 0
movsd xmm0, qword [eax + 8]
movaps xmm2, xmm6
movsd xmm3, qword [eax]
movaps xmm1, xmm7
movsd xmm4, qword [eax - 8]
add eax, dword [ebx + 0x10]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x6c]
cvtpd2ps xmm3, xmm3
subss xmm0, dword [esi + 0x18]
subss xmm3, dword [esi + 0x14]
cvtpd2ps xmm4, xmm4
mulss xmm2, xmm0
movaps xmm0, xmm5
subss xmm4, dword [esi + 0x10]
mulss xmm1, xmm3
movss dword [ebp - 0x48], xmm2
mulss xmm0, xmm4
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x50], xmm0
cvttss2si ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x68]
mov dword [edx + eax], ecx
mov eax, dword [esi + 0x70]
cvttss2si ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x68]
mov dword [edx + eax + 4], ecx
mov eax, dword [esi + 0x68]
cvttss2si ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x68]
mov dword [edx + eax + 8], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x3c]
mov dword [edx + eax + 0xc], ecx
inc ecx
mov eax, dword [ebp - 0x38]
add edx, 0x10
mov dword [ebp - 0x3c], ecx
cmp ecx, edi
jl 0x494593
jmp 0x4946e8
test edi, edi
jle 0x4946eb
mov eax, dword [ebx + 8]
xor edx, edx
add eax, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], eax
movss xmm0, dword [eax - 4]
movaps xmm3, xmm6
mov edi, dword [ebp - 0x38]
movss xmm2, dword [eax - 8]
subss xmm0, dword [esi + 0x14]
subss xmm2, dword [esi + 0x10]
movss xmm1, dword [edi]
subss xmm1, dword [esi + 0x18]
mov eax, dword [esi + 0x6c]
add edi, dword [ebx + 0x10]
mov dword [ebp - 0x38], edi
mov edi, dword [ebx + 0x14]
mulss xmm3, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm2
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x48], xmm3
movss dword [ebp - 0x50], xmm0
cvttss2si ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x68]
mov dword [eax + edx], ecx
mov eax, dword [esi + 0x70]
cvttss2si ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x68]
mov dword [eax + edx + 4], ecx
mov eax, dword [esi + 0x68]
cvttss2si ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x68]
mov dword [eax + edx + 8], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + edx + 0xc], ecx
inc ecx
mov eax, dword [ebp - 0x38]
add edx, 0x10
mov dword [ebp - 0x3c], ecx
cmp ecx, edi
jl 0x494650
mov eax, dword [ebp - 0x70]
cmp eax, 1
jle 0x494700
dec eax
lea ecx, [ebp - 0x74]
push eax
push 0
lea eax, [ebp - 0x11]
push eax
call fcn.00492ed0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], edi
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
jl 0x49479f
jle 0x49478c
cmp dword [esi + 0x58], edi
jge 0x49478c
test edi, edi
je 0x494743
lea eax, [edi*4]
push 0x10
push eax
call fcn.004927e0
mov edx, dword [esi + 0x54]
add esp, 8
mov dword [ebp - 0x38], eax
jmp 0x49474c
mov dword [ebp - 0x38], 0
mov edx, ecx
xor ecx, ecx
test edx, edx
jle 0x494766
mov edi, dword [ebp - 0x38]
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + ecx*4]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x494755
mov edi, dword [ebx + 0x14]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x49477c
cmp byte [esi + 0x60], 0
je 0x49477c
push eax
call fcn.004927f0
add esp, 4
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov byte [esi + 0x60], 1
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], edi
cmp ecx, edi
jge 0x49479f
mov eax, dword [esi + 0x5c]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, edi
jl 0x494790
xor ecx, ecx
mov dword [esi + 0x54], edi
mov dword [ebp - 0x30], ecx
test edi, edi
jle 0x494892
mov dword [ebp - 0x38], ecx
mov edx, dword [esi + 0x28]
test edx, edx
jne 0x49483d
mov edi, dword [esi + 0x24]
test edi, edi
je 0x4947cc
mov eax, dword [edi + 8]
mov dword [esi + 0x24], eax
jmp 0x4947fd
push 0x10
push 0xc
call fcn.004927e0
mov ecx, dword [esi + 0x2c]
mov edi, eax
push 0x10
mov dword [edi + 4], ecx
imul ecx, ecx, 0x70
mov dword [edi + 8], 0
push ecx
call fcn.004927e0
mov dword [edi], eax
add esp, 0x10
mov eax, dword [esi + 0x20]
mov dword [edi + 8], eax
mov dword [esi + 0x20], edi
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x49483a
mov esi, dword [ebp - 0x20]
inc esi
mov dword [ebp - 0x20], 0
cmp esi, dword [ebp - 0x3c]
lea eax, [edx + 0x70]
lea edx, [edx + 0x70]
cmovge eax, dword [ebp - 0x20]
mov dword [edx - 0x70], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x3c], eax
cmp esi, eax
jl 0x494813
mov edx, dword [edi]
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx]
mov edi, dword [ebp - 0x38]
add dword [ebp - 0x38], 0x10
mov dword [esi + 0x28], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x68], 0xffffffff
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x68]
movups xmm0, xmmword [eax + edi]
mov edi, dword [ebx + 0x14]
movups xmmword [edx + 0x58], xmm0
mov eax, dword [esi + 0x5c]
mov dword [eax + ecx*4], edx
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, edi
jl 0x4947b2
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4948a8
cmp byte [ebp - 0x64], 0
je 0x4948a8
push eax
call fcn.004927f0
add esp, 4
mov eax, dword [esi + 0x30]
xorps xmm0, xmm0
mov dword [esi + 0x34], eax
mov ecx, esi
lea eax, [edi + edi*2]
mov byte [ebp - 0x64], 1
add eax, eax
mov dword [ebp - 0x68], 0
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x60]
push eax
push edi
push 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x64], 0xfffffffd
movups xmmword [ebp - 0x60], xmm0
call fcn.00494940
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], 1
test eax, eax
je 0x494923
cmp byte [ebp - 0x64], 0
je 0x494923
push eax
call fcn.004927f0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10