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

Disassembly:
mov eax, 0x24bc
call fcn.2112f240
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24e0]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [esp + 0x24], ebx
je 0x21116928
cmp dword [esp + 0x24d0], ebx
je 0x21116928
mov ebp, dword [esp + 0x24e0]
cmp ebp, ebx
je 0x21116928
test byte [esp + 0x24dc], 2
mov eax, ebx
setne al
lea ecx, [esp + 0x68]
push ecx
push ebx
push str.MSS_mixer_services
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], ebx
inc eax
mov dword [esp + 0x34], eax
call sym.mss32.dll__RIB_enumerate_providers_12
lea edx, [esp + 0x48]
mov dword [esp + 0xa4], edx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x68]
push 3
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x70]
push str.MSS_mixer_services
lea ecx, [esp + 0x60]
push eax
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], str.MIXER_merge
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], str.MIXER_flush
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], str.MIXER_copy
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebx
call sym.mss32.dll_RIB_request_interface
cmp ebp, ebx
jle 0x21116529
lea edi, [esp + 0xcc]
add esi, 0x10
mov ebx, ebp
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esi - 4]
push ecx
mov ecx, dword [esp + 0x24dc]
push edx
mov edx, dword [esp + 0x24e4]
push eax
call fcn.21116940
mov dword [edi], eax
add esi, 0x78
add edi, 4
dec ebx
jne 0x211164fe
xor ebx, ebx
xor esi, esi
cmp ebp, ebx
jle 0x211165ac
mov ecx, dword [esp + 0x24d8]
mov edx, dword [esp + 0x24e4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebx
fild qword [esp + 0x7c]
lea eax, [edx + 0x10]
mov edx, ebp
mov ecx, dword [eax - 8]
mov dword [esp + 0x10], ecx
cmp dword [eax - 0x10], 0x11
jne 0x21116566
mov ecx, dword [esp + 0x10]
shl ecx, 1
jmp 0x21116571
cmp dword [eax], 8
je 0x21116575
mov ecx, dword [esp + 0x10]
sar ecx, 1
mov dword [esp + 0x10], ecx
cmp dword [eax + 4], 2
jne 0x2111657f
sar dword [esp + 0x10], 1
fild dword [esp + 0x10]
mov ecx, dword [eax - 4]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
fmul st(1)
fild qword [esp + 0x6c]
fdivp st(1)
fistp qword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
cmp ecx, esi
jle 0x211165a4
mov esi, ecx
add eax, 0x78
dec edx
jne 0x21116551
fstp st(0)
test byte [esp + 0x24dc], 1
mov eax, dword [esp + 0x24d4]
mov ecx, 0
setne cl
cdq
inc ecx
imul ecx, dword [esp + 0x28]
idiv ecx
mov dword [esp + 0x5c], ecx
mov edi, eax
cmp esi, edi
mov dword [esp + 0x10], edi
jge 0x211165e0
mov dword [esp + 0x10], esi
mov edi, esi
cmp edi, ebx
je 0x21116917
cmp ebp, ebx
jle 0x2111661f
mov edx, dword [esp + 0x24e4]
lea eax, [edx + 0x1c]
mov edx, ebp
mov ecx, dword [eax]
cmp dword [eax + 8], ecx
jne 0x21116607
mov esi, dword [eax + 4]
cmp esi, dword [eax - 0x18]
jne 0x21116619
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x58], ebx
add eax, 0x78
dec edx
jne 0x211165f8
mov eax, dword [esp + 0x24d0]
mov dword [esp + 0x2c], eax
mov eax, 0x800
cdq
idiv dword [esp + 0x28]
mov dword [esp + 0x44], eax
jmp 0x21116642
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
cmp eax, edi
mov dword [esp + 0x1c], eax
jle 0x2111664e
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x1c]
imul esi, dword [esp + 0x28]
shl esi, 2
push 0x1b
mov dword [esp + 0x5c], esi
call sym.mss32.dll__AIL_get_preference_4
push eax
push ebx
push ebx
push esi
lea ecx, [esp + 0x4dc]
push ecx
call dword [esp + 0x78]
cmp ebp, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], ebx
jle 0x211168d3
mov eax, dword [esp + 0x24e4]
lea edx, [esp + 0xcc]
mov dword [esp + 0x30], edx
lea esi, [eax + 0x24]
mov edi, dword [esi - 0x1c]
cmp edi, ebx
je 0x21116867
cmp dword [esi - 0x24], 0x11
lea ebx, [esi - 0x20]
jne 0x2111678b
mov ecx, dword [esi - 0x18]
mov edx, dword [esp + 0x24d8]
xor eax, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
fild qword [esp + 0x8c]
mov dword [esp + 0x84], edx
fild dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x38]
fmulp st(1)
fild qword [esp + 0x84]
mov ebp, dword [ebx]
fdivp st(1)
fadd qword [0x21141850]
fistp qword [esp + 0x4c]
mov edi, dword [esp + 0x4c]
imul edi, dword [esi - 0x10]
shl edi, 1
cmp edi, ecx
jle 0x21116732
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x2111671c
push ecx
call sym.mss32.dll__AIL_mem_free_lock_4
push edi
mov dword [esp + 0x3c], edi
call sym.mss32.dll__AIL_mem_alloc_lock_4
test eax, eax
mov dword [esp + 0x14], eax
je 0x21116928
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
cmp dword [esi - 0x10], 2
push esi
jne 0x21116753
mov ecx, dword [esi - 0x1c]
push ecx
push edi
lea edx, [esp + 0x48]
push ebx
push edx
call fcn.2113d606
jmp 0x21116763
mov eax, dword [esi - 0x1c]
push eax
push edi
lea ecx, [esp + 0x48]
push ebx
push ecx
call fcn.2113d4f8
mov eax, dword [ebx]
mov ecx, dword [esi - 0x1c]
sub eax, ebp
add esp, 0x14
cmp ecx, eax
ja 0x21116775
xor ecx, ecx
jmp 0x21116777
sub ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi - 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esi + 0x48], 0
jmp 0x21116791
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x4cc]
push 0x1b
mov ebp, eax
mov dword [esp + 0x38], edx
call sym.mss32.dll__AIL_get_preference_4
mov edx, dword [esi - 0x18]
push eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 0x24e0]
xor eax, eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
fild qword [esp + 0x9c]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
push 0x7ff
fmul qword [0x21141848]
fild qword [esp + 0x80]
push 0x7ff
lea eax, [esi + 0x50]
fdivp st(1)
lea ecx, [esi + 0x4c]
fistp qword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x70]
push ecx
add edx, eax
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x54]
push ecx
add edx, edi
push edx
lea eax, [esi + 0x48]
push eax
lea ecx, [esp + 0x44]
push ecx
call dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x4cc]
sub ecx, edx
mov edx, dword [esi - 0x24]
sub eax, ebp
cmp edx, 0x11
je 0x21116854
add dword [ebx], eax
mov edx, dword [esi - 0x1c]
cmp edx, eax
ja 0x2111684f
xor edx, edx
jmp 0x21116851
sub edx, eax
mov dword [esi - 0x1c], edx
cmp ecx, dword [esp + 0x20]
jle 0x2111685e
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x24e0]
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
inc eax
add edi, 4
add esi, 0x78
cmp eax, ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], edi
jl 0x2111669a
cmp dword [esp + 0x20], ebx
je 0x211168d3
push 0x1b
call sym.mss32.dll__AIL_get_preference_4
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x24e0]
push eax
push esi
push ecx
lea edx, [esp + 0x4dc]
push edx
call dword [esp + 0x68]
mov eax, dword [esp + 0x1c]
mov ecx, eax
imul ecx, dword [esp + 0x5c]
add esi, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], ecx
jne 0x2111663a
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24d0]
mov edx, dword [esp + 0x24]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x24d0], ecx
mov ecx, dword [esp + 0x24d4]
add edx, eax
sub ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x24d4], ecx
jne 0x21116529
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x21116917
push eax
call sym.mss32.dll__AIL_mem_free_lock_4
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24bc
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24bc
ret 0x18