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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2484
call fcn.21133040
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x20], esi
je 0x2112a613
cmp dword [ebp + 8], esi
je 0x2112a613
cmp ebx, esi
je 0x2112a613
mov edi, dword [ebp + 0x14]
and edi, 2
mov eax, esi
setne al
lea ecx, [esp + 0x24]
push ecx
push esi
push str.MSS_mixer_services
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], esi
inc eax
mov dword [esp + 0x40], eax
call sym.mss32.dll__RIB_enumerate_providers_12
lea edx, [esp + 0x4c]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x58]
push 3
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
push str.MSS_mixer_services
lea ecx, [esp + 0x64]
push eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], str.MIXER_merge
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], str.MIXER_flush
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], str.MIXER_copy
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], esi
call sym.mss32.dll_RIB_request_interface
xor ecx, ecx
cmp ebx, esi
jle 0x21129fea
mov edx, dword [ebp + 0x1c]
add edx, 0x14
mov ebx, dword [edx - 8]
xor eax, eax
cmp edi, esi
je 0x21129fa0
mov eax, 1
cmp dword [edx], 2
jne 0x21129fa8
or eax, 8
cmp dword [edx - 4], 8
je 0x21129fb1
or eax, 2
test al, 8
je 0x21129fbc
test al, 1
jne 0x21129fbc
or eax, 0x10
mov esi, dword [ebp + 0x10]
cmp ebx, esi
je 0x21129fc6
or eax, 0x20
cmp dword [0x2115668c], 0
je 0x21129fd6
cmp ebx, esi
je 0x21129fd6
or eax, 4
mov dword [esp + ecx*4 + 0x90], eax
mov eax, dword [ebp + 0x18]
inc ecx
add edx, 0x78
xor esi, esi
cmp ecx, eax
jl 0x21129f92
test byte [ebp + 0x14], 1
mov ecx, 0
setne cl
inc ecx
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
mov ebx, dword [ebp + 0x18]
xor edi, edi
cmp ebx, 4
jl 0x2112a1c2
mov edx, dword [ebp + 0x10]
fild dword [ebp + 0x10]
test edx, edx
jge 0x2112a01e
fadd qword [0x2114bd68]
mov eax, dword [ebp + 0x1c]
mov edx, 3
add eax, 0x10
lea esp, [esp]
mov ecx, dword [eax - 8]
mov dword [esp + 0xc], ecx
cmp dword [eax - 0x10], 0x11
mov ebx, 8
jne 0x2112a04a
mov ecx, dword [esp + 0xc]
shl ecx, 1
jmp 0x2112a054
cmp dword [eax], ebx
je 0x2112a058
mov ecx, dword [esp + 0xc]
sar ecx, 1
mov dword [esp + 0xc], ecx
cmp dword [eax + 4], 2
jne 0x2112a062
sar dword [esp + 0xc], 1
fild dword [esp + 0xc]
mov ecx, dword [eax - 4]
test ecx, ecx
fmul st(1)
fild dword [eax - 4]
jge 0x2112a078
fadd qword [0x2114bd68]
fdivp st(1)
fistp qword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jle 0x2112a088
mov edi, ecx
mov ecx, dword [eax + 0x70]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x68], 0x11
jne 0x2112a09d
mov ecx, dword [esp + 0xc]
shl ecx, 1
jmp 0x2112a0a8
cmp dword [eax + 0x78], ebx
je 0x2112a0ac
mov ecx, dword [esp + 0xc]
sar ecx, 1
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x7c], 2
jne 0x2112a0b6
sar dword [esp + 0xc], 1
fild dword [esp + 0xc]
mov ecx, dword [eax + 0x74]
test ecx, ecx
fmul st(1)
fild dword [eax + 0x74]
jge 0x2112a0cc
fadd qword [0x2114bd68]
fdivp st(1)
fistp qword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jle 0x2112a0dc
mov edi, ecx
mov ecx, dword [eax + 0xe8]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0xe0], 0x11
jne 0x2112a0f7
mov ecx, dword [esp + 0xc]
shl ecx, 1
jmp 0x2112a105
cmp dword [eax + 0xf0], ebx
je 0x2112a109
mov ecx, dword [esp + 0xc]
sar ecx, 1
mov dword [esp + 0xc], ecx
cmp dword [eax + 0xf4], 2
jne 0x2112a116
sar dword [esp + 0xc], 1
fild dword [esp + 0xc]
mov ecx, dword [eax + 0xec]
test ecx, ecx
fmul st(1)
fild dword [eax + 0xec]
jge 0x2112a132
fadd qword [0x2114bd68]
fdivp st(1)
fistp qword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jle 0x2112a142
mov edi, ecx
mov ecx, dword [eax + 0x160]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x158], 0x11
jne 0x2112a15d
mov ecx, dword [esp + 0xc]
shl ecx, 1
jmp 0x2112a16b
cmp dword [eax + 0x168], ebx
je 0x2112a16f
mov ecx, dword [esp + 0xc]
sar ecx, 1
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x16c], 2
jne 0x2112a17c
sar dword [esp + 0xc], 1
fild dword [esp + 0xc]
mov ecx, dword [eax + 0x164]
test ecx, ecx
fmul st(1)
fild dword [eax + 0x164]
jge 0x2112a198
fadd qword [0x2114bd68]
fdivp st(1)
fistp qword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jle 0x2112a1a8
mov edi, ecx
mov ecx, dword [ebp + 0x18]
add edx, 4
add esi, 4
add eax, 0x1e0
cmp edx, ecx
jl 0x2112a030
fstp st(0)
mov ebx, ecx
cmp esi, ebx
jge 0x2112a24b
mov edx, dword [ebp + 0x10]
fild dword [ebp + 0x10]
test edx, edx
jge 0x2112a1da
fadd qword [0x2114bd68]
mov ecx, dword [ebp + 0x1c]
mov eax, esi
imul eax, eax, 0x78
mov edx, ebx
sub edx, esi
lea eax, [eax + ecx + 0x10]
mov esi, 2
nop
mov ecx, dword [eax - 8]
mov dword [esp + 0xc], ecx
cmp dword [eax - 0x10], 0x11
jne 0x2112a205
mov ecx, dword [esp + 0xc]
shl ecx, 1
jmp 0x2112a210
cmp dword [eax], 8
je 0x2112a214
mov ecx, dword [esp + 0xc]
sar ecx, 1
mov dword [esp + 0xc], ecx
cmp dword [eax + 4], esi
jne 0x2112a21d
sar dword [esp + 0xc], 1
fild dword [esp + 0xc]
mov ecx, dword [eax - 4]
test ecx, ecx
fmul st(1)
fild dword [eax - 4]
jge 0x2112a233
fadd qword [0x2114bd68]
fdivp st(1)
fistp qword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jle 0x2112a243
mov edi, ecx
add eax, 0x78
dec edx
jne 0x2112a1f0
fstp st(0)
mov eax, dword [ebp + 0xc]
cdq
idiv dword [esp + 0x24]
mov esi, eax
cmp edi, esi
mov dword [esp + 0x30], esi
jge 0x2112a263
mov esi, edi
mov dword [esp + 0x30], esi
xor edi, edi
cmp esi, edi
je 0x2112a606
cmp ebx, edi
jle 0x2112a2a7
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
add eax, 0x1c
lea ebx, [ebx]
mov ecx, dword [eax]
cmp dword [eax + 8], ecx
jne 0x2112a28f
mov ebx, dword [eax + 4]
cmp ebx, dword [eax - 0x18]
jne 0x2112a2a1
mov dword [eax + 8], ecx
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x50], edi
mov dword [eax + 0x54], edi
mov dword [eax + 0x58], edi
add eax, 0x78
dec edx
jne 0x2112a280
mov eax, 0x800
cdq
idiv dword [esp + 0x34]
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x5c], eax
jmp 0x2112a2c2
mov eax, dword [esp + 0x5c]
cmp eax, esi
mov dword [esp + 0x3c], eax
jle 0x2112a2d0
mov eax, esi
mov dword [esp + 0x3c], eax
imul eax, dword [esp + 0x34]
mov edx, dword [0x2115667c]
shl eax, 2
push edx
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x498]
push eax
call dword [esp + 0x60]
mov ecx, dword [ebp + 0x18]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], eax
jle 0x2112a57f
mov esi, dword [ebp + 0x1c]
add esi, 0x24
jmp 0x2112a310
mov edi, dword [esi - 0x1c]
test edi, edi
je 0x2112a522
cmp dword [esi - 0x24], 0x11
jne 0x2112a45a
mov edx, dword [esi - 0x18]
fild dword [esi - 0x18]
test edx, edx
mov ecx, dword [esi - 0x20]
lea ebx, [esi - 0x20]
mov dword [esp + 0x50], ecx
jge 0x2112a33f
fadd qword [0x2114bd68]
fild dword [esp + 0x3c]
mov eax, dword [ebp + 0x10]
test eax, eax
fmulp st(1)
fild dword [ebp + 0x10]
jge 0x2112a355
fadd qword [0x2114bd68]
fdivp st(1)
mov eax, dword [esp + 0x48]
fadd qword [0x2114be38]
fistp qword [esp + 0x10]
mov edi, dword [esp + 0x10]
imul edi, dword [esi - 0x10]
shl edi, 1
cmp edi, eax
jle 0x2112a3f7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x2112a3e1
inc word [0x2115929c]
cmp word [0x21159294], 0
je 0x2112a3cf
cmp word [0x2115929c], 1
je 0x2112a3a4
cmp word [0x21159298], 0
je 0x2112a3cf
mov eax, dword [0x21159308]
test eax, eax
jne 0x2112a3cf
call fcn.21112300
test eax, eax
je 0x2112a3cf
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x2115c0bc]
push ecx
push str.AIL_mem_free_lock_0x_lX__r_n
push edx
call fcn.211306e2
add esp, 0xc
mov eax, dword [esp + 0x1c]
push eax
call dword [0x21155834]
dec word [0x2115929c]
push edi
mov dword [esp + 0x4c], edi
call sym.mss32.dll__AIL_mem_alloc_lock_4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x2112a613
cmp dword [esi - 0x10], 2
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
push esi
jne 0x2112a418
mov edx, dword [esi - 0x1c]
push edx
push edi
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.211403f9
jmp 0x2112a428
mov ecx, dword [esi - 0x1c]
push ecx
push edi
lea edx, [esp + 0x50]
push ebx
push edx
call fcn.211402eb
mov eax, dword [ebx]
mov ebx, dword [esp + 0x64]
mov ecx, dword [esi - 0x1c]
sub eax, ebx
add esp, 0x14
cmp ecx, eax
ja 0x2112a448
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esi - 0x1c], ecx
mov dword [esi + 0x48], ecx
jmp 0x2112a45d
sub ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esi - 0x1c], ecx
mov dword [esi + 0x48], 0
jmp 0x2112a45d
mov eax, dword [esi - 0x20]
mov edx, dword [0x2115667c]
fild dword [esi - 0x18]
lea ecx, [esp + 0x490]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + ecx*4 + 0x94]
mov ecx, dword [esi - 0x18]
test ecx, ecx
push edx
push 0x800
mov dword [esp + 0x38], eax
mov ebx, eax
push 0x800
jge 0x2112a49b
fadd qword [0x2114bd68]
mov edx, dword [ebp + 0x10]
test edx, edx
fmul qword [0x2114be30]
fild dword [ebp + 0x10]
jge 0x2112a4b1
fadd qword [0x2114bd68]
fdivp st(1)
lea edx, [esi + 0x50]
add eax, edi
fistp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esi + 0x4c]
push ecx
lea ecx, [esp + edx + 0x4ac]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
lea eax, [esi + 0x48]
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [esp + 0x7c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x490]
sub ecx, edx
mov edx, dword [esi - 0x24]
sub eax, ebx
cmp edx, 0x11
je 0x2112a518
mov ebx, dword [esi - 0x20]
mov edx, dword [esi - 0x1c]
add ebx, eax
cmp edx, eax
mov dword [esi - 0x20], ebx
ja 0x2112a513
xor edx, edx
jmp 0x2112a515
sub edx, eax
mov dword [esi - 0x1c], edx
cmp ecx, dword [esp + 0x28]
jle 0x2112a522
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x18]
inc eax
add esi, 0x78
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x2112a310
mov eax, dword [esp + 0x28]
test eax, eax
mov edi, dword [esp + 0x38]
je 0x2112a57f
mov ecx, dword [0x2115667c]
mov edx, dword [ebp + 0x14]
push ecx
push edx
push edi
push eax
lea eax, [esp + 0x4a0]
push eax
call dword [esp + 0x6c]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov ecx, eax
imul ecx, dword [esp + 0x24]
add edi, ecx
sub esi, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], esi
jne 0x2112a2be
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
mov eax, edi
sub eax, esi
add edx, eax
sub ecx, eax
mov dword [esp + 0x20], edx
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ecx
je 0x2112a5a4
xor esi, esi
jmp 0x2112a000
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x2112a606
inc word [0x2115929c]
cmp word [0x21159294], 0
je 0x2112a5f8
cmp word [0x2115929c], 1
je 0x2112a5d1
cmp word [0x21159298], 0
je 0x2112a5f8
mov eax, dword [0x21159308]
test eax, eax
jne 0x2112a5f8
call fcn.21112300
test eax, eax
je 0x2112a5f8
mov edx, dword [0x2115c0bc]
push esi
push str.AIL_mem_free_lock_0x_lX__r_n
push edx
call fcn.211306e2
add esp, 0xc
push esi
call dword [0x21155834]
dec word [0x2115929c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18