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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
cmp dword [ecx + 0x44], 0xffffff38
jge 0x455364
mov edx, dword [ecx + 0x3c]
lea eax, [edx + edx]
add eax, edx
sar eax, 2
mov ebx, dword [ecx + 0x30]
cmp eax, ebx
cmovl eax, ebx
mov dword [ecx + 0x30], eax
mov dword [esp + 0x24], ecx
call method.CBitAlloShort.noise_seek_initial2__
mov ecx, dword [esp + 0x24]
call method.CBitAlloShort.noise_seek_actual__
mov ecx, dword [esp + 0x24]
call method.CBitAlloShort.fnc_scale_factors__
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x14]
test esi, esi
jle 0x455bd9
lea edi, [ecx + 0x5c]
mov dword [esp + 0x28], edi
mov edi, ecx
lea ebp, [ecx + 0x2160]
mov dword [esp + 0x38], ebp
xor ebp, ebp
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
lea ebx, [edi + 0x120]
mov edx, dword [esp + 0x38]
lea esi, [edx - 0x80]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], edi
lea ebp, [ebx + 0x2a78]
mov ecx, ebx
test eax, eax
jle 0x45544d
mov edi, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + esi*4 + 0x64]
mov dword [esp + 0x10], 0xbe99999a
mov dword [esp + 0xc], ebx
mov edx, dword [edi + 0x600]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x24], ecx
mov dword [esp], ebp
call sym._vect_quantB2
mov dword [edi], eax
add ebx, ebx
add ebx, ebx
add ebp, ebx
mov ecx, dword [esp + 0x24]
add ecx, ebx
add esi, 1
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
add edi, 4
cmp esi, eax
jl 0x4553dc
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
cmp dword [esp + 0x30], ebp
je 0x45544d
add ebx, 0x300
add dword [esp + 0x30], 0x40
lea ebp, [ebx + 0x2a78]
mov ecx, ebx
test eax, eax
jg 0x4553d2
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add ebp, 1
mov esi, dword [esp + 0x2c]
mov ebx, dword [esi + 0x14]
add dword [esp + 0x28], 4
add dword [esp + 0x38], 0xc0
add edi, 0x900
cmp ebp, ebx
jl 0x4553a7
mov ecx, dword [esp + 0x2c]
test ebx, ebx
jle 0x455bd9
mov dword [esp + 0xc], 0
mov edx, dword [ecx + 0x5c]
mov dword [esp + 8], edx
lea eax, [ecx + 0x120]
mov dword [esp + 4], eax
lea ebp, [ecx + 0x20e0]
mov dword [esp], ebp
mov dword [esp + 0x24], ecx
call method.CBitAlloShort.subdivide2_int_____16___int_____192___int__int_
sub esp, 0x10
mov ebx, eax
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x54], eax
cmp dword [ecx + 0x14], 1
jle 0x4554f6
mov dword [esp + 0xc], 1
mov edi, dword [ecx + 0x60]
mov dword [esp + 8], edi
lea esi, [ecx + 0xa20]
mov dword [esp + 4], esi
lea edx, [ecx + 0x21a0]
mov dword [esp], edx
call method.CBitAlloShort.subdivide2_int_____16___int_____192___int__int_
sub esp, 0x10
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x58], eax
add ebx, eax
mov dword [ecx + 0x40], ebx
cmp dword [ecx + 0x30], ebx
jg 0x455be7
cmp dword [ecx + 0x2c], ebx
jl 0x455c0c
cmp dword [ecx + 0x28], ebx
jl 0x45556a
cmp ebx, 0xfb5
jle 0x455536
mov eax, dword [ecx + 0x14]
test eax, eax
jle 0x455536
cmp dword [ecx + 0x54], 0xfb5
jg 0x455561
cmp eax, 1
je 0x455536
cmp dword [ecx + 0x58], 0xfb5
jg 0x455561
mov ecx, dword [0x4bf2a4]
lea ebp, [ecx + 1]
mov dword [0x4bf2a4], ebp
mov eax, dword [0x4bf2a0]
add eax, ebx
mov dword [0x4bf2a0], eax
cdq
idiv ebp
mov dword [0x4bf29c], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
call method.CBitAlloShort.limit_part23_bits__
mov ebx, eax
jmp 0x455536
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x44], 0x64
lea ebx, [ecx + 0x120]
mov dword [esp + 0x48], ebx
lea eax, [ecx + 0x20e0]
mov dword [esp + 0x4c], eax
test edx, edx
jle 0x455a16
mov ebx, ecx
lea eax, [ecx + 0x26e0]
add edx, edx
add edx, edx
lea esi, [edx + ecx]
mov edx, dword [ebx + 0x5c]
test edx, edx
jle 0x455a06
mov edi, dword [eax]
mov ebp, 0x7e
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax], edi
cmp edx, 1
je 0x455bad
mov edi, dword [eax + 4]
mov ebp, 0x7e
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 4], edi
cmp edx, 2
je 0x455702
mov edi, dword [eax + 8]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 8], edi
cmp edx, 3
je 0x455702
mov edi, dword [eax + 0xc]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0xc], edi
cmp edx, 4
je 0x455702
mov edi, dword [eax + 0x10]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x10], edi
cmp edx, 5
je 0x455702
mov edi, dword [eax + 0x14]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x14], edi
cmp edx, 6
je 0x455702
mov edi, dword [eax + 0x18]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x18], edi
cmp edx, 7
je 0x455702
mov edi, dword [eax + 0x1c]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x1c], edi
cmp edx, 8
je 0x455702
mov edi, dword [eax + 0x20]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x20], edi
cmp edx, 9
je 0x455702
mov edi, dword [eax + 0x24]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x24], edi
cmp edx, 0xa
je 0x455702
mov edi, dword [eax + 0x28]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x28], edi
cmp edx, 0xb
je 0x455702
mov edi, dword [eax + 0x2c]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x2c], edi
cmp edx, 0xc
je 0x455702
mov edi, dword [eax + 0x30]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x30], edi
cmp edx, 0xd
je 0x455702
mov edi, dword [eax + 0x34]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x34], edi
cmp edx, 0xe
je 0x455702
mov edi, dword [eax + 0x38]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x38], edi
cmp edx, 0xf
je 0x455702
mov edi, dword [eax + 0x3c]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x3c], edi
mov edi, dword [eax + 0x40]
mov ebp, 0x7e
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x40], edi
mov edi, dword [eax + 0x44]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x44], edi
cmp edx, 2
je 0x45584d
mov edi, dword [eax + 0x48]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x48], edi
cmp edx, 3
je 0x45584d
mov edi, dword [eax + 0x4c]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x4c], edi
cmp edx, 4
je 0x45584d
mov edi, dword [eax + 0x50]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x50], edi
cmp edx, 5
je 0x45584d
mov edi, dword [eax + 0x54]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x54], edi
cmp edx, 6
je 0x45584d
mov edi, dword [eax + 0x58]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x58], edi
cmp edx, 7
je 0x45584d
mov edi, dword [eax + 0x5c]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x5c], edi
cmp edx, 8
je 0x45584d
mov edi, dword [eax + 0x60]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x60], edi
cmp edx, 9
je 0x45584d
mov edi, dword [eax + 0x64]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x64], edi
cmp edx, 0xa
je 0x45584d
mov edi, dword [eax + 0x68]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x68], edi
cmp edx, 0xb
je 0x45584d
mov edi, dword [eax + 0x6c]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x6c], edi
cmp edx, 0xc
je 0x45584d
mov edi, dword [eax + 0x70]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x70], edi
cmp edx, 0xd
je 0x45584d
mov edi, dword [eax + 0x74]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x74], edi
cmp edx, 0xe
je 0x45584d
mov edi, dword [eax + 0x78]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x78], edi
cmp edx, 0xf
je 0x45584d
mov edi, dword [eax + 0x7c]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x7c], edi
mov edi, dword [eax + 0x80]
mov ebp, 0x7e
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x80], edi
mov edi, dword [eax + 0x84]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x84], edi
cmp edx, 2
je 0x455a06
mov edi, dword [eax + 0x88]
mov ebp, 0x7e
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x88], edi
cmp edx, 3
je 0x455a06
mov edi, dword [eax + 0x8c]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x8c], edi
cmp edx, 4
je 0x455a06
mov edi, dword [eax + 0x90]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x90], edi
cmp edx, 5
je 0x455a06
mov edi, dword [eax + 0x94]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x94], edi
cmp edx, 6
je 0x455a06
mov edi, dword [eax + 0x98]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x98], edi
cmp edx, 7
je 0x455a06
mov edi, dword [eax + 0x9c]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0x9c], edi
cmp edx, 8
je 0x455a06
mov edi, dword [eax + 0xa0]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0xa0], edi
cmp edx, 9
je 0x455a06
mov edi, dword [eax + 0xa4]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0xa4], edi
cmp edx, 0xa
je 0x455a06
mov edi, dword [eax + 0xa8]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0xa8], edi
cmp edx, 0xb
je 0x455a06
mov edi, dword [eax + 0xac]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0xac], edi
cmp edx, 0xc
je 0x455a06
mov edi, dword [eax + 0xb0]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0xb0], edi
cmp edx, 0xd
je 0x455a06
mov edi, dword [eax + 0xb4]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0xb4], edi
cmp edx, 0xe
je 0x455a06
mov edi, dword [eax + 0xb8]
cmp edi, ebp
cmovg edi, ebp
add edi, 1
mov dword [eax + 0xb8], edi
cmp edx, 0xf
je 0x455a06
mov edx, dword [eax + 0xbc]
mov ebp, 0x7e
cmp edx, ebp
cmovg edx, ebp
add edx, 1
mov dword [eax + 0xbc], edx
add ebx, 4
add eax, 0xc0
cmp ebx, esi
jne 0x4555a0
mov dword [esp + 0x24], ecx
call method.CBitAlloShort.fnc_scale_factors__
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x14]
test edx, edx
jle 0x455ba9
lea ebx, [ecx + 0x5c]
mov dword [esp + 0x28], ebx
mov edi, ecx
lea eax, [ecx + 0x2160]
mov dword [esp + 0x38], eax
xor ebp, ebp
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
lea ebx, [edi + 0x120]
mov esi, dword [esp + 0x38]
lea edx, [esi - 0x80]
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
lea ebp, [ebx + 0x2a78]
mov ecx, ebx
test eax, eax
jle 0x455ae5
mov edi, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + esi*4 + 0x64]
mov dword [esp + 0xc], ebx
mov edx, dword [edi + 0x600]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x24], ecx
mov dword [esp], ebp
call sym._vect_quant
mov dword [edi], eax
add ebx, ebx
add ebx, ebx
add ebp, ebx
mov ecx, dword [esp + 0x24]
add ecx, ebx
add esi, 1
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
add edi, 4
cmp esi, eax
jl 0x455a7c
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
cmp dword [esp + 0x30], ebp
je 0x455ae5
add ebx, 0x300
add dword [esp + 0x30], 0x40
lea ebp, [ebx + 0x2a78]
mov ecx, ebx
test eax, eax
jg 0x455a72
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add ebp, 1
mov esi, dword [esp + 0x2c]
mov edx, dword [esi + 0x14]
add dword [esp + 0x28], 4
add dword [esp + 0x38], 0xc0
add edi, 0x900
cmp ebp, edx
jl 0x455a47
mov ecx, esi
test edx, edx
jle 0x455ba9
mov dword [esp + 0xc], 0
mov ebx, dword [esi + 0x5c]
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov ebp, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 0x24], esi
call method.CBitAlloShort.subdivide2_int_____16___int_____192___int__int_
sub esp, 0x10
mov ebx, eax
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x54], eax
mov edx, dword [ecx + 0x14]
cmp edx, 1
jle 0x455b8d
mov dword [esp + 0xc], 1
mov edi, dword [ecx + 0x60]
mov dword [esp + 8], edi
lea esi, [ecx + 0xa20]
mov dword [esp + 4], esi
lea edx, [ecx + 0x21a0]
mov dword [esp], edx
call method.CBitAlloShort.subdivide2_int_____16___int_____192___int__int_
sub esp, 0x10
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x58], eax
add ebx, eax
mov edx, dword [ecx + 0x14]
cmp dword [ecx + 0x28], ebx
jge 0x455b9d
sub dword [esp + 0x44], 1
jne 0x455589
add dword [0x4bf294], 1
jmp 0x455510
xor ebx, ebx
jmp 0x455b8d
mov edx, dword [eax + 0x40]
mov edi, 0x7e
cmp edx, edi
cmovg edx, edi
add edx, 1
mov dword [eax + 0x40], edx
mov ebp, dword [eax + 0x80]
cmp ebp, edi
cmovg ebp, edi
add ebp, 1
mov dword [eax + 0x80], ebp
jmp 0x455a06
xor ebx, ebx
mov dword [ecx + 0x40], ebx
cmp dword [ecx + 0x30], ebx
jle 0x455502
mov dword [esp], ebx
mov dword [esp + 0x24], ecx
call method.CBitAlloShort.increase_bits_int_
sub esp, 4
mov ebx, eax
add dword [0x4bf290], 1
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x2c], ebx
jge 0x45550b
mov dword [esp], ebx
mov dword [esp + 0x24], ecx
call method.CBitAlloShort.decrease_bits_int_
sub esp, 4
mov ebx, eax
add dword [0x4bf298], 1
mov ecx, dword [esp + 0x24]
jmp 0x45550b