Function at 0x21126680
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x604
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x21126a57
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
je 0x21126a57
lea eax, [esp + 0x58]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x90], ecx
lea edx, [esp + 0x5c]
mov dword [esp + 0xa0], edx
lea eax, [esp + 0x200]
mov dword [esp + 0xb0], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x64]
lea eax, [esp + 0x1d0]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x28], edx
mov esi, 1
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x1d8]
lea edx, [esp + 0x1e0]
lea eax, [esp + 0x1e8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xe0], eax
lea ecx, [esp + 0x1f0]
lea edx, [esp + 0x54]
lea eax, [esp + 0x1f8]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0x100], edx
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x1cc]
lea eax, [esp + 0x208]
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], str.ASI_error
mov dword [esp + 0x74], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], str.ASI_stream_property
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], str.ASI_stream_open
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], str.ASI_stream_seek
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], str.ASI_stream_close
mov dword [esp + 0xc4], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], str.ASI_stream_process
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], str.Input_bit_rate
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], str.Input_sample_rate
mov dword [esp + 0x4c], edi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], str.Input_sample_width
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], str.Input_channels
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], str.Output_bit_rate
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], str.Output_sample_rate
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], str.Output_sample_width
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], esi
mov dword [esp + 0x11c], str.Output_channels
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edi
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], str.Output_reservoir
mov dword [esp + 0x130], edx
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], esi
mov dword [esp + 0x13c], str.Position
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edi
lea eax, [esp + 0x1f4]
mov dword [esp + 0x1b0], eax
lea eax, [esp + 0x1e4]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x1d4]
mov dword [esp + 0x160], eax
mov dword [esp + 0x190], ecx
mov dword [esp + 0x1a0], edx
lea eax, [esp + 0x20c]
lea ecx, [esp + 0x1dc]
lea edx, [esp + 0x204]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x150], edx
lea ecx, [esp + 0x1fc]
lea edx, [esp + 0x1ec]
mov dword [esp + 0x188], esi
mov dword [esp + 0x18c], str.Percent_done
mov dword [esp + 0x194], edi
mov dword [esp + 0x198], esi
mov dword [esp + 0x19c], str.Minimum_input_block_size
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1ac], str.Raw_source_sample_rate
mov dword [esp + 0x1b4], edi
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], str.Raw_source_sample_width
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], str.Raw_source_channels
mov dword [esp + 0x154], edi
mov dword [esp + 0x158], esi
mov dword [esp + 0x15c], str.Requested_bit_rate
mov dword [esp + 0x164], edi
mov dword [esp + 0x168], esi
mov dword [esp + 0x16c], str.Requested_sample_rate
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], edi
mov dword [esp + 0x178], esi
mov dword [esp + 0x17c], str.Requested_sample_width
mov dword [esp + 0x180], edx
mov dword [esp + 0x184], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], str.Requested_channels
mov dword [esp + 0x84], edi
jne 0x21126a3a
mov dword [0x2118b1f0], edi
jmp 0x21126a4d
mov ecx, str.Input_file_types
call fcn.21123f50
cmp eax, edi
mov dword [0x2118b1f0], eax
jne 0x21126a62
push str.No_codec_found_for_requested_input_type.
call sym.mss32.dll__AIL_set_error_4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x1c]
cmp ecx, edi
je 0x21126a7a
push edi
push edi
call ecx
test eax, eax
je 0x21126d84
mov eax, dword [0x2118b1f0]
lea ecx, [esp + 0x68]
push ecx
push esi
push str.ASI_codec
push eax
call sym.mss32.dll_RIB_request_interface
mov eax, dword [0x2118b1f0]
lea edx, [esp + 0x88]
push edx
push 4
push str.ASI_stream
push eax
call sym.mss32.dll_RIB_request_interface
mov edx, dword [0x2118b1f0]
lea ecx, [esp + 0x20]
push ecx
push 3
push str.ASI_stream
push edx
call sym.mss32.dll_RIB_request_interface
mov ecx, dword [0x2118b1f0]
lea eax, [esp + 0xc8]
push eax
push 4
push str.ASI_stream
push ecx
call sym.mss32.dll_RIB_request_interface
mov eax, dword [0x2118b1f0]
lea edx, [esp + 0x108]
push edx
push 4
push str.ASI_stream
push eax
call sym.mss32.dll_RIB_request_interface
mov edx, dword [0x2118b1f0]
lea ecx, [esp + 0x188]
push ecx
push 4
push str.ASI_stream
push edx
call sym.mss32.dll_RIB_request_interface
mov ecx, dword [0x2118b1f0]
lea eax, [esp + 0x148]
push eax
push 4
push str.ASI_stream
push ecx
call sym.mss32.dll_RIB_request_interface
mov eax, dword [0x2118b1f0]
lea edx, [esp + 0x78]
push edx
push esi
push str.ASI_stream
push eax
call sym.mss32.dll_RIB_request_interface
mov ecx, dword [ebp + 8]
push ebx
push 0x21109840
push edi
mov dword [0x21188dac], ecx
mov dword [0x21188db0], ebx
mov dword [0x21188db4], edi
call dword [esp + 0x68]
cmp eax, edi
mov dword [0x2118b298], eax
jne 0x21126b7c
call dword [esp + 0x58]
push eax
call sym.mss32.dll__AIL_set_error_4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x1c]
cmp eax, edi
je 0x21126bb5
push 0x21123fb0
push esi
call eax
test eax, eax
jne 0x21126bb5
mov edx, dword [0x2118b298]
push edx
call dword [esp + 0x14]
push str.Decompression_cancelled.
mov dword [0x2118b298], edi
call sym.mss32.dll__AIL_set_error_4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.21109b30
mov esi, eax
cmp esi, edi
jne 0x21126bdb
mov eax, dword [0x2118b298]
push eax
call dword [esp + 0x14]
mov dword [0x2118b298], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [esp + 0x20]
push ecx
mov eax, 0x2c
call fcn.21109c70
add esp, 4
mov dword [esp + 0x1c], edi
call fcn.21101090
mov eax, dword [0x2118b298]
push 0x400
lea edx, [esp + 0x214]
push edx
push eax
call dword [esp + 0x70]
cmp dword [0x21165710], edi
mov ebx, eax
je 0x21126c24
mov ecx, dword [0x2118b20c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp ebx, edi
je 0x21126c72
lea edx, [esp + 0x210]
push edx
mov eax, ebx
call fcn.21109c70
add esp, 4
cmp dword [ebp + 0x1c], edi
je 0x21126bf1
mov ecx, dword [esp + 0x60]
fldz
mov edx, dword [0x2118b298]
fstp dword [esp + 0x18]
push edi
push edi
lea eax, [esp + 0x20]
push eax
push ecx
push edx
call dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push eax
push 2
call dword [ebp + 0x1c]
test eax, eax
jne 0x21126bf1
mov dword [esp + 0x1c], 1
mov ecx, dword [esi + 0x1008]
mov eax, dword [esp + 0x50]
push edi
push edi
sub ecx, 8
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x30], ecx
mov ecx, dword [0x2118b298]
push eax
push ecx
mov dword [esp + 0x34], 0x46464952
mov dword [esp + 0x3c], 0x45564157
mov dword [esp + 0x40], 0x20746d66
mov dword [esp + 0x44], 0x10
mov word [esp + 0x48], 1
mov dword [esp + 0x20], 0xffffffff
call dword [esp + 0x28]
mov eax, dword [esp + 0x54]
mov bx, word [esp + 0xc]
mov ecx, dword [0x2118b298]
push edi
push edi
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov word [esp + 0x4a], bx
mov dword [esp + 0x20], 0xffffffff
call dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
movzx eax, bx
mov edx, eax
imul eax, ecx
shl eax, 4
shr eax, 3
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1008]
shl edx, 4
mov dword [esp + 0x38], ecx
shr edx, 3
sub eax, 0x2c
xor ecx, ecx
mov word [esp + 0x40], dx
mov word [esp + 0x42], 0x10
mov dword [esp + 0x44], 0x61746164
mov dword [esp + 0x48], eax
call fcn.21109ec0
lea ecx, [esp + 0x20]
push ecx
mov eax, 0x2c
call fcn.21109c70
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
add esp, 4
call fcn.21109bb0
test eax, eax
jne 0x21126d61
push str.Out_of_memory.
call sym.mss32.dll__AIL_set_error_4
mov edx, dword [0x2118b298]
push edx
call dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
cmp eax, edi
mov dword [0x2118b298], edi
je 0x21126d7e
push edi
push 3
call eax
cmp dword [esp + 0x1c], edi
je 0x21126d99
push str.Decompression_cancelled.
call sym.mss32.dll__AIL_set_error_4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18