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

Disassembly:
sub esp, 0x4c
push ebx
push esi
push edi
push ebp
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ebx, 0x18
mov ecx, dword [esp + 0x68]
mov edx, dword [edx]
mov eax, dword [eax]
mov esi, edx
mov ecx, dword [ecx]
lea ebx, [ebx + eax*8]
add esi, 3
mov dword [esp + 0x14], ebx
mov edi, ecx
imul esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0x18
add edi, 3
mov ebp, edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], esi
mov esi, ecx
imul edi, dword [esp + 0x10]
add ebp, 3
add esi, 2
imul esi, ebp
mov ebp, eax
dec esi
add ebp, 3
imul esi, ebp
mov ebp, dword [esp + 0x78]
fld qword [ebp]
shl esi, 3
fdiv qword [ebx]
sub esi, 8
inc eax
inc edx
add ecx, 3
mov dword [esp + 0x18], ecx
test ecx, ecx
fstp st(1)
jle 0x4ec31b
mov ebx, edi
sub ebx, dword [esp + 0x10]
mov ecx, edi
add ecx, ecx
mov dword [esp + 0x1c], ebx
mov ebx, edi
sub ecx, dword [esp + 0x10]
shl ebx, 2
sub ebx, edi
mov dword [esp + 0x20], ecx
sub ebx, dword [esp + 0x10]
add edx, 2
add eax, 2
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
sub eax, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x70]
sub eax, esi
mov dword [esp + 0x34], eax
xor eax, eax
cmp dword [esp + 0x2c], 5
setle al
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
test edx, edx
mov edx, dword [esp + 0x20]
jle 0x4ec2e6
sub eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
sub edx, dword [esp + 0x14]
sub edi, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edi
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x4c], ebx
test ebx, ebx
mov ebx, dword [esp + 0x30]
jle 0x4ec2b1
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
lea ebp, [ebx + ebp - 8]
mov eax, dword [esp + 0x40]
lea edx, [ebx + edx - 8]
add ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
lea eax, [edi + eax - 8]
add ebx, 0xfffffff8
mov ecx, dword [esp + 0x38]
lea esi, [edi + esi - 8]
add edi, dword [esp + 0x48]
mov dword [esp + 0x50], ecx
add edi, 0xfffffff8
test ecx, ecx
jne 0x4ec260
fld qword [ebp]
mov ecx, dword [esp + 0x4c]
lea ebp, [ebp + 0x30]
fstp st(2)
fld qword [eax]
sub ecx, 6
lea eax, [eax + 0x30]
fsub st(2)
mov dword [esp + 0x4c], ecx
cmp ecx, 5
lea edx, [edx + 0x30]
lea esi, [esi + 0x30]
lea ebx, [ebx + 0x30]
lea edi, [edi + 0x30]
fmul st(1)
fadd st(2)
fstp qword [eax - 0x30]
fld qword [edx - 0x30]
fstp st(2)
fld qword [esi - 0x30]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x30]
fld qword [ebx - 0x30]
fstp st(2)
fld qword [edi - 0x30]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [edi - 0x30]
fld qword [ebp - 0x28]
fstp st(2)
fld qword [eax - 0x28]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [eax - 0x28]
fld qword [edx - 0x28]
fstp st(2)
fld qword [esi - 0x28]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x28]
fld qword [ebx - 0x28]
fstp st(2)
fld qword [edi - 0x28]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [edi - 0x28]
fld qword [ebp - 0x20]
fstp st(2)
fld qword [eax - 0x20]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [eax - 0x20]
fld qword [edx - 0x20]
fstp st(2)
fld qword [esi - 0x20]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x20]
fld qword [ebx - 0x20]
fstp st(2)
fld qword [edi - 0x20]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [edi - 0x20]
fld qword [ebp - 0x18]
fstp st(2)
fld qword [eax - 0x18]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [eax - 0x18]
fld qword [edx - 0x18]
fstp st(2)
fld qword [esi - 0x18]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x18]
fld qword [ebx - 0x18]
fstp st(2)
fld qword [edi - 0x18]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [edi - 0x18]
fld qword [ebp - 0x10]
fstp st(2)
fld qword [eax - 0x10]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [eax - 0x10]
fld qword [edx - 0x10]
fstp st(2)
fld qword [esi - 0x10]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x10]
fld qword [ebx - 0x10]
fstp st(2)
fld qword [edi - 0x10]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [edi - 0x10]
fld qword [ebp - 8]
fstp st(2)
fld qword [eax - 8]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [eax - 8]
fld qword [edx - 8]
fstp st(2)
fld qword [esi - 8]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 8]
fld qword [ebx - 8]
fstp st(2)
fld qword [edi - 8]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [edi - 8]
jg 0x4ec105
test ecx, ecx
jle 0x4ec2b1
fld qword [ebp]
mov ecx, dword [esp + 0x4c]
lea ebp, [ebp + 8]
fstp st(2)
fld qword [eax]
dec ecx
lea eax, [eax + 8]
fsub st(2)
mov dword [esp + 0x4c], ecx
test ecx, ecx
lea edx, [edx + 8]
lea esi, [esi + 8]
lea ebx, [ebx + 8]
lea edi, [edi + 8]
fmul st(1)
fadd st(2)
fstp qword [eax - 8]
fld qword [edx - 8]
fstp st(2)
fld qword [esi - 8]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 8]
fld qword [ebx - 8]
fstp st(2)
fld qword [edi - 8]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [edi - 8]
jg 0x4ec260
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
add ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
add esi, dword [esp + 0x44]
add eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
dec ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], ebp
test ebp, ebp
jg 0x4ec0af
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
add ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edi, dword [esp + 0x20]
add edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
test ecx, ecx
jg 0x4ec07b
pop ebp
ffree st(1)
ffree st(0)
pop edi
pop esi
pop ebx
add esp, 0x4c
ret 0x1c