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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x28b4
call fcn.005de040
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], 0x6f7560
je 0x50e5ec
mov dword [esp + 0x8c], 0x6f73e0
xor edx, edx
cmp dword [ebx + 0x6c], edx
mov dword [esp + 0x94], edx
jle 0x50ed92
fld qword [0x64e7a0]
lea eax, [ebx + 0xff4]
fld qword [0x636af0]
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 0x50ebdb
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 0x50e68a
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 0x50e6c9
lea eax, [eax + esi*8]
cmp dword [eax*4 + 0x6f6f00], 0
jne 0x50e6d6
xor eax, eax
cmp esi, 7
setle al
add eax, 2
jmp 0x50e6da
mov eax, dword [esp + 0x5c]
test esi, esi
jne 0x50e6e2
xor eax, eax
jmp switch.0x0050e6eb
cmp eax, 3
ja case.default.0x50e6eb
jmp dword [eax*4 + 0x50efa0]
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 0x50e980
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 + 0x6f6f00]
push edx
push ebx
call fcn.0050bf30
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 0x50e744
jmp 0x50e96e
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 0x50e7ca
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 0x50e7e4
push edi
fstp st(1)
push ebx
fstp st(0)
call fcn.00540450
fld qword [0x64e7a0]
fld qword [0x636af0]
add esp, 8
test dword [esp + 0x3c], eax
mov dword [esp + 0x90], eax
je 0x50e804
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 0x50e798
mov edi, dword [esp + 0x50]
jmp 0x50e97c
add esi, 0xffffffff
fstp st(1)
cmp esi, 5
fstp st(0)
ja case.default.0x50e839
jmp dword [esi*4 + 0x50efb0]
mov eax, 7
lea esi, [eax - 4]
jmp 0x50e883
mov eax, 0xa
lea esi, [eax - 5]
jmp 0x50e883
mov eax, 0xc
lea esi, [eax - 5]
jmp 0x50e883
mov eax, 0xd
lea esi, [eax - 4]
jmp 0x50e883
mov eax, 0xf
lea esi, [eax - 2]
jmp 0x50e883
mov eax, 0x11
mov esi, eax
jmp 0x50e883
mov eax, 0x13
lea esi, [eax + 6]
mov edi, dword [ebx + 0x8a04]
cmp eax, edi
mov dword [esp + 0x40], eax
jae 0x50e8b5
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 0x50e8bf
push eax
push ebx
call fcn.00540450
add esp, 8
lea edi, [esp + 0xa0]
call fcn.0050da70
mov eax, dword [ebx + 0x8a04]
cmp dword [esp + 0x40], eax
jae 0x50e8ff
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 0x50e90d
mov eax, dword [esp + 0x40]
push eax
push ebx
call fcn.00540450
add esp, 8
lea edi, [esp + 0xb0]
call fcn.0050da70
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 [0x636af0]
fld qword [0x64e7a0]
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 0x50e9a0
cmp dword [esp + 0x78], eax
jl 0x50e9a0
mov eax, dword [esp + 0x48]
fild dword [eax]
jmp 0x50e9aa
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 0x50eb9a
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x74]
xor ecx, ecx
add edx, esi
lea esi, [ecx - 1]
test esi, esi
jl 0x50ea47
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x6f7660]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x60]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [esp + esi*8 + 0xb8]
jmp 0x50ea71
cmp dword [ebx + 0x44], 0
je 0x50ea77
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x6f7660]
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 0x50eaa4
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x6f7662]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x60]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [esp + esi*8 + 0xb0]
jmp 0x50eace
cmp dword [ebx + 0x44], 0
je 0x50ead4
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x6f7662]
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 0x50eb01
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x6f7664]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x60]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [esp + esi*8 + 0xa8]
jmp 0x50eb2b
cmp dword [ebx + 0x44], 0
je 0x50eb31
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x6f7664]
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 0x50eb5e
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x6f7666]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x60]
add esi, ecx
fild dword [esp + 0x3c]
fmul qword [esp + esi*8 + 0xa0]
jmp 0x50eb85
cmp dword [ebx + 0x44], 0
je 0x50eb8b
mov esi, dword [ebx + edx*4 + 0x870]
movsx esi, word [esi*8 + 0x6f7666]
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 0x50ea1a
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 0x50e686
mov edi, dword [ecx]
cmp edi, dword [ecx - 0x14]
jge 0x50ed32
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 0x50ec4b
fstp st(1)
push str.Stream_with_high_frequencies_VQ_coding_n
fstp st(0)
call fcn.005e1cfb
add eax, 0x40
push eax
call fcn.005e1bac
fld qword [0x636af0]
fld qword [0x64e7a0]
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 + 0x703660]
add eax, eax
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x703661]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x703662]
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 + 0x703663]
fmul st(1)
fmul st(2)
fstp qword [esi - 0x40]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x703664]
fmul st(1)
fmul st(2)
fstp qword [esi - 0x38]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x703665]
fmul st(1)
fmul st(2)
fstp qword [esi - 0x30]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
movsx edx, byte [eax + 0x703666]
movsx eax, byte [eax + 0x703667]
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 0x50ec09
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 0x50e645
fstp st(1)
fstp st(0)
cmp dword [ebx + 0x3c], 0
jne 0x50eda7
mov ecx, dword [ebx + 0x5e8]
sub ecx, 1
cmp dword [esp + 0x78], ecx
jne 0x50ee1b
mov edx, dword [ebx + 0x8a04]
cmp edx, 0x10
jbe 0x50edf3
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 0x50edfe
fstp st(1)
push str.Unknown_quantization_index_codebook
fstp st(0)
call fcn.005e1cfb
add eax, 0x40
push eax
call fcn.005e1bac
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push ebx
call fcn.00540450
add esp, 8
cmp eax, 0xffff
je 0x50ee1b
push 0x64e738
call fcn.005e1cfb
add eax, 0x40
push eax
call fcn.005e1bac
add esp, 8
xor edi, edi
cmp dword [ebx + 0x6c], edi
jle 0x50ee90
lea edx, [esp + 0xe8]
lea eax, [ebx + 0x1bc8]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
lea esi, [ebx + 0x84]
lea ecx, [ecx]
xor edx, edx
cmp dword [esi], edx
jle 0x50ee75
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 0x50ee50
add dword [esp + 0x54], 0x800
add dword [esp + 0x58], 0x400
add edi, 1
add esi, 4
cmp edi, dword [ebx + 0x6c]
jl 0x50ee40
xor esi, esi
cmp dword [ebx + 0x6c], esi
jle 0x50eed4
xor edi, edi
fldz
mov ecx, dword [ebx + 0x89e0]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x64e730]
add ecx, edi
fstp qword [esp]
lea edx, [esp + edi + 0xd0]
push ecx
push edx
push esi
push ebx
call fcn.0050dc20
add esi, 1
add esp, 0x20
add edi, 0x800
cmp esi, dword [ebx + 0x6c]
jl 0x50ee99
mov eax, dword [ebx + 0x89c8]
mov edx, dword [ebx + 0x6c]
mov ecx, eax
and ecx, 0x3f
movzx ecx, byte [ecx + 0x64e678]
cmp edx, ecx
jge 0x50ef03
mov edx, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x89e0]
push edx
push eax
call fcn.00541a30
add esp, 0xc
jmp 0x50ef39
jle 0x50ef39
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.00541470
add esp, 0x24
mov ecx, dword [ebx + 0x89c8]
test cl, cl
jns 0x50ef96
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 + 0x64e678]
sub esp, 0x10
shl ecx, 0xb
add ecx, dword [ebx + 0x89e0]
fstp qword [esp + 8]
add edx, 0x1a3
fld qword [0x64e728]
shl edx, 4
fstp qword [esp]
push ecx
add edx, ebx
push edx
lea ecx, [eax + eax]
push ecx
push eax
call fcn.0050e2f0
add esp, 0x20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret