Function at 0x5ea080
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x180
xor eax, eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xbc]
test edi, edi
jle 0x5ea0d7
mov ebx, dword [esi + 0xd84]
lea edx, [esi + 0x34]
lea ecx, [esi + 0x9c]
cmp dword [ecx - 0x10], ebx
jge 0x5ea1d7
mov ebp, dword [ecx]
cmp ebp, dword [esi + 0xd88]
jge 0x5ea1d7
mov ebp, dword [edx]
cmp ebp, dword [esi + 0x2d0]
jg 0x5ea1b3
inc eax
add ecx, 4
add edx, 0x14
cmp eax, edi
jl 0x5ea0a7
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edi
jle 0x5ea76c
mov eax, dword [esi + 0xcc]
test eax, eax
jle 0x5ea132
mov eax, dword [esi + 0xdb4]
test eax, eax
jne 0x5ea132
mov ecx, esi
call fcn.005ecc30
mov ecx, dword [esi + 0xdb8]
cmp eax, ecx
jne 0x5ea88f
lea eax, [ecx + 1]
cmp eax, 0xd8
mov dword [esi + 0xdb8], eax
jne 0x5ea12b
mov dword [esi + 0xdb8], 0xd0
mov ecx, esi
call fcn.005ea030
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x28], 0
test eax, eax
jle 0x5ea74b
lea ebx, [esi + 0x8c]
lea ebp, [esi + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebp
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
mov eax, ecx
cdq
idiv dword [ebp - 4]
mov dword [esp + 0x4c], eax
mov eax, edi
cdq
idiv dword [ebp]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x20], eax
xor eax, eax
test edi, edi
mov dword [esp + 0x24], eax
jle 0x5ea722
xor edi, edi
test ecx, ecx
mov dword [esp + 0x18], edi
jle 0x5ea70d
jmp 0x5ea1ff
mov eax, dword [esi]
push str.Bad_DCT_data:_invalid_quant_table_index
mov ecx, esi
call dword [eax + 0x30]
push eax
push 1
call fcn.006033f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180
ret
mov edx, dword [esi]
push str.Bad_DCT_data:_invalid_Huffman_table_index
mov ecx, esi
call dword [edx + 0x30]
push eax
push 1
call fcn.006033f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180
ret
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x90]
push eax
lea eax, [ebp + 8]
push eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
lea edx, [eax + eax*8]
lea eax, [esi + edx*2 + 0x82c]
push eax
mov eax, dword [ebx]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, esi
lea edx, [eax + eax*8]
lea eax, [esi + edx*2 + 0x2d4]
push eax
call fcn.005eae20
test eax, eax
je 0x5ea8a6
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x50]
shl eax, 7
push ecx
lea edx, [esp + 0x94]
lea ecx, [eax + esi + 0xd0]
push edx
push ecx
mov ecx, esi
call fcn.005eb9a0
mov ecx, dword [esp + 0x2c]
cmp ecx, 1
jne 0x5ea33d
mov eax, dword [esp + 0x20]
cmp eax, ecx
jne 0x5ea5f7
mov edx, dword [esp + 0x14]
lea edx, [edi + edx + 8]
mov edi, dword [esi + 0x10]
cmp edx, edi
jg 0x5ea5f7
xor edi, edi
lea ecx, [esp + 0x51]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add eax, edi
mov ebp, dword [esp + 0x14]
imul eax, dword [esi + 0x10]
add eax, edx
mov ebx, dword [esp + 0x28]
add eax, ebp
mov edx, dword [esi + 0xd8c]
imul eax, dword [esi + 0xbc]
add eax, ebx
add ecx, 8
add eax, edx
mov dl, byte [ecx - 9]
mov byte [eax], dl
mov edx, dword [esi + 0xbc]
mov bl, byte [ecx - 8]
mov byte [eax + edx], bl
mov edx, dword [esi + 0xbc]
mov bl, byte [ecx - 7]
mov byte [eax + edx*2], bl
mov ebp, dword [esi + 0xbc]
mov bl, byte [ecx - 6]
lea edx, [eax + ebp*2]
mov byte [edx + ebp], bl
mov edx, dword [esi + 0xbc]
mov bl, byte [ecx - 5]
mov byte [eax + edx*4], bl
mov ebp, dword [esi + 0xbc]
mov bl, byte [ecx - 4]
lea edx, [eax + ebp*4]
mov byte [edx + ebp], bl
mov edx, dword [esi + 0xbc]
mov bl, byte [ecx - 3]
lea edx, [edx + edx*2]
mov byte [eax + edx*2], bl
mov edx, dword [esi + 0xbc]
lea ebx, [edx*8]
sub ebx, edx
mov dl, byte [ecx - 2]
inc edi
cmp edi, 8
mov byte [ebx + eax], dl
jl 0x5ea295
jmp 0x5ea6e8
cmp ecx, 2
jne 0x5ea5f3
cmp dword [esp + 0x20], ecx
jne 0x5ea5f3
mov eax, dword [esp + 0x14]
lea edx, [edi + eax + 0x10]
mov eax, dword [esi + 0x10]
cmp edx, eax
jg 0x5ea5f3
xor eax, eax
lea edi, [esp + 0x51]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x10]
add eax, edx
mov edx, dword [esp + 0x18]
imul eax, ecx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esi + 0xbc]
add eax, edx
mov edx, dword [esp + 0x28]
add eax, ebx
mov ebx, dword [esi + 0xd8c]
imul eax, ebp
imul ecx, ebp
add eax, edx
mov dl, byte [edi - 1]
add eax, ebx
add ecx, eax
mov byte [ecx + ebp], dl
mov edx, dword [esi + 0xbc]
mov dl, byte [ecx + edx]
mov byte [ecx], dl
mov ebx, dword [esi + 0xbc]
mov byte [eax + ebx], dl
mov edx, dword [esi + 0xbc]
mov dl, byte [eax + edx]
mov byte [eax], dl
mov ebp, dword [esi + 0xbc]
mov bl, byte [edi]
lea edx, [ecx + ebp*2]
mov byte [edx + ebp], bl
mov ebp, dword [esi + 0xbc]
lea edx, [ecx + ebp*2]
mov dl, byte [edx + ebp]
mov byte [ecx + ebp*2], dl
mov ebp, dword [esi + 0xbc]
mov bl, byte [ecx + ebp*2]
lea edx, [eax + ebp*2]
mov byte [edx + ebp], bl
mov ebp, dword [esi + 0xbc]
lea edx, [eax + ebp*2]
mov dl, byte [edx + ebp]
mov byte [eax + ebp*2], dl
mov ebp, dword [esi + 0xbc]
mov bl, byte [edi + 1]
lea edx, [ecx + ebp*4]
mov byte [edx + ebp], bl
mov ebp, dword [esi + 0xbc]
lea edx, [ecx + ebp*4]
mov dl, byte [edx + ebp]
mov byte [ecx + ebp*4], dl
mov ebp, dword [esi + 0xbc]
mov bl, byte [ecx + ebp*4]
lea edx, [eax + ebp*4]
mov byte [edx + ebp], bl
mov ebp, dword [esi + 0xbc]
lea edx, [eax + ebp*4]
mov dl, byte [edx + ebp]
mov byte [eax + ebp*4], dl
mov edx, dword [esi + 0xbc]
lea ebx, [edx*8]
sub ebx, edx
mov dl, byte [edi + 2]
mov byte [ebx + ecx], dl
mov edx, dword [esi + 0xbc]
lea ebx, [edx*8]
sub ebx, edx
lea edx, [edx + edx*2]
mov bl, byte [ebx + ecx]
mov byte [ecx + edx*2], bl
mov edx, dword [esi + 0xbc]
lea ebx, [edx + edx*2]
lea ebp, [edx*8]
sub ebp, edx
mov dl, byte [ecx + ebx*2]
mov byte [eax + ebp], dl
mov edx, dword [esi + 0xbc]
lea ebx, [edx*8]
sub ebx, edx
lea edx, [edx + edx*2]
mov bl, byte [ebx + eax]
mov byte [eax + edx*2], bl
mov ebp, dword [esi + 0xbc]
mov bl, byte [edi + 3]
lea edx, [ecx + ebp*8]
mov byte [edx + ebp], bl
mov ebp, dword [esi + 0xbc]
lea edx, [ecx + ebp*8]
mov dl, byte [edx + ebp]
mov byte [ecx + ebp*8], dl
mov ebp, dword [esi + 0xbc]
mov bl, byte [ecx + ebp*8]
lea edx, [eax + ebp*8]
mov byte [edx + ebp], bl
mov ebp, dword [esi + 0xbc]
lea edx, [eax + ebp*8]
mov dl, byte [edx + ebp]
mov byte [eax + ebp*8], dl
mov edx, dword [esi + 0xbc]
lea ebx, [edx + edx*4]
lea ebp, [ecx + edx]
mov dl, byte [edi + 4]
mov byte [ebp + ebx*2], dl
mov edx, dword [esi + 0xbc]
lea ebx, [edx + edx*4]
lea ebp, [ecx + edx]
lea edx, [edx + edx*4]
mov bl, byte [ebp + ebx*2]
mov byte [ecx + edx*2], bl
mov edx, dword [esi + 0xbc]
lea ebx, [edx + edx*4]
lea ebp, [edx + edx*4]
add edx, eax
mov bl, byte [ecx + ebx*2]
mov byte [edx + ebp*2], bl
mov edx, dword [esi + 0xbc]
lea ebx, [edx + edx*4]
lea ebp, [eax + edx]
lea edx, [edx + edx*4]
mov bl, byte [ebp + ebx*2]
mov byte [eax + edx*2], bl
mov edx, dword [esi + 0xbc]
lea ebx, [edx + edx*2]
lea ebp, [ecx + edx]
mov dl, byte [edi + 5]
mov byte [ebp + ebx*4], dl
mov edx, dword [esi + 0xbc]
lea ebx, [edx + edx*2]
lea ebp, [ecx + edx]
lea edx, [edx + edx*2]
mov bl, byte [ebp + ebx*4]
mov byte [ecx + edx*4], bl
mov edx, dword [esi + 0xbc]
lea ebx, [edx + edx*2]
lea ebp, [edx + edx*2]
add edx, eax
mov bl, byte [ecx + ebx*4]
mov byte [edx + ebp*4], bl
mov edx, dword [esi + 0xbc]
lea ebx, [edx + edx*2]
lea ebp, [eax + edx]
lea edx, [edx + edx*2]
mov bl, byte [ebp + ebx*4]
mov byte [eax + edx*4], bl
mov edx, dword [esi + 0xbc]
imul edx, edx, 0xf
mov bl, byte [edi + 6]
mov byte [edx + ecx], bl
mov edx, dword [esi + 0xbc]
mov ebx, edx
imul ebx, ebx, 0xf
lea ebp, [edx*8]
sub ebp, edx
mov dl, byte [ebx + ecx]
mov byte [ecx + ebp*2], dl
mov edx, dword [esi + 0xbc]
lea ebx, [edx*8]
sub ebx, edx
imul edx, edx, 0xf
mov cl, byte [ecx + ebx*2]
mov byte [edx + eax], cl
mov ecx, dword [esi + 0xbc]
mov edx, ecx
imul edx, edx, 0xf
lea ebx, [ecx*8]
add edi, 8
sub ebx, ecx
mov cl, byte [edx + eax]
mov byte [eax + ebx*2], cl
mov eax, dword [esp + 0x1c]
add eax, 2
cmp eax, 0x10
mov dword [esp + 0x1c], eax
jl 0x5ea36d
jmp 0x5ea6e8
mov eax, dword [esp + 0x20]
mov edi, dword [esi + 0x10]
mov edx, dword [esp + 0x18]
imul edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
add edi, edx
add edi, ebp
mov ebx, dword [esi + 0xd8c]
imul edi, dword [esi + 0xbc]
mov edx, dword [esp + 0x28]
add edi, ebx
add edi, edx
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], 8
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
add edx, ebx
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], 8
xor ebp, ebp
test eax, eax
jle 0x5ea6a7
jmp 0x5ea65c
mov ecx, dword [esp + 0x2c]
xor eax, eax
test ecx, ecx
jle 0x5ea69a
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jge 0x5ea69a
mov ebx, dword [esp + 0x1c]
add ebx, ebp
imul ebx, ecx
mov ecx, dword [esp + 0x38]
add ebx, eax
add ebx, ecx
mov ecx, dword [esp + 0x10]
imul ebx, dword [esi + 0xbc]
mov cl, byte [esp + ecx + 0x50]
inc eax
mov byte [ebx + edi], cl
mov ecx, dword [esp + 0x2c]
inc edx
cmp eax, ecx
jl 0x5ea666
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x5ea658
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
add ebp, ecx
add ebx, ecx
dec edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], edx
jne 0x5ea650
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
add ebx, eax
dec edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], edx
jne 0x5ea632
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esi + 0x18]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
add eax, edi
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x5ea1fb
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
mov edx, dword [esi + 0x1c]
add eax, edi
cmp eax, edx
mov dword [esp + 0x24], eax
jl 0x5ea1a3
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0xbc]
inc eax
add ebx, 4
add ebp, 0x14
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebp
jl 0x5ea159
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0xdb4]
mov eax, dword [esi + 0x10]
add edi, ecx
dec edx
cmp edi, eax
mov dword [esi + 0xdb4], edx
mov dword [esp + 0x14], edi
jl 0x5ea0e8
mov eax, dword [esi + 0xc0]
xor ecx, ecx
cmp eax, ecx
je 0x5ea9c8
mov eax, dword [esi + 0xbc]
cmp eax, 3
jne 0x5ea8b3
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xd8c]
imul eax, dword [esi + 0x1c]
test eax, eax
mov dword [esp + 0x10], ecx
jle 0x5ea9c8
xor edx, edx
xor ecx, ecx
mov dl, byte [edi]
mov cl, byte [edi + 2]
shl edx, 0x10
sub ecx, 0x80
mov ebp, edx
xor eax, eax
lea edx, [ecx + ecx*4]
mov al, byte [edi + 1]
shl edx, 6
sub edx, ecx
sub eax, 0x80
shl edx, 5
add edx, ecx
add edi, 3
lea ebx, [ebp + edx*8]
lea edx, [edx + ebx + 0x8000]
sar edx, 0x10
add edx, 0x180
and edx, 0x3ff
mov dl, byte [edx + 0x7dcc3c]
mov byte [edi - 3], dl
lea edx, [eax + eax*4]
lea edx, [eax + edx*2]
shl edx, 7
add edx, eax
lea edx, [eax + edx*2]
lea edx, [eax + edx*8]
mov ebx, edx
mov edx, ecx
neg edx
shl edx, 6
sub edx, ecx
lea edx, [edx + edx*4]
lea edx, [edx + edx*8]
shl edx, 3
sub edx, ecx
shl edx, 1
sub edx, ebx
lea ecx, [edx + ebp + 0x8000]
sar ecx, 0x10
add ecx, 0x180
and ecx, 0x3ff
mov dl, byte [ecx + 0x7dcc3c]
mov ecx, eax
shl ecx, 7
add ecx, eax
mov byte [edi - 2], dl
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*2]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ebp + edx*2 + 0x8000]
sar eax, 0x10
add eax, 0x180
and eax, 0x3ff
mov cl, byte [eax + 0x7dcc3c]
mov eax, dword [esp + 0x10]
mov byte [edi - 1], cl
mov edx, dword [esi + 0x10]
imul edx, dword [esi + 0x1c]
inc eax
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x5ea7a4
jmp 0x5ea9c8
mov edx, dword [esi]
push str.Bad_DCT_data:_incorrect_restart_marker
mov ecx, esi
call dword [edx + 0x30]
push eax
push 1
call fcn.006033f0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x180
ret
cmp eax, 4
jne 0x5ea9c8
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xd8c]
imul eax, dword [esi + 0x1c]
test eax, eax
mov dword [esp + 0x10], ecx
jle 0x5ea9c8
xor edx, edx
xor ecx, ecx
mov dl, byte [edi]
mov cl, byte [edi + 2]
shl edx, 0x10
sub ecx, 0x80
mov ebp, edx
xor eax, eax
lea edx, [ecx + ecx*4]
mov al, byte [edi + 1]
shl edx, 6
sub edx, ecx
sub eax, 0x80
shl edx, 5
add edx, ecx
add edi, 4
lea ebx, [ebp + edx*8]
lea edx, [edx + ebx + 0x8000]
or bl, 0xff
sar edx, 0x10
add edx, 0x180
and edx, 0x3ff
sub bl, byte [edx + 0x7dcc3c]
lea edx, [eax + eax*4]
lea edx, [eax + edx*2]
mov byte [edi - 4], bl
shl edx, 7
add edx, eax
lea edx, [eax + edx*2]
lea edx, [eax + edx*8]
mov ebx, edx
mov edx, ecx
neg edx
shl edx, 6
sub edx, ecx
lea edx, [edx + edx*4]
lea edx, [edx + edx*8]
shl edx, 3
sub edx, ecx
shl edx, 1
sub edx, ebx
lea ecx, [edx + ebp + 0x8000]
or dl, 0xff
sar ecx, 0x10
add ecx, 0x180
and ecx, 0x3ff
mov bl, byte [ecx + 0x7dcc3c]
mov ecx, eax
shl ecx, 7
add ecx, eax
sub dl, bl
mov byte [edi - 3], dl
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*2]
or cl, 0xff
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ebp + edx*2 + 0x8000]
sar eax, 0x10
add eax, 0x180
and eax, 0x3ff
mov dl, byte [eax + 0x7dcc3c]
mov eax, dword [esp + 0x10]
sub cl, dl
inc eax
mov byte [edi - 2], cl
mov edx, dword [esi + 0x10]
imul edx, dword [esi + 0x1c]
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x5ea8d5
mov edi, dword [esi + 0xdb0]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0xd8c]
lea ebx, [ecx + edi]
mov dword [esi + 0xd90], edx
cmp ebx, eax
jg 0x5eaa0a
imul ecx, dword [esi + 0x10]
imul ecx, dword [esi + 0xbc]
add ecx, edx
pop edi
mov dword [esi + 0xd94], ecx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x180
ret
sub eax, edi
pop edi
imul eax, dword [esi + 0x10]
imul eax, dword [esi + 0xbc]
add eax, edx
mov dword [esi + 0xd94], eax
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x180
ret