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

Disassembly:
mov eax, 0x3078
call fcn.004e2820
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x308c]
test edi, edi
jne 0x481f50
push 0xd5f6
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter_____void__0_
call fcn.005063ca
add esp, 0xc
mov eax, dword [edi + 0x5c]
lea esi, [edi + 0x20]
cmp eax, dword [esi]
je 0x481f71
push 0xd5f7
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter__resampler.format__pConverter__channelConverter.format
call fcn.005063ca
add esp, 0xc
mov ebx, dword [edi + 0x28]
cmp dword [edi + 0x60], ebx
je 0x481f93
push 0xd5f8
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter__resampler.channels__pConverter__channelConverter.channelsOut
call fcn.005063ca
mov ebx, dword [edi + 0x28]
add esp, 0xc
mov ebp, dword [edi + 0x60]
mov eax, dword [edi + 0x24]
cmp ebp, eax
jbe 0x481fbd
push 0xd5f9
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pConverter__resampler.channels___pConverter__channelConverter.channelsIn
call fcn.005063ca
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 0x481fe3
mov esi, dword [ecx]
mov dword [esp + 0x68], esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x64], esi
lea esi, [edi + 0x20]
jmp 0x481ff3
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 0x482013
mov ecx, dword [edx]
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
jmp 0x482023
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 0x482551
mov edx, dword [esp + 0x24]
ja 0x48211a
test edx, edx
je 0x482551
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 0x4821a2
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 0x4821f5
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 0x48222f
ja 0x482219
cmp eax, dword [esp + 0x50]
jbe 0x48222f
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 0x482256
test ecx, ecx
jb 0x482256
ja 0x482244
cmp esi, dword [esp + 0x74]
jbe 0x482256
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 0x4822a1
test ebp, ebp
jb 0x4822a1
ja 0x48228f
cmp ebx, dword [esp + 0x78]
jbe 0x4822a1
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 0x4822bb
mov ecx, dword [esp + 0x50]
ja 0x4822af
cmp esi, ecx
jbe 0x4822bb
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 0x48232c
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x482324
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x482324
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 0x482314
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], eax
jmp 0x48232c
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
jmp 0x48234c
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.004e26f0
mov cl, byte [esp + 0x13]
cmp ebp, edx
jb 0x482362
ja 0x482356
cmp ebx, eax
jbe 0x482362
mov ebx, eax
mov ebp, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
test cl, cl
je 0x4823ae
cmp dword [esp + 0x58], 0
je 0x4823aa
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.0049b110
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0xa4]
mov ebx, dword [esp + 0x30]
add esp, 0x1c
jmp 0x4823b2
xor eax, eax
jmp 0x4823b2
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.00476810
add esp, 0x14
test eax, eax
jne 0x482526
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 0x482541
mov eax, dword [esi + 4]
test eax, eax
je 0x482531
mov eax, dword [eax + 0xc]
test eax, eax
je 0x482531
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 0x482526
cmp byte [edi + 0xe1], al
je 0x48245e
test ebp, ebp
je 0x48245e
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.0049b110
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 0x4824b3
ja 0x48249c
cmp esi, dword [esp + 0x68]
jbe 0x4824b3
push 0xd67a
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.framesProcessedIn___frameCountIn
call fcn.005063ca
add esp, 0xc
mov ecx, dword [esp + 0x34]
cmp ebp, ecx
jb 0x4824e0
ja 0x4824c5
mov edx, dword [esp + 0x24]
cmp ebx, edx
jbe 0x4824e4
push 0xd67b
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.framesProcessedOut___frameCountOut
call fcn.005063ca
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
je 0x482500
cmp ebp, ecx
ja 0x482500
jb 0x482140
cmp ebx, edx
jb 0x482140
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3094]
test ecx, ecx
je 0x482514
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x309c]
test eax, eax
je 0x482524
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 0x482504