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

Disassembly:
mov eax, 0x3078
call fcn.00577d70
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x308c]
test edi, edi
jne 0x48fe20
push 0xd5f6
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter_____void__0_
call fcn.0059c044
add esp, 0xc
mov eax, dword [edi + 0x5c]
lea esi, [edi + 0x20]
cmp eax, dword [esi]
je 0x48fe41
push 0xd5f7
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter__resampler.format__pConverter__channelConverter.format
call fcn.0059c044
add esp, 0xc
mov ebx, dword [edi + 0x28]
cmp dword [edi + 0x60], ebx
je 0x48fe63
push 0xd5f8
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter__resampler.channels__pConverter__channelConverter.channelsOut
call fcn.0059c044
mov ebx, dword [edi + 0x28]
add esp, 0xc
mov ebp, dword [edi + 0x60]
mov eax, dword [edi + 0x24]
cmp ebp, eax
jbe 0x48fe8d
push 0xd5f9
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter__resampler.channels___pConverter__channelConverter.channelsIn
call fcn.0059c044
mov eax, dword [edi + 0x24]
add esp, 0xc
mov ebx, dword [edi + 0x28]
mov ebp, dword [edi + 0x60]
mov ecx, dword [esp + 0x3094]
xorps xmm0, xmm0
movlpd qword [esp + 0x2c], xmm0
test ecx, ecx
je 0x48feb3
mov esi, dword [ecx]
mov dword [esp + 0x68], esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x64], esi
lea esi, [edi + 0x20]
jmp 0x48fec3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x309c]
movlpd qword [esp + 0x2c], xmm0
test edx, edx
je 0x48fee3
mov ecx, dword [edx]
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
jmp 0x48fef3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov esi, dword [esi]
xor edx, edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], 4
mov dword [esp + 0x4c], 4
mov ecx, dword [esp + esi*4 + 0x38]
imul ecx, eax
mov eax, 0x1000
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 3
div ecx
mov dword [esp + 0x48], 4
xor edx, edx
mov dword [esp + 0x4c], 4
mov ecx, dword [esp + esi*4 + 0x38]
imul ecx, ebx
mov dword [esp + 0x78], eax
mov eax, 0x1000
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 2
div ecx
mov ecx, dword [edi + 0x5c]
xor edx, edx
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], 4
mov dword [esp + 0x4c], 4
mov ecx, dword [esp + ecx*4 + 0x38]
imul ecx, ebp
mov dword [esp + 0x50], eax
mov eax, 0x1000
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x6c], xmm0
div ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x74], eax
test ecx, ecx
jb 0x490421
mov edx, dword [esp + 0x24]
ja 0x48ffea
test edx, edx
je 0x490421
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x6c], ebx
nop word [eax + eax]
cmp dword [esp + 0x3090], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x7c], 0
je 0x490072
mov eax, dword [edi]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], 4
mov dword [esp + 0x4c], 4
mov eax, dword [esp + eax*4 + 0x38]
imul eax, dword [edi + 8]
imul eax, esi
add eax, dword [esp + 0x3090]
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x3098]
test esi, esi
je 0x4900c5
mov eax, dword [edi + 4]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], 4
mov dword [esp + 0x4c], 4
mov ecx, dword [esp + eax*4 + 0x38]
imul ecx, dword [edi + 0xc]
imul ecx, ebx
add ecx, esi
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, ecx
sub eax, ebx
mov dword [esp + 0x54], eax
mov esi, eax
sbb edx, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov ecx, edx
test edx, edx
jb 0x4900ff
ja 0x4900e9
cmp eax, dword [esp + 0x50]
jbe 0x4900ff
mov eax, dword [esp + 0x50]
xor edx, edx
mov dword [esp + 0x54], eax
mov esi, eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0x20], edx
cmp byte [edi + 0xe1], 0
je 0x490126
test ecx, ecx
jb 0x490126
ja 0x490114
cmp esi, dword [esp + 0x74]
jbe 0x490126
mov eax, dword [esp + 0x74]
xor edx, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x68]
sub ebx, dword [esp + 0x60]
mov cl, byte [edi + 0xe0]
mov esi, ebx
mov ebp, dword [esp + 0x64]
sbb ebp, dword [esp + 0x28]
mov byte [esp + 0x13], cl
mov ecx, ebp
cmp byte [esp + 0x13], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
je 0x490171
test ebp, ebp
jb 0x490171
ja 0x49015f
cmp ebx, dword [esp + 0x78]
jbe 0x490171
mov ebx, dword [esp + 0x78]
xor ebp, ebp
mov dword [esp + 0x14], ebx
mov esi, ebx
mov dword [esp + 0x18], ebp
xor ecx, ecx
test ecx, ecx
jb 0x49018b
mov ecx, dword [esp + 0x50]
ja 0x49017f
cmp esi, ecx
jbe 0x49018b
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
lea esi, [edi + 0x50]
xorps xmm0, xmm0
movlpd qword [esp + 0x80], xmm0
test esi, esi
je 0x4901fc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4901f4
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x4901f4
lea ebx, [esp + 0x80]
push ebx
push edx
push eax
push dword [esi]
push dword [esi + 8]
call ecx
mov cl, byte [edi + 0xe0]
add esp, 0x14
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x13], cl
test eax, eax
je 0x4901e4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], eax
jmp 0x4901fc
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
jmp 0x49021c
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], al
mov eax, edx
mul dword [edi + 0x64]
push 0
push dword [edi + 0x68]
mov esi, eax
mov eax, dword [esp + 0x5c]
mul dword [edi + 0x64]
add esi, edx
push esi
push eax
call fcn.00577c40
mov cl, byte [esp + 0x13]
cmp ebp, edx
jb 0x490232
ja 0x490226
cmp ebx, eax
jbe 0x490232
mov ebx, eax
mov ebp, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
test cl, cl
je 0x49027e
cmp dword [esp + 0x58], 0
je 0x49027a
push dword [edi + 0x18]
mov eax, ebp
mul dword [edi + 8]
mov ecx, eax
mov eax, ebx
mul dword [edi + 8]
add ecx, edx
push ecx
push eax
push dword [edi]
lea eax, [esp + 0x98]
push dword [esp + 0x68]
push dword [edi + 0x20]
push eax
call fcn.004a8fe0
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0xa4]
mov ebx, dword [esp + 0x30]
add esp, 0x1c
jmp 0x490282
xor eax, eax
jmp 0x490282
mov eax, dword [esp + 0x58]
push ebp
push ebx
push eax
lea eax, [esp + 0x1094]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.004846e0
add esp, 0x14
test eax, eax
jne 0x4903f6
cmp byte [edi + 0xe1], al
lea ebx, [esp + 0x2088]
mov ebp, dword [esp + 0x7c]
lea esi, [edi + 0x50]
cmove ebx, ebp
test esi, esi
je 0x490411
mov eax, dword [esi + 4]
test eax, eax
je 0x490401
mov eax, dword [eax + 0xc]
test eax, eax
je 0x490401
lea ecx, [esp + 0x1c]
push ecx
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1094]
push ecx
push dword [esi]
push dword [esi + 8]
call eax
add esp, 0x18
test eax, eax
jne 0x4903f6
cmp byte [edi + 0xe1], al
je 0x49032e
test ebp, ebp
je 0x49032e
mov eax, dword [esp + 0x20]
mul dword [edi + 0xc]
push dword [edi + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x20]
mul dword [edi + 0xc]
add ecx, edx
push ecx
push eax
push dword [edi + 0x5c]
push ebx
push dword [edi + 4]
push ebp
call fcn.004a8fe0
add esp, 0x1c
mov esi, dword [esp + 0x60]
add esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
adc eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x6c]
add ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
adc ebp, dword [esp + 0x20]
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x2c], ebp
cmp eax, dword [esp + 0x64]
jb 0x490383
ja 0x49036c
cmp esi, dword [esp + 0x68]
jbe 0x490383
push 0xd67a
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.framesProcessedIn___frameCountIn
call fcn.0059c044
add esp, 0xc
mov ecx, dword [esp + 0x34]
cmp ebp, ecx
jb 0x4903b0
ja 0x490395
mov edx, dword [esp + 0x24]
cmp ebx, edx
jbe 0x4903b4
push 0xd67b
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.framesProcessedOut___frameCountOut
call fcn.0059c044
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
je 0x4903d0
cmp ebp, ecx
ja 0x4903d0
jb 0x490010
cmp ebx, edx
jb 0x490010
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3094]
test ecx, ecx
je 0x4903e4
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x309c]
test eax, eax
je 0x4903f4
mov dword [eax], ebx
mov dword [eax + 4], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3078
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffffe3
pop ebx
add esp, 0x3078
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x3078
ret
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
jmp 0x4903d4