Function at 0x211095c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, eax
test esi, esi
push edi
je 0x2110982c
cmp ebp, 8
jb 0x2110982c
lea eax, [esp + 0x10]
push eax
push esi
call sym.mss32.dll__AIL_WAV_info_8
test eax, eax
je 0x2110963e
mov ecx, dword [esp + 0x10]
mov eax, ecx
dec eax
je 0x211096cd
sub eax, 0x10
je 0x211096b4
sub eax, 0x44
je 0x21109636
push str..raw
push str.Output_file_types
push ecx
push str.Input_wave_tag
push str.ASI_codec
call sym.mss32.dll__RIB_find_file_dec_provider_20
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xb
pop ebp
add eax, 3
pop ebx
add esp, 0x24
ret 4
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, 8
mov edx, str.Creative
mov ecx, esi
call fcn.21109c00
test eax, eax
mov eax, 4
je 0x2110982e
mov edx, str.FORM
mov ecx, esi
call fcn.21109c00
test eax, eax
jne 0x21109701
lea ecx, [esi + 8]
mov eax, 4
mov edx, str.XDIR
call fcn.21109c00
test eax, eax
jne 0x21109701
push str.XDLS
mov eax, ebp
mov ecx, esi
call fcn.21108720
add esp, 4
test eax, eax
je 0x211096f2
mov eax, dword [eax + 0x14]
cmp eax, 0x20534c44
jne 0x211096dc
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x24
ret 4
mov edx, dword [esp + 0x20]
xor eax, eax
cmp edx, 4
setne al
pop edi
pop esi
pop ebp
pop ebx
add eax, 2
add esp, 0x24
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 4
cmp eax, 0x20534c4d
jne 0x211096f2
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x24
ret 4
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x24
ret 4
cmp dword [esi], 0x46464952
jne 0x21109738
mov eax, dword [esi + 8]
cmp eax, 0x20534c44
jne 0x21109722
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0x24
ret 4
cmp eax, 0x20534c4d
jne 0x21109738
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0x24
ret 4
cmp byte [esi], 0x49
mov ebx, esi
mov edi, ebp
jne 0x2110979e
cmp byte [esi + 1], 0x44
jne 0x2110979e
cmp byte [esi + 2], 0x33
jne 0x2110979e
mov cl, byte [esi + 3]
mov al, 0xff
cmp cl, al
jae 0x2110979e
cmp byte [esi + 4], al
jae 0x2110979e
mov al, byte [esi + 6]
cmp al, 0x80
jae 0x2110979e
cmp byte [esi + 7], 0x80
jae 0x2110979e
mov dl, byte [esi + 8]
cmp dl, 0x80
jae 0x2110979e
mov cl, byte [esi + 9]
cmp cl, 0x80
jae 0x2110979e
movzx edi, byte [esi + 7]
movzx eax, al
shl eax, 7
or eax, edi
shl eax, 7
movzx edx, dl
or eax, edx
movzx ecx, cl
shl eax, 7
add ecx, 0xa
or eax, ecx
mov edi, ebp
lea ebx, [eax + esi]
sub edi, eax
xor eax, eax
cmp edi, 0x1000
jbe 0x211097af
mov edi, 0x1000
jmp 0x211097b4
cmp edi, 4
jb 0x21109807
xor ecx, ecx
mov cx, word [ebx]
dec edi
mov edx, ecx
and edx, 0xf0ff
cmp edx, 0xf0ff
jne 0x211097fd
mov edx, dword [ebx]
cmp edx, 0xffffffff
je 0x211097fa
and edx, 0xfc0000
cmp edx, 0xfc0000
je 0x211097fa
shr ecx, 9
and ecx, 3
dec ecx
je 0x21109838
dec ecx
je 0x211097f5
dec ecx
jne 0x211097fa
mov eax, 0xb
jmp 0x211097fa
mov eax, 0xc
add ebx, 3
inc ebx
cmp edi, 4
jae 0x211097b4
test eax, eax
jne 0x2110982e
cmp ebp, 4
mov edi, ebp
jb 0x2110982c
mov edi, edi
mov eax, 4
mov edx, str.MThd
mov ecx, esi
dec edi
call fcn.21109c00
test eax, eax
je 0x21109847
inc esi
cmp edi, 4
jae 0x21109810
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x24
ret 4
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x24
ret 4