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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1524
call fcn.004ebe60
mov eax, dword [0x515040]
xor eax, esp
mov dword [esp + 0x1520], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
push ebx
mov eax, dword [eax + 0x28]
shl eax, 6
add eax, dword [ebp + 8]
push esi
push edi
movss xmm0, dword [eax]
movss xmm3, dword [eax + 4]
divss xmm0, dword [0x50d47c]
mov ch, byte [eax + 0x28]
mov cl, byte [eax + 0x10]
mov edx, dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov byte [esp + 0xf], ch
mov ch, byte [eax + 0x2c]
shl ch, 4
divss xmm3, dword [0x50d47c]
movss xmm4, dword [eax + 8]
movss xmm5, dword [eax + 0xc]
mulss xmm0, dword [0x50d664]
mov dword [esp + 0x4f], ebx
mulss xmm3, dword [0x50d664]
mov ebx, dword [esp + 0x20]
mulss xmm4, dword [0x50d5c8]
mov dword [esp + 0x4b], edi
mulss xmm5, dword [0x50d5c8]
mov edi, dword [esp + 0x24]
cvttss2si eax, xmm0
mov dword [esp + 0x47], esi
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x42], cl
mov dword [esp + 0x43], edx
lea edx, [esp + 0x3c]
push edx
mov word [esp + 0x40], ax
cvttss2si eax, xmm3
mov word [esp + 0x42], ax
cvttss2si eax, xmm4
mov byte [esp + 0x44], al
cvttss2si eax, xmm5
mov byte [esp + 0x45], al
mov al, byte [esp + 0x13]
and al, 0xf
or al, ch
lea ecx, [esi + 0x70]
mov byte [esp + 0x57], al
mov eax, dword [ebx + 0x426c]
mov dword [esp + 0x58], eax
imul eax, dword [edi + 0x28], 0x4640
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x20]
cmp eax, dword [edi + ecx*8]
jne 0x4cb4c9
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + ecx*8 + 4]
jne 0x4cb4c9
lea edx, [esi + 0x34]
mov ebx, 1
mov dword [esp + 0x10], edx
nop dword [eax + eax]
mov eax, dword [edi + ebx*8]
or eax, dword [edi + ebx*8 + 4]
je 0x4cb4a1
cmp dword [edx + 4], 0
je 0x4cb4a1
lea eax, [esi + 0x6c]
mov edx, ebx
push eax
lea eax, [esi + 0x1c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0xa4]
push eax
call fcn.004cdad0
mov esi, eax
mov dword [esp + 0x28], 0x800
mov ecx, 0x11f
lea edi, [esp + 0x10b8]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x8b0]
push 9
mov dword [esp + 0x28], eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x10bc]
movsb byte es:[edi], byte [esi]
push 0x47d
push eax
lea ecx, [esp + 0x8bc]
call fcn.004ad2a0
add esp, 0x1c
test eax, eax
je 0x4cb44f
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
jmp 0x4cb457
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x10a0]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10a0], ecx
mov dword [esp + 0x10a4], eax
mov ecx, dword [esi + 4]
push edx
push dword [edi + ebx*8 + 4]
mov eax, dword [ecx]
push dword [edi + ebx*8]
mov eax, dword [eax + 0x10]
call eax
mov edx, dword [esp + 0x10]
test al, al
je 0x4cb4a1
mov ecx, dword [esp + 0x10a4]
mov eax, dword [edx]
add dword [edx - 4], ecx
cmp eax, ecx
cmovbe eax, ecx
mov dword [edx], eax
inc ebx
add edx, 0x14
mov dword [esp + 0x10], edx
cmp ebx, 4
jb 0x4cb3c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1520]
xor ecx, esp
call fcn.004cf01b
mov esp, ebp
pop ebp
ret 0x10
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
lea eax, [ecx + ecx*4]
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x94], 0
mov dword [esp + 0x58], 0x36696873
inc dword [esi + eax*4 + 0x2c]
imul ecx, dword [edi + 0x28], 0x4640
mov eax, dword [esi + eax*4 + 0x2c]
add esi, 0x70
add ecx, esi
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
imul esi, dword [edi + 0x28], 0x70
mov edx, ebx
mov ecx, dword [esp + 0x10]
movups xmm0, xmmword [eax]
add esi, 0x3880
movups xmmword [esp + 0x60], xmm0
add esi, ebx
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x70], xmm0
mov eax, dword [eax + 0x18]
mov dword [esp + 0x78], eax
movss xmm0, dword [esi]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 0x80], xmm0
mov eax, dword [esi + 0x68]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x28]
push esi
push eax
call fcn.004cded0
push 9
push 0x40
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x800
movq xmm0, qword [eax]
lea ecx, [esp + 0xa8]
movq qword [esp + 0x9c], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x68]
push eax
call fcn.004ad2a0
add esp, 0x14
test eax, eax
je 0x4cb5e2
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
jmp 0x4cb5ea
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x898]
mov dword [esp + 0x898], ecx
mov dword [esp + 0x89c], eax
push edx
mov ecx, dword [esi + 4]
push dword [edi + 0x24]
push dword [edi + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x4cb640
mov eax, dword [edi + 0x28]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x89c]
add dword [esi + edx*4 + 0x1c], eax
mov eax, dword [esi + edx*4 + 0x20]
cmp eax, dword [esp + 0x89c]
cmovbe eax, dword [esp + 0x89c]
mov dword [esi + edx*4 + 0x20], eax
mov ecx, dword [esp + 0x152c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cf01b
mov esp, ebp
pop ebp
ret 0x10