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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x5de040]
xor eax, esp
mov dword [esp + 0x164], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], edi
cmp dword [edi + 0x94], 0
je 0x4e51aa
cmp dword [edi + 0x98], 0
je 0x4e51aa
movss xmm0, dword [edi + 8]
lea eax, [esp + 0x70]
push ecx
movss dword [esp], xmm0
push eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0xb4], 0x3f800000
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x78], 0x3f800000
call dword [0x5a4984]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x140], 0
push ecx
lea esi, [edi + 0x20]
mov dword [esp + 0x140], 0
lea eax, [edi + 0x14]
mov dword [esp + 0x13c], 0
push esi
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x114]
push eax
mov dword [esp + 0x144], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x154], 0x3f800000
mov dword [esp + 0x140], 0x3f800000
mov dword [esp + 0x12c], 0x3f800000
mov dword [esp + 0x118], 0x3f800000
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0x3f800000
mov dword [esp + 0x114], 0
call dword [0x5a496c]
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xb8]
push eax
call dword [0x5a4964]
movaps xmm0, xmmword [esp + 0xb0]
lea eax, [esp + 0x64]
movaps xmmword [esp + 0x70], xmm0
movaps xmm0, xmmword [esp + 0xc0]
movaps xmmword [esp + 0x80], xmm0
movaps xmm0, xmmword [esp + 0xd0]
movaps xmmword [esp + 0x90], xmm0
movaps xmm0, xmmword [esp + 0xe0]
movaps xmmword [esp + 0xa0], xmm0
movss xmm0, dword [esi]
subss xmm0, dword [edi + 0x14]
push eax
push eax
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, dword [edi + 0x18]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esi + 8]
subss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x74], xmm0
call dword [0x5a4990]
movss xmm1, dword [edi + 0x88]
movaps xmm3, xmm1
mulss xmm3, dword [0x5c70f4]
xorps xmm2, xmm2
mov eax, dword [esp + 0x28]
xor ecx, ecx
mulss xmm1, dword [0x5c7140]
mov dword [esp + 0x18], ecx
subss xmm3, dword [edi + 0x18]
subss xmm2, dword [eax]
mulss xmm1, dword [0x5c70f4]
mov eax, dword [edi + 0xa0]
sub eax, dword [edi + 0x9c]
mulss xmm3, dword [esp + 0x68]
sar eax, 2
mulss xmm2, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
subss xmm1, dword [edi + 0x1c]
addss xmm3, xmm2
mulss xmm1, dword [esp + 0x6c]
addss xmm3, xmm1
andps xmm3, xmmword [0x5c76e0]
movss dword [esp + 0x28], xmm3
test eax, eax
je 0x4e4e3a
mov eax, dword [0x5a4938]
mov edx, dword [0x5a4980]
mov dword [esp + 0x58], eax
mov eax, dword [0x5a4954]
mov dword [esp + 0x20], edx
mov dword [esp + 0x5c], eax
nop word [eax + eax]
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x3c], 0x3f800000
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x14], eax
movss xmm0, dword [eax]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x3c], xmm0
push eax
push eax
call edx
mov eax, dword [esp + 0x14]
lea esi, [eax + 0x20]
push ecx
movss xmm1, dword [eax + 0xc]
movaps xmm0, xmm1
xorps xmm0, xmmword [0x5c7710]
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
mov dword [esi + 8], 0
movss dword [eax + 0x2c], xmm1
movss dword [eax + 0x30], xmm1
mov dword [eax + 0x34], 0
movss dword [eax + 0x38], xmm0
movss dword [eax + 0x3c], xmm0
mov dword [eax + 0x40], 0
movss dword [eax + 0x44], xmm1
movss dword [eax + 0x48], xmm0
mov dword [eax + 0x4c], 0
movss xmm0, dword [eax + 0x1c]
lea eax, [esp + 0xb4]
mulss xmm0, dword [0x5c70ac]
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
movss dword [esp], xmm0
push eax
mov dword [esp + 0xe4], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xf4], 0x3f800000
mov dword [esp + 0xe0], 0x3f800000
mov dword [esp + 0xcc], 0x3f800000
mov dword [esp + 0xb8], 0x3f800000
call dword [esp + 0x60]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], 4
lea eax, [esp + 0xb0]
push eax
push esi
lea eax, [esp + 0x50]
push eax
call dword [esp + 0x68]
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x14], xmm0
movss dword [esi], xmm0
movss xmm0, dword [edi + 0x1c]
mulss xmm0, dword [0x5c70ac]
call fcn.004cf440
mulss xmm0, dword [edi + 0x10]
addss xmm0, xmm0
addss xmm0, dword [esp + 0x14]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x4c]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x50]
movss dword [esi + 8], xmm0
add esi, 0xc
sub dword [esp + 0x40], 1
jne 0x4e4da6
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x60]
inc ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x1c]
jb 0x4e4c30
mov edx, dword [edi + 0xa0]
mov eax, edx
mov ecx, dword [edi + 0x9c]
sub eax, ecx
push dword [esp + 0x44]
sar eax, 2
push eax
call fcn.004e56d0
mov ecx, dword [0x5e43d0]
lea eax, [esp + 0x2c]
add esp, 8
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0x208
push 0
push eax
xor eax, eax
mov edx, dword [esi]
test ecx, ecx
sete al
test ecx, ecx
push eax
push 0
mov eax, 8
cmovne eax, dword [esp + 0x30]
push eax
mov eax, dword [edi + 0xa0]
sub eax, dword [edi + 0x9c]
sar eax, 2
lea eax, [eax + eax*2]
shl eax, 4
push eax
push esi
call dword [edx + 0x68]
mov eax, dword [0x5e43d0]
mov ecx, dword [esp + 0x24]
neg eax
sbb eax, eax
and eax, 0x2000
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push ecx
call dword [edx + 0x2c]
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x1c], ecx
jbe 0x4e4f4b
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x9c]
lea esi, [esi + 0x30]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax + ecx*4]
movq xmm0, qword [ecx + 0x20]
movq qword [esi + edx - 0x30], xmm0
mov eax, dword [ecx + 0x28]
mov dword [esi + edx - 0x28], eax
movq xmm0, qword [ecx + 0x2c]
movq qword [esi + edx - 0x24], xmm0
mov eax, dword [ecx + 0x34]
mov dword [esi + edx - 0x1c], eax
movq xmm0, qword [ecx + 0x38]
movq qword [esi + edx - 0x18], xmm0
mov eax, dword [ecx + 0x40]
mov dword [esi + edx - 0x10], eax
movq xmm0, qword [ecx + 0x44]
movq qword [esi + edx - 0xc], xmm0
mov eax, dword [ecx + 0x4c]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esi + edx - 4], eax
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x1c]
jb 0x4e4ee0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi]
push 0xc
push 0
push dword [esp + 0x2c]
push 0
push esi
call dword [eax + 0x190]
mov eax, dword [esi]
push 8
push 0
push dword [edi + 0x7c]
push 1
push esi
call dword [eax + 0x190]
movsx eax, word [edi + 0x80]
movaps xmm0, xmmword [0x5c7530]
mov dword [esp + 0x148], 1
mov dword [esp + 0x14c], 0xffffffff
lea eax, [eax + eax*2]
mov dword [esp + 0x150], 0
movups xmmword [esp + 0x154], xmm0
mov dword [esp + 0x164], 0x12
mov dword [esp + 0x168], 0xffffffff
cmp dword [esp + eax*4 + 0x148], 0xffffffff
mov dword [esp + 0x14], 0
je 0x4e519c
mov eax, dword [edi + 0x94]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
movsx ecx, word [edi + 0x80]
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x94]
lea eax, [eax + ecx*2]
mov esi, dword [edx]
add eax, ecx
push dword [esp + eax*4 + 0x148]
push edx
call dword [esi + 0x100]
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x1c], eax
jbe 0x4e515b
nop dword [eax]
lea ecx, [eax*4]
movss xmm2, dword [edi + 0x10]
mov eax, dword [edi + 0x9c]
mov esi, dword [edi + 0x94]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0x20]
movss xmm0, dword [eax + 0x24]
movss xmm1, dword [eax + 0x20]
subss xmm1, dword [edi + 0x14]
subss xmm0, dword [edi + 0x18]
mulss xmm1, dword [esp + 0x64]
mulss xmm0, dword [esp + 0x68]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x28]
subss xmm0, dword [edi + 0x1c]
mulss xmm0, dword [esp + 0x6c]
addss xmm1, xmm0
andps xmm1, xmmword [0x5c76e0]
cmp ecx, 1
jne 0x4e50a7
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm1
ja 0x4e5148
jmp 0x4e50b7
cmp ecx, 2
jne 0x4e50b7
comiss xmm1, dword [esp + 0x28]
jae 0x4e5148
movss xmm0, dword [eax + 4]
movss xmm1, dword [0x5c70d4]
comiss xmm1, xmm0
mov eax, dword [esi]
jbe 0x4e50fb
mulss xmm2, xmm0
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mulss xmm2, dword [0x5c7410]
movss dword [esp + 0x3c], xmm2
jmp 0x4e511d
mov dword [esp + 0x48], 0x3f800000
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x50], 0x3f800000
movss dword [esp + 0x54], xmm2
push ecx
push str.g_Color
push esi
call dword [eax + 0x88]
mov eax, dword [esi]
push esi
call dword [eax + 0x104]
mov ecx, dword [esp + 0x2c]
push 2
push dword [esp + 0x24]
mov eax, dword [ecx]
push 5
push ecx
call dword [eax + 0x144]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x4e5030
mov eax, dword [edi + 0x94]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [edi + 0x94]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov eax, dword [esp + 0x14]
movsx ecx, word [edi + 0x80]
inc eax
mov dword [esp + 0x14], eax
lea eax, [eax + ecx*2]
add eax, ecx
cmp dword [esp + eax*4 + 0x148], 0xffffffff
jne 0x4e4fe0
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4e51aa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
xor ecx, esp
call fcn.0052d235
mov esp, ebp
pop ebp
ret 0x1c