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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
lea esi, [eax + 4]
mov dword [ebp - 4], edi
mov edx, dword [esi + 8]
mov edi, eax
mov dword [ebp - 0x38], 0x6eb370
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], 0x6eb270
mov ebx, edx
sar ebx, 3
mov dword [ebp - 0x40], ecx
mov eax, dword [ecx + ebx]
mov ecx, edx
mov dword [ebp - 0x30], 0x6eb070
and ecx, 7
mov ebx, 0xffffffff
mov dword [ebp - 0x2c], 0x6eac70
sar eax, cl
lea ecx, [edx + 8]
shr ebx, 0xf8
mov dword [ebp - 0x28], 0x6ea470
and eax, ebx
cmp eax, 0x76
mov dword [ebp - 0x24], 0x6e9470
mov dword [ebp - 0x20], 0x6e7470
mov dword [ebp - 0x1c], 0x6e3470
mov dword [ebp - 0x70], ebx
mov dword [esi + 8], ecx
je 0x5ea400
mov edx, dword [edi]
mov ecx, 0x6eb848
xor esi, esi
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.0045dc30
mov eax, 1
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x40]
mov eax, ecx
sar eax, 3
and ecx, 7
mov eax, dword [ebx + eax]
sar eax, cl
mov ecx, dword [ebp - 0x70]
and eax, ecx
cmp eax, 0x6f
lea ecx, [edx + 0x10]
mov dword [esi + 8], ecx
jne 0x5ea3cf
mov eax, ecx
sar eax, 3
and ecx, 7
mov eax, dword [ebx + eax]
sar eax, cl
mov ecx, dword [ebp - 0x70]
and eax, ecx
cmp eax, 0x72
lea ecx, [edx + 0x18]
mov dword [esi + 8], ecx
jne 0x5ea3cf
mov eax, ecx
sar eax, 3
and ecx, 7
mov eax, dword [ebx + eax]
sar eax, cl
mov ecx, dword [ebp - 0x70]
and eax, ecx
cmp eax, 0x62
lea ecx, [edx + 0x20]
mov dword [esi + 8], ecx
jne 0x5ea3cf
mov eax, ecx
sar eax, 3
and ecx, 7
mov eax, dword [ebx + eax]
sar eax, cl
mov ecx, dword [ebp - 0x70]
and eax, ecx
cmp eax, 0x69
lea ecx, [edx + 0x28]
mov dword [esi + 8], ecx
jne 0x5ea3cf
mov eax, ecx
sar eax, 3
and ecx, 7
mov eax, dword [ebx + eax]
mov ebx, dword [ebp - 0x70]
sar eax, cl
and eax, ebx
lea ecx, [edx + 0x30]
cmp eax, 0x73
mov dword [esi + 8], ecx
jne 0x5ea3cf
mov ebx, dword [ebp - 0x40]
mov eax, ecx
sar eax, 3
and ecx, 7
mov eax, dword [ebx + eax]
mov dword [ebp - 0x48], ebx
sar eax, cl
lea ecx, [edx + 0x40]
mov dword [ebp - 0x44], eax
mov eax, 0xffffffff
add edx, 0x50
shr eax, 0xf0
mov dword [ebp - 0x64], eax
and dword [ebp - 0x44], eax
mov eax, ecx
sar eax, 3
mov dword [esi + 8], ecx
mov eax, dword [ebx + eax]
and ecx, 7
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x44]
sar eax, cl
mov ecx, dword [ebp - 0x64]
and eax, ecx
shl eax, 0x10
or eax, edx
mov dword [edi + 0x68], eax
mov edx, dword [esi + 8]
mov eax, edx
sar eax, 3
mov ecx, edx
mov eax, dword [ebx + eax]
and ecx, 7
add edx, 8
mov dword [esi + 8], edx
sar eax, cl
and dword [ebp - 0x70], eax
movzx edx, byte [ebp - 0x70]
mov byte [edi + 0x6c], dl
mov edx, dword [esi + 8]
mov eax, edx
sar eax, 3
mov ecx, edx
mov eax, dword [ebx + eax]
and ecx, 7
sar eax, cl
mov ecx, dword [ebp - 0x64]
and eax, ecx
lea ecx, [edx + 0x10]
add edx, 0x20
mov dword [ebp - 0x4c], eax
mov eax, ecx
sar eax, 3
mov dword [esi + 8], ecx
mov eax, dword [ebx + eax]
and ecx, 7
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x4c]
sar eax, cl
mov ecx, dword [ebp - 0x64]
and eax, ecx
shl eax, 0x10
or eax, edx
mov dword [edi + 0x70], eax
mov edx, dword [esi + 8]
mov eax, edx
sar eax, 3
mov ecx, edx
mov eax, dword [ebx + eax]
mov ebx, dword [ebp - 0x64]
and ecx, 7
sar eax, cl
and eax, ebx
lea ecx, [edx + 0x10]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x48]
mov eax, ecx
mov dword [esi + 8], ecx
sar eax, 3
and ecx, 7
mov eax, dword [ebx + eax]
add edx, 0x20
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x50]
sar eax, cl
mov ecx, dword [ebp - 0x64]
and eax, ecx
shl eax, 0x10
or eax, edx
mov dword [edi + 0x74], eax
mov edx, dword [esi + 8]
mov eax, edx
sar eax, 3
mov ecx, edx
mov eax, dword [ebx + eax]
and ecx, 7
sar eax, cl
mov ecx, dword [ebp - 0x64]
and eax, ecx
lea ecx, [edx + 0x10]
add edx, 0x20
mov dword [ebp - 0x54], eax
mov eax, ecx
sar eax, 3
mov dword [esi + 8], ecx
mov eax, dword [ebx + eax]
and ecx, 7
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x54]
sar eax, cl
mov ecx, dword [ebp - 0x64]
and eax, ecx
shl eax, 0x10
or eax, edx
mov dword [edi + 0x78], eax
mov edx, dword [esi + 8]
mov eax, edx
sar eax, 3
mov ecx, edx
mov eax, dword [ebx + eax]
mov ebx, dword [ebp - 0x64]
and ecx, 7
sar eax, cl
and eax, ebx
lea ecx, [edx + 0x10]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, ecx
sar eax, 3
mov dword [esi + 8], ecx
and ecx, 7
mov eax, dword [ebx + eax]
add edx, 0x20
mov dword [esi + 8], edx
sar eax, cl
mov ecx, dword [ebp - 0x58]
and dword [ebp - 0x64], eax
shl dword [ebp - 0x64], 0x10
or dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [edi + 0x7c], edx
mov edx, dword [esi + 8]
mov eax, edx
sar eax, 3
mov ecx, edx
mov eax, dword [ebx + eax]
and ecx, 7
sar eax, cl
mov ecx, 0xffffffff
shr ecx, 0xfc
mov dword [ebp - 0x68], ecx
lea ecx, [edx + 4]
movzx ebx, byte [ebp - 0x68]
mov dword [esi + 8], ecx
and bl, al
mov eax, ecx
mov byte [ebp - 0x39], bl
mov ebx, dword [ebp - 0x48]
sar eax, 3
add edx, 8
and ecx, 7
mov eax, dword [ebx + eax]
mov dword [esi + 8], edx
movzx edx, byte [ebp - 0x68]
sar eax, cl
movzx ecx, byte [ebp - 0x39]
and dl, al
mov byte [ebp - 0x69], dl
mov edx, 1
mov eax, edx
movzx ebx, byte [ebp - 0x69]
shl eax, cl
mov dword [ebp - 0x5c], ecx
mov dword [edi + 0x80], eax
mov dword [ebp - 0x60], ebx
mov ebx, edx
movzx ecx, byte [ebp - 0x60]
shl ebx, cl
movzx ecx, byte [ebp - 0x39]
mov dword [edi + 0x84], ebx
sub cl, 6
cmp cl, 7
seta dl
cmp byte [ebp - 0x69], 0xd
seta al
or eax, edx
test al, 1
jne 0x5ea6cb
cmp byte [ebp - 0x69], 5
movzx ecx, byte [ebp - 0x39]
setbe al
cmp byte [ebp - 0x69], cl
setb dl
or eax, edx
test al, 1
je 0x5ea6ee
mov esi, dword [edi]
mov eax, str._Vorbis_id_header_packet_corrupt__illegal_blocksize_.__n
xor ebx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0045dc30
mov eax, 3
jmp 0x5ea3ed
movzx edx, byte [edi + 0x6c]
mov ecx, ebx
shr ecx, 1
imul ecx, edx
add ecx, ecx
cmp ecx, 0x2ee00
ja 0x5ea838
mov ecx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebp + ecx*4 - 0x50]
mov edx, dword [ebp + ebx*4 - 0x50]
mov ebx, dword [esi + 8]
mov ecx, dword [ebp - 0x40]
mov dword [edi + 0x88], eax
mov eax, ebx
sar eax, 3
mov dword [edi + 0x8c], edx
movzx edx, byte [eax + ecx]
mov ecx, ebx
and ecx, 7
inc ebx
sar edx, cl
test dl, 1
mov dword [esi + 8], ebx
je 0x5ea85b
movzx ecx, byte [edi + 0x6c]
mov eax, dword [edi + 0x84]
shr eax, 1
imul eax, ecx
shl eax, 2
mov dword [esp], eax
call fcn.0045e7c0
movzx edx, byte [edi + 0x6c]
mov dword [edi + 0xbc], eax
mov ebx, dword [edi + 0x84]
shr ebx, 1
imul ebx, edx
shl ebx, 2
mov dword [esp], ebx
call fcn.0045e7c0
movzx esi, byte [edi + 0x6c]
mov dword [edi + 0xc0], eax
mov ecx, dword [edi + 0x84]
shr ecx, 1
imul ecx, esi
shl ecx, 2
mov dword [esp], ecx
call fcn.0045e7c0
mov dword [edi + 0xc4], eax
mov ebx, dword [edi + 0x84]
movzx eax, byte [edi + 0x6c]
shr ebx, 1
imul ebx, eax
shl ebx, 2
mov dword [esp], ebx
call fcn.0045e7c0
mov dword [edi + 0xcc], eax
mov edx, dword [edi + 0x84]
shl edx, 2
mov dword [esp], edx
call fcn.0045e7c0
mov dword [edi + 0xd0], eax
mov esi, dword [edi + 0x84]
shl esi, 2
mov dword [esp], esi
mov esi, 1
call fcn.0045e7c0
mov dword [edi + 0xd4], eax
mov ebx, dword [ebp - 0x5c]
xor ecx, ecx
mov word [edi + 0xc8], cx
lea edx, [edi + 0x14]
mov eax, 1
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call fcn.0066e360
mov dword [esp + 8], esi
mov ecx, dword [ebp - 0x60]
lea eax, [edi + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0066e360
xor eax, eax
jmp 0x5ea3ed
mov esi, dword [edi]
mov eax, str.Vorbis_channel_count_makes_output_packets_too_large._n
xor ebx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0045dc30
mov eax, 4
jmp 0x5ea3ed
mov esi, dword [edi]
xor edx, edx
mov ebx, str._Vorbis_id_header_packet_corrupt__framing_flag_not_set_.__n
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.0045dc30
mov eax, 2
jmp 0x5ea3ed