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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x1d4
push ebx
push esi
push edi
xor edi, edi
cmp eax, 0xb
mov esi, eax
jne 0x211296c0
xor esi, esi
lea ecx, [ecx]
mov edx, dword [ebp + 8]
mov ecx, esi
imul ecx, ecx, 0x74
cmp dword [ecx + edx + 0x2f0], edi
lea ebx, [ecx + edx + 0x2f0]
je 0x2112970c
cmp esi, edi
je 0x211296fe
jle 0x21129707
cmp esi, 8
jg 0x21129707
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [eax + 0x24]
push ecx
call edx
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], edi
add dword [eax + 0x778], 0xffffffff
jmp 0x21129707
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x14]
push eax
call ecx
mov eax, dword [ebp + 0xc]
mov dword [ebx], edi
cmp eax, 0xb
jne 0x21129719
add esi, 1
cmp esi, 0xa
jl 0x211296c0
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov ecx, dword [ebx + 4]
mov dword [esp + 0x10], ecx
mov dword [ebx + 4], eax
jne 0x21129735
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, 9
ja case.default.0x21129745
movzx edx, byte [esi + 0x21129dd8]
jmp dword [edx*4 + 0x21129dcc]
lea edx, [esp + 0x30]
push edx
push 1
push str.MSS_mixer_services
lea ecx, [ebx + 8]
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], str.MIXER_merge
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edi
call sym.mss32.dll_RIB_request_interface
mov eax, dword [esp + 0x10]
mov dword [ebx], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
push eax
call sym.mss32.dll__AIL_open_filter_8
test eax, eax
jne 0x211297a9
mov dword [ebx + 4], edi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x2118b224]
cmp eax, edi
mov esi, dword [ebp + 8]
je 0x211297cc
mov ecx, dword [esi + 4]
cmp dword [eax + 0x48], ecx
jne 0x211297c5
mov edx, dword [ebp + 0x10]
cmp dword [eax + 0x4c], edx
je 0x211297ce
mov eax, dword [eax + 0x58]
cmp eax, edi
jne 0x211297b8
xor eax, eax
cmp eax, edi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edi
je 0x21129799
mov ecx, dword [eax + 0x20]
cmp ecx, edi
je 0x21129799
mov eax, dword [eax + 0x50]
push esi
push eax
call ecx
cmp eax, edi
mov dword [ebx + 0xc], eax
je 0x21129799
mov eax, dword [esp + 0x10]
mov dword [ebx], 1
add dword [esi + 0x778], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [ebx + 8]
lea ecx, [esi + 8]
mov dword [esp + 0x188], ecx
lea ecx, [esi + 0x14]
mov dword [esp + 0x88], ecx
lea ecx, [esi + 0x1c]
mov dword [esp + 0xa8], ecx
lea edx, [esi + 0xc]
mov dword [esp + 0x198], edx
lea ecx, [esi + 0x24]
mov dword [esp + 0xc8], ecx
lea edx, [esi + 0x18]
lea ecx, [esi + 0x28]
mov dword [esp + 0x98], edx
mov dword [esp + 0xd8], ecx
lea eax, [esi + 0x10]
lea edx, [esi + 0x20]
lea ecx, [esi + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xe8], ecx
lea eax, [esi + 4]
lea ecx, [esi + 0x30]
lea edx, [esi + 0x34]
mov dword [esp + 0x78], eax
mov eax, 1
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x108], edx
lea ecx, [esi + 0x38]
lea edx, [esi + 0x3c]
mov dword [esp + 0x160], edi
mov dword [esp + 0x164], str.ASI_stream_property
mov dword [esp + 0x16c], edi
mov dword [esp + 0x170], edi
mov dword [esp + 0x174], str.ASI_stream_open
mov dword [esp + 0x178], esi
mov dword [esp + 0x17c], edi
mov dword [esp + 0x180], edi
mov dword [esp + 0x184], str.ASI_stream_seek
mov dword [esp + 0x18c], edi
mov dword [esp + 0x190], edi
mov dword [esp + 0x194], str.ASI_stream_close
mov dword [esp + 0x19c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], str.ASI_stream_process
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], str.Input_bit_rate
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], str.Input_sample_rate
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], str.Input_sample_width
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], str.Input_channels
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], str.Output_bit_rate
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], str.Output_sample_rate
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], str.Output_sample_width
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], str.Output_channels
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], str.Output_reservoir
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], str.Position
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], str.Percent_done
mov dword [esp + 0x128], edx
lea ecx, [esi + 0x40]
mov dword [esp + 0x138], ecx
lea ecx, [esi + 0x48]
mov dword [esp + 0x158], ecx
lea edx, [esi + 0x44]
mov dword [esp + 0x148], edx
lea ecx, [esi + 0x50]
mov dword [esp + 0x1b8], ecx
lea edx, [esi + 0x4c]
lea ecx, [esi + 0x54]
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1a8], edx
lea edx, [esp + 0x160]
push edx
mov dword [esp + 0x134], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1d4], eax
lea ecx, [esi + 0x58]
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x1dc], ecx
lea eax, [esi + 0x64]
push 4
lea ecx, [esi + 0x5c]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x50], ecx
push str.ASI_stream
lea ecx, [esi + 0x60]
push eax
mov dword [esp + 0x13c], edi
mov dword [esp + 0x144], str.Minimum_input_block_size
mov dword [esp + 0x14c], edi
mov dword [esp + 0x154], str.Raw_source_sample_rate
mov dword [esp + 0x15c], edi
mov dword [esp + 0x164], str.Raw_source_sample_width
mov dword [esp + 0x16c], edi
mov dword [esp + 0x1b4], str.Raw_source_channels
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1c4], str.Requested_sample_rate
mov dword [esp + 0x1cc], edi
mov dword [esp + 0x1d4], str.Requested_sample_width
mov dword [esp + 0x1dc], edi
mov dword [esp + 0x1e4], str.Requested_channels
mov dword [esp + 0x1ec], edi
mov dword [esp + 0x54], str.Stream_seek_position
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], str.Data_offset
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], str.Data_length
mov dword [esp + 0x7c], edi
call sym.mss32.dll_RIB_request_interface
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x70]
push ecx
push 3
push str.ASI_stream
push edx
call sym.mss32.dll_RIB_request_interface
mov ecx, dword [ebx + 4]
lea eax, [esp + 0xa0]
push eax
push 4
push str.ASI_stream
push ecx
call sym.mss32.dll_RIB_request_interface
mov eax, dword [ebx + 4]
lea edx, [esp + 0xe0]
push edx
push 4
push str.ASI_stream
push eax
call sym.mss32.dll_RIB_request_interface
lea ecx, [esp + 0x120]
push ecx
mov edx, dword [ebx + 4]
push 4
push str.ASI_stream
push edx
call sym.mss32.dll_RIB_request_interface
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x1a0]
push eax
push 4
push str.ASI_stream
push ecx
call sym.mss32.dll_RIB_request_interface
mov eax, dword [ebx + 4]
lea edx, [esp + 0x40]
push edx
push 3
push str.ASI_stream
push eax
call sym.mss32.dll_RIB_request_interface
cmp dword [0x21165710], edi
je 0x21129c25
mov ecx, dword [0x2118b20c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
lea eax, [ecx + 0x14]
push edx
push 0x2112c380
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push ecx
call eax
mov dword [esi + 0x68], eax
call fcn.21101090
mov eax, dword [esi + 0x68]
cmp eax, edi
je 0x21129799
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x50]
push edi
add edx, 0xc
push edx
mov edx, dword [esp + 0x14]
push edi
push ecx
push eax
mov eax, dword [edx]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x10]
mov edx, dword [esi + 0x58]
and al, 0x12
neg al
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x14]
push edi
push edx
mov edx, dword [ecx]
sbb eax, eax
neg eax
add eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x68]
push eax
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x10]
push edi
and edx, 1
lea eax, [edx*8 + 8]
mov edx, dword [esi + 0x54]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x14]
push edi
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x68]
push edx
mov edx, dword [ecx]
push eax
call edx
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x68]
push edi
push edi
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [eax]
push edx
mov dword [esp + 0x2c], 0xffffffff
call ecx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x68]
push edi
push edi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push ecx
mov dword [esp + 0x30], 0xffffffff
call eax
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x68]
push edi
push edi
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0xffffffff
push edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
push eax
push ecx
call sym.mss32.dll__AIL_set_sample_playback_rate_8
cmp dword [esp + 0x18], 2
jne 0x21129d51
mov eax, dword [esp + 0x14]
xor edx, edx
cmp eax, 0x10
sete dl
xor ecx, ecx
cmp eax, 0x10
sete cl
add ecx, 2
jmp 0x21129d5d
xor ecx, ecx
cmp dword [esp + 0x14], 0x10
sete cl
mov edx, ecx
mov eax, dword [ebp + 8]
call fcn.211279d0
mov edx, eax
cmp dword [edx + 0x244], 1
jne 0x21129db6
mov eax, dword [esi + 0x60]
cmp eax, 0xffffffff
je 0x21129d9a
mov edx, dword [esi + 0x68]
push edi
push edi
lea ecx, [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
mov dword [esp + 0x34], edi
call ecx
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
add dword [eax + 0xc], edx
mov eax, dword [esi + 0x64]
cmp eax, 0xffffffff
je 0x21129db6
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x68]
push edi
push edi
push ecx
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
call ecx
mov dword [ebx], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc