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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0xa8], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [ecx]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x88], eax
mov eax, dword [edx]
mov dword [esp + 0x8c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x90], eax
mov eax, dword [ebx]
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x98], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.005cecd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5d0034
push ebx
mov ecx, esi
call fcn.005d0890
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 1
je 0x5d0015
lea eax, [edi - 3]
mov ecx, esi
cmp eax, 2
ja 0x5d00b2
lea eax, [esp + 0x9c]
push eax
call fcn.005d0890
mov eax, dword [esi + 0x58]
push 1
mov dword [esp + 0x10], eax
call fcn.005f0ff0
add esp, 4
mov dword [esi + 0x58], eax
cmp edi, 4
jl 0x5d0078
lea eax, [esp + 0xa4]
mov ecx, esi
push eax
call fcn.005d0890
cmp edi, 5
jne 0x5d008c
lea eax, [esp + 0xac]
mov ecx, esi
push eax
call fcn.005d0890
push ebx
mov ecx, esi
call fcn.005d0890
mov eax, dword [esp + 0xc]
mov dword [esi + 0x58], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x18]
call fcn.005d0a60
test al, al
je 0x5d0015
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.005b3530
add esp, 8
mov dword [esp + 0x18], eax
xorps xmm2, xmm2
xor edi, edi
movss dword [esp + 0xc], xmm2
test eax, eax
js 0x5d01d7
cmp edi, eax
jge 0x5d0107
movss xmm1, dword [esp + edi*4 + 0x34]
jmp 0x5d010f
movss xmm1, dword [0x6b7e70]
movaps xmm0, xmm1
movss dword [esp + 0x10], xmm1
addss xmm0, xmm2
mov dword [esi + 0x80], 1
lea eax, [esp + 0x44]
mov byte [esi + 0x88], 0
push eax
lea eax, [esp + 0x80]
movss dword [esp + 0x70], xmm2
push eax
mulss xmm0, dword [0x6f8778]
mov ecx, esi
mov word [esp + 0x80], 0
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x78], xmm0
call fcn.005cfd50
movss xmm0, dword [esp + 0xc]
lea eax, [esp + 0x44]
movss dword [esp + 0x6c], xmm0
mov ecx, esi
movss xmm0, dword [esp + 0x14]
push eax
movss dword [esp + 0x74], xmm0
lea eax, [esp + 0x80]
movss xmm0, dword [esp + 0x14]
push eax
mov dword [esi + 0x80], 0xffffffff
mov byte [esi + 0x88], 0
movss dword [esp + 0x7c], xmm0
mov word [esp + 0x80], 0
call fcn.005cfd50
movss xmm2, dword [esp + 0x10]
inc edi
mov eax, dword [esp + 0x18]
movss dword [esp + 0xc], xmm2
cmp edi, eax
jle 0x5d00fd
lea eax, [esp + 0x24]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.005d12f0
mov eax, dword [ebx]
mov ecx, dword [esp + 0xb4]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 4]
inc dword [esi + 0x4c]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x20]
pop edi
mov dword [esi + 0x20], eax
pop esi
pop ebx
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 0xc