Function at 0x10049ea0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov eax, dword [ebx + 0x219c]
mov edi, dword [esp + 0x14]
cmp eax, dword [ebx + 0x2198]
jne 0x10049ed1
push esi
push ebx
push edi
call fcn.1004ab00
add esp, 0xc
test eax, eax
jle 0x1004a16c
mov eax, dword [ebx + 0x219c]
cmp eax, dword [ebx + 0x2198]
jne 0x10049ee6
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
push 0
push dword [esi + 0x12c]
shl eax, 5
push dword [esi + 0x130]
add eax, 0x1b8
add eax, ebx
mov dword [esp + 0x28], eax
push dword [eax + 4]
push dword [eax]
push dword [esi + 0x138]
call fcn.10133ac0
mov ebp, eax
add esp, 0x18
cmp ebp, 0xfffffffe
jne 0x10049fe8
mov eax, dword [esp + 0x1c]
push dword [edi + 0x1d18]
push dword [eax + 4]
push dword [eax]
call fcn.10131320
push dword [esi + 0x12c]
mov dword [esp + 0x20], eax
push eax
push str.Growing_decode_buffer_to_hold__d_samples_from__d_n
push edi
call fcn.1000ac80
mov eax, dword [esp + 0x2c]
add esp, 0x1c
cmp eax, 0x1680
jle 0x10049f6f
push str.Packet_is_larger_than_maximum_allowable_of_120ms___Skipping._n
push edi
call fcn.1000ac80
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
push dword [esi + 0x130]
mov dword [esi + 0x12c], eax
call fcn.100a80a4
mov dword [esi + 0x130], 0
mov eax, dword [edi + 0x1d1c]
imul eax, dword [esi + 0x12c]
shl eax, 2
push eax
call fcn.100a843f
add esp, 8
mov dword [esi + 0x130], eax
test eax, eax
jne 0x10049fc6
pop ebp
mov dword [edi + 0x1ce4], 0x11
pop edi
mov dword [esi + 0x12c], eax
or eax, 0xffffffff
pop esi
pop ebx
pop ecx
ret
push 0
push dword [esi + 0x12c]
push eax
mov eax, dword [esp + 0x28]
push dword [eax + 4]
push dword [eax]
push dword [esi + 0x138]
call fcn.10133ac0
add esp, 0x18
mov ebp, eax
inc dword [ebx + 0x219c]
lea ecx, [esi + 0x12c]
test ebp, ebp
jns 0x1004a01f
push ebp
call fcn.1012ff60
push eax
push str.Opus_:_opus_multistream_decode_returned:__s_n
push edi
call fcn.1000ac80
add esp, 0x10
mov dword [edi + 0x1ce4], 0x1d
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x120]
imul eax, ebp
cdq
add eax, dword [esi + 0x110]
mov dword [esp + 0x10], eax
adc edx, dword [esi + 0x114]
mov dword [esp + 0x1c], edx
cmp edx, dword [esi + 0x11c]
ja 0x1004a055
jb 0x1004a04f
cmp eax, dword [esi + 0x118]
ja 0x1004a055
mov eax, ebp
mov ebx, ecx
jmp 0x1004a092
lea eax, [ebx + 0x188]
push eax
call fcn.1012e480
add esp, 4
test eax, eax
je 0x1004a13a
mov eax, dword [esi + 0x118]
lea ebx, [esi + 0x12c]
sub eax, dword [esi + 0x110]
xor ecx, ecx
cdq
idiv dword [esi + 0x120]
test eax, eax
cmovle eax, ecx
lea ecx, [esi + 0x12c]
mov dword [esi + 0x128], eax
cmp eax, dword [ecx]
jle 0x1004a0e3
push dword [esi + 0x130]
call fcn.100a80a4
mov eax, dword [esi + 0x128]
mov dword [ebx], eax
mov ecx, dword [edi + 0x1d1c]
imul ecx, eax
shl ecx, 2
push ecx
call fcn.100a843f
add esp, 8
mov dword [esi + 0x130], eax
test eax, eax
jne 0x1004a0e3
pop ebp
mov dword [edi + 0x1ce4], 0x11
pop edi
mov dword [ebx], eax
or eax, 0xffffffff
pop esi
pop ebx
pop ecx
ret
movzx ecx, word [esi + 6]
mov edi, dword [esi + 0x110]
mov eax, ecx
cdq
cmp dword [esi + 0x114], edx
ja 0x1004a116
jb 0x1004a0fe
cmp edi, eax
jae 0x1004a116
sub ecx, edi
mov eax, ecx
mov ecx, dword [esi + 0x128]
cdq
idiv dword [esi + 0x120]
cmp eax, ecx
cmovge eax, ecx
jmp 0x1004a118
xor eax, eax
mov dword [esi + 0x124], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x110], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x114], eax
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push eax
push dword [esi + 0x11c]
push dword [esi + 0x118]
push str.Opus_:_Mid_stream_pages_granule_position__D_is_less_than_total_samples_of__D_n
push edi
call fcn.1000ac80
add esp, 0x18
mov dword [edi + 0x1ce4], 3
or eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret