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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x44], ebx
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
add eax, 0x18
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
dec dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x7c], 0xffffffff
mov edx, dword [esp + 0x34]
je 0x6298ff81
shr eax, 0x10
mov edi, dword [esp + 0x24]
add eax, 4
and eax, 0x1fff8
lea ecx, [edi + edx*4]
add eax, eax
add eax, dword [esp + 0x28]
movsx edx, word [ecx - 0xc]
movsx edi, word [eax + 2]
mov dword [esp + 8], edi
movsx edi, word [eax + 4]
mov dword [esp + 0xc], edi
movsx edi, word [eax + 6]
mov dword [esp + 0x10], edi
movsx edi, word [eax + 8]
mov dword [esp + 0x14], edi
movsx edi, word [eax + 0xa]
mov dword [esp + 0x18], edi
movsx edi, word [eax + 0xc]
movsx ebp, word [eax]
movsx eax, word [eax + 0xe]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
movsx edi, word [ecx - 8]
mov eax, dword [esp + 8]
imul edx, ebp
imul eax, edi
lea edi, [edx + eax]
movsx eax, word [ecx - 4]
imul eax, dword [esp + 0xc]
lea edx, [edi + eax]
mov edi, 2
movsx eax, word [ecx]
imul eax, dword [esp + 0x10]
add eax, edx
cdq
idiv edi
mov dword [esp + 0x2c], eax
movsx edx, word [ecx + 4]
movsx eax, word [ecx + 8]
imul edx, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
add edx, eax
movsx eax, word [ecx + 0xc]
imul eax, dword [esp + 0x1c]
add edx, eax
movsx eax, word [ecx + 0x10]
imul eax, dword [esp + 0x20]
add eax, edx
cdq
idiv edi
add eax, dword [esp + 0x2c]
mov edi, 0x4000
cdq
idiv edi
mov dword [esp + 0x2c], eax
mov edi, 2
movsx edx, word [ecx - 0xa]
movsx eax, word [ecx - 6]
imul ebp, edx
imul eax, dword [esp + 8]
add ebp, eax
movsx eax, word [ecx - 2]
imul eax, dword [esp + 0xc]
lea edx, [ebp + eax]
movsx eax, word [ecx + 2]
imul eax, dword [esp + 0x10]
add eax, edx
cdq
idiv edi
mov ebp, eax
movsx edx, word [ecx + 6]
movsx eax, word [ecx + 0xa]
imul edx, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
add edx, eax
movsx eax, word [ecx + 0xe]
imul eax, dword [esp + 0x1c]
add edx, eax
movsx eax, word [ecx + 0x12]
imul eax, dword [esp + 0x20]
add eax, edx
mov ecx, dword [ebx + 0x1c]
cdq
idiv edi
add eax, ebp
mov ebp, dword [ebx + 0x20]
add ecx, dword [esp + 0x48]
add ebp, dword [esp + 0x4c]
mov edi, 0x4000
mov dword [esp + 0x48], ecx
cdq
idiv edi
mov dword [esp + 0x4c], ebp
lea edx, [esp + 0x38]
sar ecx, 0xc
sar ebp, 0xc
imul ebp, eax
imul ecx, dword [esp + 0x2c]
add dword [esi + 4], ebp
lea eax, [esp + 0x30]
add dword [esi], ecx
add esi, 8
call method.OpenMPT::SamplePosition.operator_OpenMPT::SamplePosition_const___clone_.isra.0_
jmp 0x6298fdfa
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea ecx, [esp + 0x44]
call method.OpenMPT::MixStereoRamp_OpenMPT::IntToIntTraits_2__2__int__short__16u___.MixStereoRamp____clone_.isra.0_
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret