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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0x94
mov edi, eax
mov eax, dword [ebp + 0x14]
mov ebx, edx
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 4]
mov esi, dword [eax + 0x44]
inc esi
mov dword [esp + 0x78], esi
mov esi, ebx
mov dword [esp + 0x8c], edx
test edx, edx
ja 0x452945
mov edx, dword [ebp + 0x14]
mov eax, 1
mov dword [esp], 0
mov dword [edx + 0x30], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x34], eax
lea edx, [ebx + 0x900]
cmp ebx, edx
jae 0x45373a
xor ebx, ebx
jmp 0x4535d9
mov ecx, dword [edi + 0x4d4c]
mov eax, ecx
neg eax
and eax, 7
mov edx, dword [edi + 0x4d50]
mov dword [esp + 0x4c], eax
sub edx, eax
mov dword [esp], edx
mov dword [edi + 0x4d50], edx
js 0x4529c5
mov edx, dword [edi + 0x4d54]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x70], esi
movzx ebx, byte [edx]
shl ebx, 8
movzx eax, byte [edx + 1]
or ebx, eax
shl ebx, 8
movzx esi, byte [edx + 2]
or ebx, esi
mov eax, dword [esp + 0x4c]
shl ebx, cl
add ecx, eax
neg eax
mov esi, ecx
and ecx, 7
and ebx, 0xffffff
mov dword [edi + 0x4d4c], ecx
sar esi, 3
add edx, esi
lea ecx, [eax + 0x18]
shr ebx, cl
mov dword [esp + 0x50], ebx
mov dword [edi + 0x4d54], edx
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
jmp 0x4529fb
test byte [edi + 0x6dbc], 0x20
jne 0x4529ed
push 2
call fcn.0049ba21
push dword [esp + 4]
push dword [esp + 0x54]
push 0x2e
push str._.........._srclibmpg123getbits.h:_i__error:_Tried_to_read__i_bits_with__li_available._n
push eax
call fcn.0040f2f0
add esp, 0x18
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x50], 0
neg eax
add eax, 8
mov edx, dword [esp + 0x50]
mov ecx, eax
shl edx, 0x18
mov eax, dword [esp + 0x8c]
shl edx, cl
mov ecx, dword [ebp + 0x14]
sub eax, dword [ebp + 0x1c]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x8c], eax
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
mov dword [esp], ecx
mov ecx, edx
neg ecx
add ecx, 0x120
sar ecx, 1
mov dword [esp + 0x38], ecx
cmp edx, eax
jg 0x452a55
xor eax, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jmp 0x452a7f
mov dword [esp + 0x18], eax
cmp edx, dword [esp]
jg 0x452a6e
sub edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
jmp 0x452a7f
neg eax
mov ecx, dword [esp]
add eax, ecx
sub edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x10], 2
jne 0x453112
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x14], 0
je 0x452acc
mov edx, dword [ebp + 0x18]
mov eax, 2
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [edx + edx*2]
mov ecx, dword [eax*4 + 0x5345e0]
mov edx, dword [eax*4 + 0x534660]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x48], ecx
mov dword [esp + 4], edx
jmp 0x452afd
mov edx, dword [ebp + 0x18]
mov eax, 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [edx + edx*2]
mov ecx, dword [eax*4 + 0x5345e4]
mov edx, dword [eax*4 + 0x534664]
mov dword [esp + 0x48], ecx
mov dword [esp + 4], edx
xor eax, eax
mov ecx, 3
mov dword [esp + 0x60], eax
pxor xmm0, xmm0
mov dword [esp + 0x30], eax
lea edx, [ebx + 0x900]
mov dword [esp + 0x70], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0x30]
mov edi, dword [ebp + 0x14]
mov ebx, dword [esp + esi*4 + 0x18]
mov ecx, dword [edi + esi*4 + 0x18]
test ebx, ebx
je 0x452da7
mov dword [esp + 0x54], ebx
mov eax, dword [ecx*8 + 0x4c6ce4]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ecx
movsx edx, word [eax]
add eax, 2
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x60], 0
jne 0x452be5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov dword [esp + 0x60], esi
lea esi, [ecx + edi*4]
mov edi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
cmp edi, 3
je 0x453a83
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edi, dword [ebp + 0x14]
mov eax, dword [edx]
add edx, 4
shl eax, cl
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x58], 3
mov edi, dword [edi + ecx*4 + 0x4c]
mov edx, dword [esp + 0x4c]
movss xmm0, dword [edi + eax*4]
cmp edx, 0x18
jae 0x452c80
mov eax, dword [esp + 0x88]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x8c]
mov ecx, dword [eax + 0x4d54]
mov eax, dword [eax + 0x4d50]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x88]
add eax, 0xfffffff8
mov dword [ecx + 0x4d50], eax
js 0x452c4d
mov ecx, dword [esp + 0x80]
movzx edi, byte [ecx]
inc ecx
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x80], ecx
mov dword [edi + 0x4d54], ecx
jmp 0x452c58
mov dword [esp + 0x84], 0
mov ecx, edx
add edx, 8
neg ecx
add esi, 0xfffffff8
add ecx, 0x18
mov edi, dword [esp + 0x84]
shl edi, cl
or ebx, edi
cmp edx, 0x18
jb 0x452c13
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
test eax, eax
jge 0x452ca8
add eax, eax
dec edx
neg eax
add eax, ecx
test ebx, 0x80000000
cmovne ecx, eax
add ebx, ebx
movsx eax, word [ecx]
add ecx, 2
test eax, eax
jl 0x452c8c
mov ecx, eax
and eax, 0xf
sar ecx, 4
mov dword [esp + 0x6c], ecx
cmp esi, dword [esp + 0x74]
jae 0x453a39
cmp dword [esp + 0x6c], 0xf
je 0x453971
cmp dword [esp + 0x6c], 0
je 0x452d0a
mov edi, dword [esp + 0x44]
movaps xmm1, xmm0
mov ecx, dword [esp + 0x40]
mov dword [esp + edi*4 + 8], ecx
mov ecx, dword [esp + 0x6c]
mulss xmm1, dword [ecx*4 + 0x5346e0]
test ebx, 0x80000000
je 0x452d01
xorps xmm1, xmmword [0x4c82c0]
movss dword [esi], xmm1
jmp 0x452d05
movss dword [esi], xmm1
dec edx
add ebx, ebx
jmp 0x452d10
mov dword [esi], 0
mov ecx, dword [esp + 0x58]
lea edi, [esi + ecx*4]
mov dword [esp + 0x5c], edi
cmp edi, dword [esp + 0x74]
jae 0x453923
cmp eax, 0xf
je 0x45384b
test eax, eax
je 0x452d72
mov edi, dword [esp + 0x44]
movaps xmm1, xmm0
mov ecx, dword [esp + 0x40]
mulss xmm1, dword [eax*4 + 0x5346e0]
mov dword [esp + edi*4 + 8], ecx
test ebx, 0x80000000
je 0x452d64
mov eax, dword [esp + 0x58]
xorps xmm1, xmmword [0x4c82c0]
movss dword [esi + eax*4], xmm1
jmp 0x452d6d
mov eax, dword [esp + 0x58]
movss dword [esi + eax*4], xmm1
dec edx
add ebx, ebx
jmp 0x452d7b
mov eax, ecx
mov dword [esi + eax*4], 0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
dec dword [esp + 0x60]
dec dword [esp + 0x54]
lea esi, [eax + ecx*4]
jne 0x452b79
mov dword [esp + 0x70], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov esi, dword [esp + 0x30]
mov edi, dword [ebp + 0x14]
inc esi
cmp esi, 2
jl 0x452b3c
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x3c]
cmp dword [esp + 0x38], 0
je 0x45301b
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x88], edi
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x8c]
mov ecx, dword [ebp + 0x14]
lea eax, [edx + esi]
test eax, eax
jle 0x452ff9
mov eax, dword [ecx + 0x48]
mov edi, dword [eax*8 + 0x4c86cc]
cmp edx, 0x18
jae 0x452e95
mov eax, dword [esp + 0x88]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x38], ebx
mov eax, dword [eax + 0x4d50]
mov dword [esp], edi
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x88]
add eax, 0xfffffff8
mov dword [ecx + 0x4d50], eax
js 0x452e63
mov edi, ecx
mov ecx, dword [edi + 0x4d54]
movzx ebx, byte [ecx]
inc ecx
mov dword [edi + 0x4d54], ecx
jmp 0x452e65
xor ebx, ebx
mov ecx, edx
add edx, 8
neg ecx
add ecx, 0x18
shl ebx, cl
add dword [esp + 0x8c], 0xfffffff8
or esi, ebx
cmp edx, 0x18
jb 0x452e3d
mov dword [esp + 0x50], esi
mov ebx, dword [esp + 0x38]
mov edi, dword [esp]
mov esi, dword [esp + 0x8c]
mov ecx, dword [ebp + 0x14]
movsx eax, word [edi]
add edi, 2
test eax, eax
jge 0x452ec6
mov ecx, dword [esp + 0x50]
add eax, eax
dec edx
neg eax
add eax, edi
test ecx, 0x80000000
cmovne edi, eax
add ecx, ecx
movsx eax, word [edi]
add edi, 2
test eax, eax
jl 0x452ea3
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x14]
lea edi, [edx + esi]
test edi, edi
jle 0x45381e
mov dword [esp + 0x18], eax
xor edi, edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x60]
test edi, 1
jne 0x452f68
test eax, eax
jne 0x452f67
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
lea esi, [esi + ecx*4]
mov dword [esp + 0x70], esi
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
add ebx, 0x10
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov esi, dword [esp + 0x70]
cmp ecx, 3
je 0x4537eb
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x70], esi
mov edx, dword [ebx]
invalid