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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x7c]
mov eax, dword [eax + 0x20]
test ebx, ebx
mov dword [esp + 0x38], eax
jle 0xb3dfd0
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x7c]
movsx eax, word [esi + ebx*2]
movsx edx, word [esi + ebx*2 - 2]
sub eax, edx
imul eax, dword [esp + 0x84]
cmp eax, 8
jle 0xb3df6b
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x84]
fld dword [0xe034dc]
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
imul eax, dword [esi + 0x2c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
movsx eax, word [edi]
movsx ecx, word [edi + 2]
sub ecx, eax
imul ecx, dword [esp + 0x84]
cmp ecx, 8
jle 0xb3de7a
imul eax, dword [esp + 0x84]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
xor edi, edi
fild dword [esp + 0x20]
xor esi, esi
xor ebx, ebx
add eax, dword [esp + 0x24]
shl eax, 2
lea ebp, [eax + ecx*4]
add ebp, dword [esp + 0x64]
add edx, eax
nop
lea esi, [esi]
fld dword [edx]
fmul st(0)
fmul st(1)
fxch st(2)
fucom st(2)
fnstsw ax
sahf
jbe 0xb3ddf2
add ebx, 1
fld dword [0xe034e0]
fucomp st(3)
fnstsw ax
sahf
jbe 0xb3de02
add esi, 1
fld dword [0xe034e4]
fucomp st(3)
fnstsw ax
fstp st(2)
sahf
jbe 0xb3de14
add edi, 1
add edx, 4
cmp ebp, edx
jne 0xb3dde0
fstp st(0)
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
sub eax, 3
cmp eax, dword [esp + 0x18]
jg 0xb3de3f
lea eax, [ebx + esi]
xor edx, edx
shl eax, 5
div ecx
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x18]
add edi, edi
mov ebp, dword [eax + edx*4]
xor edx, edx
cmp ecx, edi
setle dl
add esi, esi
xor eax, eax
cmp ecx, esi
setle al
add ebx, ebx
mov esi, eax
add edx, esi
cmp ecx, ebx
setle cl
add dword [esp + 0x2c], ebp
movzx ecx, cl
add edx, ecx
imul edx, ebp
add dword [esp + 0x28], edx
add dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 2
cmp dword [esp + 0x7c], eax
jne 0xb3dd93
add dword [esp + 0x30], 1
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
add dword [esp + 0x24], ebx
cmp eax, dword [esp + 0x80]
jl 0xb3dd83
fstp st(0)
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0xb3df11
mov edx, dword [esp + 0x2c]
test edx, edx
jle 0xb3dfb4
mov eax, dword [esp + 0x28]
test eax, eax
js 0xb3dfec
mov eax, dword [esp + 0x28]
xor edx, edx
mov esi, dword [esp + 0x68]
shl eax, 8
div dword [esp + 0x2c]
mov edx, 3
sub edx, dword [esp + 0x6c]
add eax, dword [esi]
shl edx, 7
sar eax, 1
mov dword [esi], eax
lea eax, [eax + eax*2]
lea edx, [edx + eax + 0x42]
mov eax, 3
sar edx, 2
cmp edx, 0x4f
jg 0xb3df4b
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x34]
xor eax, eax
test esi, esi
jne 0xb3df89
mov esi, dword [esp + 0x70]
add eax, dword [esi]
sar eax, 1
mov dword [esi], eax
mov esi, dword [esp + 0x74]
mov edx, dword [esi]
cmp edx, 2
je 0xb3dfaa
test edx, edx
jne 0xb3df37
sub eax, 4
cmp eax, 0x16
jle 0xb3df75
mov eax, dword [esp + 0x74]
mov dword [eax], 2
jmp 0xb3deba
cmp edx, 0xff
mov eax, 2
jle 0xb3df09
xor eax, eax
cmp edx, 0x17f
setle al
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x4c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x13
mov esi, dword [esp + 0x74]
setge al
movzx eax, al
mov dword [esi], eax
jmp 0xb3deba
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x7c]
xor edx, edx
sub eax, dword [ebx + 8]
lea ecx, [eax + 4]
mov eax, esi
imul ecx, dword [esp + 0x80]
div ecx
jmp 0xb3df1b
add eax, 4
cmp eax, 0x16
jle 0xb3df75
jmp 0xb3df3c
mov dword [esp + 8], 0x221
mov dword [esp + 4], str.celt_bands.c
mov dword [esp], str.assertion_failed:_nbBands_0
call fcn.00b371e0
mov dword [esp + 8], 0x1e9
mov dword [esp + 4], str.celt_bands.c
mov dword [esp], str.assertion_failed:_end_0
call fcn.00b371e0
mov dword [esp + 8], 0x222
mov dword [esp + 4], str.celt_bands.c
mov dword [esp], str.assertion_failed:_sum_0
call fcn.00b371e0
nop
lea esi, [esi]