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

Disassembly:
mov eax, 0x3078
call fcn.00561f10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x308c]
test edi, edi
jne 0x51fb90
push 0xd5f6
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter_____void__0_
call fcn.00588dd0
add esp, 0xc
mov eax, dword [edi + 0x5c]
lea esi, [edi + 0x20]
cmp eax, dword [esi]
je 0x51fbb1
push 0xd5f7
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter__resampler.format__pConverter__channelConverter.format
call fcn.00588dd0
add esp, 0xc
mov ebx, dword [edi + 0x28]
cmp dword [edi + 0x60], ebx
je 0x51fbd3
push 0xd5f8
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter__resampler.channels__pConverter__channelConverter.channelsOut
call fcn.00588dd0
mov ebx, dword [edi + 0x28]
add esp, 0xc
mov ebp, dword [edi + 0x60]
mov eax, dword [edi + 0x24]
cmp ebp, eax
jbe 0x51fbfd
push 0xd5f9
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter__resampler.channels___pConverter__channelConverter.channelsIn
call fcn.00588dd0
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 0x51fc23
mov esi, dword [ecx]
mov dword [esp + 0x68], esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x64], esi
lea esi, [edi + 0x20]
jmp 0x51fc33
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 0x51fc53
mov ecx, dword [edx]
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
jmp 0x51fc63
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 0x520191
mov edx, dword [esp + 0x24]
ja 0x51fd5a
test edx, edx
je 0x520191
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 0x51fde2
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 0x51fe35
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 0x51fe6f
ja 0x51fe59
cmp eax, dword [esp + 0x50]
jbe 0x51fe6f
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 0x51fe96
test ecx, ecx
jb 0x51fe96
ja 0x51fe84
cmp esi, dword [esp + 0x74]
jbe 0x51fe96
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 0x51fee1
test ebp, ebp
jb 0x51fee1
ja 0x51fecf
cmp ebx, dword [esp + 0x78]
jbe 0x51fee1
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 0x51fefb
mov ecx, dword [esp + 0x50]
ja 0x51feef
cmp esi, ecx
jbe 0x51fefb
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 0x51ff6c
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x51ff64
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x51ff64
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 0x51ff54
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], eax
jmp 0x51ff6c
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
jmp 0x51ff8c
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.00561de0
mov cl, byte [esp + 0x13]
cmp ebp, edx
jb 0x51ffa2
ja 0x51ff96
cmp ebx, eax
jbe 0x51ffa2
mov ebx, eax
mov ebp, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
test cl, cl
je 0x51ffee
cmp dword [esp + 0x58], 0
je 0x51ffea
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.00538d50
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0xa4]
mov ebx, dword [esp + 0x30]
add esp, 0x1c
jmp 0x51fff2
xor eax, eax
jmp 0x51fff2
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.00514450
add esp, 0x14
test eax, eax
jne 0x520166
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 0x520181
mov eax, dword [esi + 4]
test eax, eax
je 0x520171
mov eax, dword [eax + 0xc]
test eax, eax
je 0x520171
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 0x520166
cmp byte [edi + 0xe1], al
je 0x52009e
test ebp, ebp
je 0x52009e
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.00538d50
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 0x5200f3
ja 0x5200dc
cmp esi, dword [esp + 0x68]
jbe 0x5200f3
push 0xd67a
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.framesProcessedIn___frameCountIn
call fcn.00588dd0
add esp, 0xc
mov ecx, dword [esp + 0x34]
cmp ebp, ecx
jb 0x520120
ja 0x520105
mov edx, dword [esp + 0x24]
cmp ebx, edx
jbe 0x520124
push 0xd67b
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.framesProcessedOut___frameCountOut
call fcn.00588dd0
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
je 0x520140
cmp ebp, ecx
ja 0x520140
jb 0x51fd80
cmp ebx, edx
jb 0x51fd80
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3094]
test ecx, ecx
je 0x520154
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x309c]
test eax, eax
je 0x520164
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 0x520144