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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x28b4
call fcn.004727c0
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x1c], 0x1f
mov eax, dword [ebx + 0x8a18]
push esi
push edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], 0x629880
je 0x4e505c
mov dword [esp + 0x8c], 0x629700
xor edx, edx
cmp dword [ebx + 0x6c], edx
mov dword [esp + 0x94], edx
jle 0x4e580e
fld qword [0x5a3cf0]
lea eax, [ebx + 0xff4]
fld qword [0x5982c0]
mov dword [esp + 0x54], eax
lea ecx, [ebx + 0x84]
lea edi, [esp + 0xd0]
lea eax, [ebx + 0xaf0]
mov dword [esp + 0x44], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x80], eax
cmp dword [ecx], 0
mov dword [esp + 0x74], 0
jle 0x4e5657
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
lea ecx, [edi - 0x10]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x48], eax
jmp 0x4e50fa
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
mov esi, dword [eax]
cmp esi, 0xb
mov eax, dword [esp + 0x8c]
fld qword [eax + esi*8]
lea eax, [edx + esi + 0x3a]
mov eax, dword [ebx + eax*4]
fstp qword [esp + 0x98]
mov dword [esp + 0x84], eax
mov dword [esp + 0x5c], 1
jge 0x4e5139
lea eax, [eax + esi*8]
cmp dword [eax*4 + 0x629220], 0
jne 0x4e5146
xor eax, eax
cmp esi, 7
setle al
add eax, 2
jmp 0x4e514a
mov eax, dword [esp + 0x5c]
test esi, esi
jne 0x4e5152
xor eax, eax
jmp switch.0x004e515b
cmp eax, 3
ja case.default.0x4e515b
jmp dword [eax*4 + 0x4e5a20]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], eax
jmp 0x4e53fc
mov edx, dword [esp + 0x84]
fstp st(1)
lea eax, [edx + esi*8]
fstp st(0)
mov dword [esp + 0x5c], eax
mov esi, ecx
mov dword [esp + 0x50], 8
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx*4 + 0x629220]
push edx
push ebx
call fcn.004e2990
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
add esp, 8
add esi, 8
sub dword [esp + 0x50], 1
fstp qword [esi - 8]
jne 0x4e51b4
jmp 0x4e53ea
lea ecx, [esi - 4]
mov eax, 1
shl eax, cl
lea edi, [esi - 3]
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], 8
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov edx, dword [ebx + 0x8a04]
cmp edi, edx
jae 0x4e523a
mov eax, dword [ebx + 0x8a08]
mov edi, dword [esp + 0x40]
mov ecx, 0x20
sub ecx, edx
shl eax, cl
mov ecx, 0x20
sub ecx, dword [esp + 0x40]
shr eax, cl
sub edx, edi
mov dword [ebx + 0x8a04], edx
jmp 0x4e5254
push edi
fstp st(1)
push ebx
fstp st(0)
call fcn.004f01d0
fld qword [0x5a3cf0]
fld qword [0x5982c0]
add esp, 8
test dword [esp + 0x3c], eax
mov dword [esp + 0x90], eax
je 0x4e5274
lea ecx, [esi - 3]
mov edx, 1
shl edx, cl
sub eax, edx
mov dword [esp + 0x90], eax
fild dword [esp + 0x90]
mov eax, dword [esp + 0x70]
add eax, 8
sub dword [esp + 0x5c], 1
fstp qword [eax - 8]
mov dword [esp + 0x70], eax
jne 0x4e5208
mov edi, dword [esp + 0x50]
jmp 0x4e53f8
add esi, 0xffffffff
fstp st(1)
cmp esi, 5
fstp st(0)
ja case.default.0x4e52a9
jmp dword [esi*4 + 0x4e5a30]
mov eax, 7
mov esi, 3
jmp 0x4e52ff
mov eax, 0xa
mov esi, 5
jmp 0x4e52ff
mov eax, 0xc
mov esi, 7
jmp 0x4e52ff
mov eax, 0xd
mov esi, 9
jmp 0x4e52ff
mov eax, 0xf
mov esi, 0xd
jmp 0x4e52ff
mov eax, 0x11
mov esi, eax
jmp 0x4e52ff
mov eax, 0x13
mov esi, 0x19
mov edi, dword [ebx + 0x8a04]
cmp eax, edi
mov dword [esp + 0x40], eax
jae 0x4e5331
mov edx, dword [ebx + 0x8a08]
mov ecx, 0x20
sub ecx, edi
shl edx, cl
mov ecx, 0x20
sub ecx, eax
shr edx, cl
sub edi, eax
mov dword [ebx + 0x8a04], edi
mov eax, edx
jmp 0x4e533b
push eax
push ebx
call fcn.004f01d0
add esp, 8
lea edi, [esp + 0xa0]
call fcn.004e44d0
mov eax, dword [ebx + 0x8a04]
cmp dword [esp + 0x40], eax
jae 0x4e537b
mov edx, dword [ebx + 0x8a08]
mov edi, dword [esp + 0x40]
mov ecx, 0x20
sub ecx, eax
shl edx, cl
mov ecx, 0x20
sub ecx, edi
shr edx, cl
sub eax, edi
mov dword [ebx + 0x8a04], eax
mov eax, edx
jmp 0x4e5389
mov eax, dword [esp + 0x40]
push eax
push ebx
call fcn.004f01d0
add esp, 8
lea edi, [esp + 0xb0]
call fcn.004e44d0
fild dword [esp + 0xa0]
mov eax, dword [esp + 0x50]
mov edi, eax
fstp qword [eax - 0x10]
fild dword [esp + 0xa4]
fstp qword [eax - 8]
fild dword [esp + 0xa8]
fstp qword [eax]
fild dword [esp + 0xac]
fstp qword [eax + 8]
fild dword [esp + 0xb0]
fstp qword [eax + 0x10]
fild dword [esp + 0xb4]
fstp qword [eax + 0x18]
fild dword [esp + 0xb8]
fstp qword [eax + 0x20]
fild dword [esp + 0xbc]
fstp qword [eax + 0x28]
fld qword [0x5982c0]
fld qword [0x5a3cf0]
fxch st(1)
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x74]
lea eax, [edx + ecx]
mov eax, dword [ebx + eax*4 + 0xd70]
test eax, eax
je 0x4e541c
cmp dword [esp + 0x78], eax
jl 0x4e541c
mov eax, dword [esp + 0x48]
fild dword [eax]
jmp 0x4e5426
lea eax, [edx + ecx]
fild dword [ebx + eax*8 + 0xff0]
fmul qword [esp + 0x98]
mov eax, dword [esp + 0x84]
add eax, edx
add edx, ecx
cmp dword [ebx + edx*4 + 0x5f0], 0
fmul dword [ebx + eax*4 + 0x368]
lea eax, [edi - 0x10]
fld st(0)
fmul qword [eax]
fstp qword [eax]
fld qword [edi - 8]
fmul st(1)
fstp qword [edi - 8]
fld qword [edi]
fmul st(1)
fstp qword [edi]
fld qword [edi + 8]
fmul st(1)
fstp qword [edi + 8]
fld st(0)
fmul qword [edi + 0x10]
fstp qword [edi + 0x10]
fld qword [edi + 0x18]
fmul st(1)
fstp qword [edi + 0x18]
fld qword [edi + 0x20]
fmul st(1)
fstp qword [edi + 0x20]
fmul qword [edi + 0x28]
fstp qword [edi + 0x28]
je 0x4e5616
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x74]
xor ecx, ecx
add edx, esi
lea esi, [ecx - 1]
test esi, esi
jl 0x4e54c3
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x629980]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x60]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [esp + esi*8 + 0xb8]
jmp 0x4e54ed
cmp dword [ebx + 0x44], 0
je 0x4e54f3
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x629980]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x64]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [ebx + esi*8 + 0x1bd0]
fmul st(2)
fadd qword [eax]
fstp qword [eax]
lea esi, [ecx - 2]
test esi, esi
jl 0x4e5520
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x629982]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x60]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [esp + esi*8 + 0xb0]
jmp 0x4e554a
cmp dword [ebx + 0x44], 0
je 0x4e5550
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x629982]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x64]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [ebx + esi*8 + 0x1bc8]
fmul st(2)
fadd qword [eax]
fstp qword [eax]
lea esi, [ecx - 3]
test esi, esi
jl 0x4e557d
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x629984]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x60]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [esp + esi*8 + 0xa8]
jmp 0x4e55a7
cmp dword [ebx + 0x44], 0
je 0x4e55ad
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x629984]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x64]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [ebx + esi*8 + 0x1bc0]
fmul st(2)
fadd qword [eax]
fstp qword [eax]
lea esi, [ecx - 4]
test esi, esi
jl 0x4e55da
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x629986]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x60]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [esp + esi*8 + 0xa0]
jmp 0x4e5601
cmp dword [ebx + 0x44], 0
je 0x4e5607
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x629986]
mov dword [esp + 0x3c], esi
lea esi, [ecx + edx*4]
fild dword [esp + 0x3c]
fmul qword [ebx + esi*8 + 0x1bb8]
fmul st(2)
fadd qword [eax]
fstp qword [eax]
add ecx, 1
add eax, 8
cmp ecx, 8
jl 0x4e5496
mov eax, dword [esp + 0x74]
add dword [esp + 0x6c], 0x40
mov edx, dword [esp + 0x44]
mov ecx, 8
add dword [esp + 0x60], ecx
add dword [esp + 0x48], ecx
mov ecx, 4
add dword [esp + 0x4c], ecx
add dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x68]
add eax, 1
add edi, 0x40
cmp eax, dword [ecx]
mov dword [esp + 0x74], eax
mov dword [esp + 0x50], edi
jl 0x4e50f6
mov edi, dword [ecx]
cmp edi, dword [ecx - 0x14]
jge 0x4e57ae
lea eax, [edx + edi]
lea edx, [ebx + eax*8 + 0xff0]
mov dword [esp + 0x48], edx
lea edx, [ebx + eax*4 + 0x17b0]
shl eax, 6
mov dword [esp + 0x4c], edx
lea esi, [esp + eax + 0xc8]
xor eax, eax
cmp dword [ebx + 0x9b20], eax
sete al
test al, 1
je 0x4e56c7
fstp st(1)
push str.Stream_with_high_frequencies_VQ_coding_n
fstp st(0)
call fcn.00483ff3
add eax, 0x40
push eax
call fcn.0056a07c
fld qword [0x5982c0]
fld qword [0x5a3cf0]
mov ecx, dword [esp + 0x70]
add esp, 8
fxch st(1)
or dword [ebx + 0x9b20], 1
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
mov edx, dword [esp + 0x78]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x48]
fild dword [edx]
add eax, eax
add eax, eax
movsx edx, byte [eax + eax + 0x635980]
add eax, eax
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x635981]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x635982]
fmul st(1)
add dword [esp + 0x4c], 4
fmul st(2)
add dword [esp + 0x48], 8
add edi, 1
add esi, 0x40
cmp edi, dword [ecx - 0x14]
fstp qword [esi - 0x48]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x635983]
fmul st(1)
fmul st(2)
fstp qword [esi - 0x40]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x635984]
fmul st(1)
fmul st(2)
fstp qword [esi - 0x38]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x635985]
fmul st(1)
fmul st(2)
fstp qword [esi - 0x30]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x635986]
movsx eax, byte [eax + 0x635987]
fmul st(1)
fmul st(2)
fstp qword [esi - 0x28]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
fmul st(1)
fmul st(2)
fstp qword [esi - 0x20]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
fmul st(1)
fmul st(2)
fstp qword [esi - 0x18]
fild dword [esp + 0x3c]
fmulp st(1)
fmul st(1)
fstp qword [esi - 0x10]
jl 0x4e5685
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x88]
add dword [esp + 0x58], 0x100
add dword [esp + 0x54], 0x100
mov esi, 0x80
add dword [esp + 0x7c], esi
add dword [esp + 0x80], esi
add eax, 1
add ecx, 4
add edx, 0x20
add edi, 0x800
cmp eax, dword [ebx + 0x6c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x88], edi
jl 0x4e50b5
fstp st(1)
fstp st(0)
cmp dword [ebx + 0x3c], 0
jne 0x4e5823
mov ecx, dword [ebx + 0x5e8]
sub ecx, 1
cmp dword [esp + 0x78], ecx
jne 0x4e5897
mov edx, dword [ebx + 0x8a04]
cmp edx, 0x10
jbe 0x4e586f
mov eax, dword [ebx + 0x8a08]
mov ecx, 0x20
sub ecx, edx
shl eax, cl
shr eax, 0x10
add edx, 0xfffffff0
mov dword [ebx + 0x8a04], edx
jmp 0x4e587a
fstp st(1)
push str.Unknown_quantization_index_codebook
fstp st(0)
call fcn.00483ff3
add eax, 0x40
push eax
call fcn.0056a07c
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push ebx
call fcn.004f01d0
add esp, 8
cmp eax, 0xffff
je 0x4e5897
push 0x5a3c88
call fcn.00483ff3
add eax, 0x40
push eax
call fcn.0056a07c
add esp, 8
xor edi, edi
cmp dword [ebx + 0x6c], edi
jle 0x4e5910
lea edx, [esp + 0xe8]
lea eax, [ebx + 0x1bc8]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
lea esi, [ebx + 0x84]
lea esp, [esp]
xor edx, edx
cmp dword [esi], edx
jle 0x4e58f5
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edi, edi
fld qword [eax - 8]
add edx, 1
fstp qword [ecx - 0x10]
add eax, 0x40
fld qword [eax - 0x40]
add ecx, 0x20
fstp qword [ecx - 0x28]
fld qword [eax - 0x38]
fstp qword [ecx - 0x20]
fld qword [eax - 0x30]
fstp qword [ecx - 0x18]
cmp edx, dword [esi]
jl 0x4e58d0
add dword [esp + 0x54], 0x800
add dword [esp + 0x58], 0x400
add edi, 1
add esi, 4
cmp edi, dword [ebx + 0x6c]
jl 0x4e58c0
xor esi, esi
cmp dword [ebx + 0x6c], esi
jle 0x4e5954
xor edi, edi
fldz
mov ecx, dword [ebx + 0x89e0]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x5a3c80]
add ecx, edi
fstp qword [esp]
lea edx, [esp + edi + 0xd0]
push ecx
push edx
push esi
push ebx
call fcn.004e4680
add esi, 1
add esp, 0x20
add edi, 0x800
cmp esi, dword [ebx + 0x6c]
jl 0x4e5919
mov eax, dword [ebx + 0x89c8]
mov edx, dword [ebx + 0x6c]
mov ecx, eax
and ecx, 0x3f
movzx ecx, byte [ecx + 0x5a3bc0]
cmp edx, ecx
jge 0x4e5983
mov edx, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x89e0]
push edx
push eax
call fcn.004f1880
add esp, 0xc
jmp 0x4e59b9
jle 0x4e59b9
fld qword [ebx + 0x89c0]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x89e0]
sub esp, 0x18
fstp qword [esp + 0x10]
fld qword [ebx + 0x89b8]
fstp qword [esp + 8]
fld qword [ebx + 0x89d8]
fstp qword [esp]
push eax
push ecx
push edx
call fcn.004f12c0
add esp, 0x24
mov ecx, dword [ebx + 0x89c8]
test cl, cl
jns 0x4e5a16
mov edx, dword [ebx + 0x5e8]
fld qword [ebx + 0x89d8]
add edx, dword [esp + 0x78]
mov eax, dword [ebx + 0x40]
imul edx, eax
and ecx, 0x3f
movzx ecx, byte [ecx + 0x5a3bc0]
sub esp, 0x10
shl ecx, 0xb
add ecx, dword [ebx + 0x89e0]
fstp qword [esp + 8]
add edx, 0x1a3
fld qword [0x5a3c78]
shl edx, 4
fstp qword [esp]
push ecx
add edx, ebx
push edx
lea ecx, [eax + eax]
push ecx
push eax
call fcn.004e4d60
add esp, 0x20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret