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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc0
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x18]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0
movups xmmword [esi + 4], xmm0
movd xmm0, dword [eax + 8]
cvtdq2pd xmm0, xmm0
call fcn.005fe6e0
cvttsd2si eax, xmm0
mov ecx, 0x10
mov byte [esi + 0x1c], 1
shl eax, 2
cmp eax, ecx
cmovg ecx, eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x14], ecx
lea edi, [ecx*2 + 1]
mov dword [esi + 0x18], edi
push dword [eax]
mov esi, dword [esi + 0x10]
call fcn.004c2bdc
xor eax, eax
add esp, 4
test esi, esi
cmovg eax, esi
add eax, 2
imul eax, edi
shl eax, 2
push eax
call fcn.004c2f64
mov edi, dword [esp + 0x10]
add esp, 4
mov ecx, eax
mov dword [edi], eax
mov esi, dword [edi + 0x10]
lea edx, [esi - 1]
test edx, edx
js 0x57cd35
sub edx, 1
mov dword [ecx], 0
mov eax, dword [edi + 0x18]
lea ecx, [ecx + eax*4]
jns 0x57cd21
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push dword [ebp + 0x1c]
movss xmm3, dword [0x7b9690]
push dword [ebp + 0x18]
shl ecx, 8
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 8]
shl ecx, 8
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0xc]
add ecx, dword [edi + 4]
shl ecx, 8
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x78]
shl esi, 8
mov dword [esp + 0x44], esi
call fcn.00577450
lea ecx, [esp + 0x70]
call fcn.00576a40
test al, al
je 0x57d05b
movss xmm5, dword [0x7b9a74]
movsd xmm4, qword [0x7b99f0]
nop word [eax + eax]
movss xmm3, dword [esp + 0x74]
movss xmm2, dword [esp + 0x7c]
movaps xmm0, xmm3
mulss xmm0, xmm5
cvtps2pd xmm0, xmm0
addsd xmm0, xmm4
movsd qword [esp + 0x58], xmm0
movaps xmm0, xmm2
mov eax, dword [esp + 0x58]
mulss xmm0, xmm5
cvtps2pd xmm0, xmm0
addsd xmm0, xmm4
movsd qword [esp + 0x30], xmm0
mov esi, dword [esp + 0x30]
cmp eax, esi
je 0x57d03a
sub eax, dword [esp + 0x38]
sub esi, dword [esp + 0x38]
mov ecx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], 0xffffffff
cmp eax, esi
jle 0x57ce0a
mov ecx, esi
mov dword [esp + 0x2c], 1
mov esi, eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
cmp esi, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
cmovg esi, dword [esp + 0x3c]
mov dword [esp + 0x58], esi
cmp ecx, esi
jge 0x57d03a
movss xmm0, dword [esp + 0x70]
subss xmm2, xmm3
mulss xmm0, xmm5
mov eax, 0x100
cdq
cvtps2pd xmm5, xmm0
movss xmm0, dword [esp + 0x78]
subss xmm0, dword [esp + 0x70]
movsd qword [esp + 0x68], xmm5
divss xmm0, xmm2
cvtps2pd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [esp + 0x60], xmm1
andps xmm0, xmmword [0x7b9de0]
cvttsd2si ecx, xmm0
inc ecx
idiv ecx
mov ecx, 0x100
cmp eax, 1
jge 0x57ce85
mov dword [esp + 0x18], 1
jmp 0x57ce91
cmp eax, 0x100
cmovg eax, ecx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x14]
movzx eax, dl
sub esi, edx
sub ecx, eax
mov eax, dword [esp + 0x18]
cmp esi, eax
jge 0x57cea8
cmp ecx, esi
jmp 0x57ceac
mov esi, eax
cmp ecx, eax
cmovl esi, ecx
mov ecx, dword [esp + 0x44]
mov eax, esi
mov dword [esp + 0x24], esi
sar eax, 1
sub eax, dword [esp + 0x40]
add eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
addsd xmm0, xmm5
addsd xmm0, xmm4
movsd qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
cmp eax, ecx
jge 0x57ceed
mov dword [esp + 0x10], ecx
jmp 0x57cefc
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jl 0x57cefc
lea eax, [ecx - 1]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x18]
mov eax, edx
cdq
and edx, 0xff
add eax, edx
mov edx, dword [edi]
sar eax, 8
imul ecx, eax
mov dword [esp + 0x30], eax
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x28], eax
lea ecx, [edx + ecx*4]
cmp eax, dword [edi + 0x14]
jl 0x57d005
add eax, eax
cmp eax, dword [edi + 0x14]
je 0x57cff6
xor ecx, ecx
mov dword [edi + 0x14], eax
lea edx, [eax*2 + 1]
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [esp + 0x20], edx
cmovg ecx, eax
add ecx, 2
imul ecx, edx
shl ecx, 2
push ecx
call fcn.004c2f64
mov ecx, dword [edi + 0x18]
mov esi, eax
mov eax, dword [esp + 0x10]
add esp, 4
mov edi, dword [edi]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x10]
sub eax, 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], eax
js 0x57cfc2
mov eax, dword [edi]
lea eax, [eax*8 + 4]
push eax
push edi
push esi
call fcn.004bf740
mov ecx, dword [esp + 0x5c]
add esp, 0xc
lea eax, [ecx*4]
mov ecx, dword [esp + 0x20]
add edi, eax
lea eax, [ecx*4]
add esi, eax
sub dword [esp + 0x1c], 1
jns 0x57cf81
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x54]
mov edi, dword [eax]
jmp 0x57cfca
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [eax], esi
push edi
mov dword [eax + 0x18], ecx
call fcn.004c2bdc
mov edi, dword [esp + 0x10]
add esp, 4
movsd xmm4, qword [0x7b99f0]
movsd xmm1, qword [esp + 0x60]
movsd xmm5, qword [esp + 0x68]
mov edx, dword [edi]
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x18]
imul eax, dword [esp + 0x30]
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
inc eax
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + edx*8 + 4], eax
mov eax, esi
imul eax, dword [esp + 0x2c]
mov dword [ecx + edx*8 + 8], eax
mov ecx, 0x100
mov edx, dword [esp + 0x14]
add edx, esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], edx
cmp edx, esi
jl 0x57ce95
lea ecx, [esp + 0x70]
call fcn.00576a40
movsd xmm4, qword [0x7b99f0]
movss xmm5, dword [0x7b9a74]
test al, al
jne 0x57cda0
mov eax, dword [ebp + 0x18]
mov ecx, edi
movzx eax, byte [eax + 0x1c]
push eax
call fcn.0057c0f0
push dword [esp + 0xb8]
call fcn.004c2bdc
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18