Function at 0x29aea020
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x17c
push ebx
mov ebx, dword [esp + 0x184]
mov eax, dword [ebx + 0x14]
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp eax, edi
jg 0x29aea050
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x17c
ret 4
xor edi, edi
cmp dword [ebx + 0xd0], edi
jle 0x29aea096
cmp dword [ebx + 0xfb0], edi
jne 0x29aea096
mov esi, ebx
call fcn.29aec640
mov ecx, dword [ebx + 0xfb4]
cmp eax, ecx
jne 0x29aea711
lea eax, [ecx + 1]
cmp eax, 0xd8
mov dword [ebx + 0xfb4], eax
jne 0x29aea08f
mov dword [ebx + 0xfb4], 0xd0
mov eax, ebx
call fcn.29ae9fd0
cmp dword [ebx + 0xc0], edi
mov dword [esp + 0x1c], edi
jle 0x29aea4c0
mov dword [esp + 0x14], edi
lea ecx, [ebx + 0x90]
lea edi, [ebx + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
jmp 0x29aea0c1
mov edi, dword [esp + 0x24]
mov eax, dword [ebx + 0x1c]
cdq
idiv dword [edi - 4]
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x10], 0
mov dword [esp + 0x44], eax
mov eax, esi
cdq
idiv dword [edi]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x2c]
cdq
and edx, 7
add eax, edx
sar edi, 3
sar eax, 3
test esi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], eax
jle 0x29aea48c
lea esp, [esp]
mov eax, dword [ebx + 0x1c]
xor esi, esi
test eax, eax
jle 0x29aea473
lea ecx, [ecx]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx]
imul edx, edx, 0x156
imul ecx, ecx, 0x156
lea eax, [esp + 0x8c]
push eax
lea eax, [edx + ebx + 0x830]
push eax
lea eax, [ecx + ebx + 0x2d8]
mov ecx, dword [esp + 0x2c]
add ecx, 8
call fcn.29aeac00
test eax, eax
je 0x29aea725
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x4c]
push edx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x90]
shl edx, 7
push eax
lea ecx, [edx + ebx + 0xd4]
call fcn.29aeb6f0
cmp edi, 1
jne 0x29aea2af
mov ecx, dword [esp + 0x28]
cmp ecx, edi
jne 0x29aea393
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add ecx, edx
lea eax, [esp + 0x4d]
lea edi, [ebx + ecx*4 + 0xd94]
mov edx, 2
mov edi, edi
mov ecx, dword [edi - 4]
mov bl, byte [eax - 1]
add ecx, esi
mov byte [ecx + ebp], bl
mov bl, byte [eax]
mov byte [ecx + ebp + 1], bl
mov bl, byte [eax + 1]
mov byte [ecx + ebp + 2], bl
mov bl, byte [eax + 2]
mov byte [ecx + ebp + 3], bl
mov bl, byte [eax + 3]
mov byte [ecx + ebp + 4], bl
mov bl, byte [eax + 4]
mov byte [ecx + ebp + 5], bl
add ecx, ebp
mov bl, byte [eax + 5]
mov byte [ecx + 6], bl
mov bl, byte [eax + 6]
mov byte [ecx + 7], bl
mov ecx, dword [edi]
mov bl, byte [eax + 7]
add ecx, esi
mov byte [ecx + ebp], bl
mov bl, byte [eax + 8]
mov byte [ecx + ebp + 1], bl
mov bl, byte [eax + 9]
mov byte [ecx + ebp + 2], bl
mov bl, byte [eax + 0xa]
mov byte [ecx + ebp + 3], bl
mov bl, byte [eax + 0xb]
add ecx, ebp
mov byte [ecx + 4], bl
mov bl, byte [eax + 0xc]
mov byte [ecx + 5], bl
mov bl, byte [eax + 0xd]
mov byte [ecx + 6], bl
mov bl, byte [eax + 0xe]
mov byte [ecx + 7], bl
mov ecx, dword [edi + 4]
mov bl, byte [eax + 0xf]
add ecx, esi
mov byte [ecx + ebp], bl
mov bl, byte [eax + 0x10]
mov byte [ecx + ebp + 1], bl
mov bl, byte [eax + 0x11]
add ecx, ebp
mov byte [ecx + 2], bl
mov bl, byte [eax + 0x12]
mov byte [ecx + 3], bl
mov bl, byte [eax + 0x13]
mov byte [ecx + 4], bl
mov bl, byte [eax + 0x14]
mov byte [ecx + 5], bl
mov bl, byte [eax + 0x15]
mov byte [ecx + 6], bl
mov bl, byte [eax + 0x16]
mov byte [ecx + 7], bl
mov ecx, dword [edi + 8]
mov bl, byte [eax + 0x17]
add ecx, esi
add ecx, ebp
mov byte [ecx], bl
mov bl, byte [eax + 0x18]
mov byte [ecx + 1], bl
mov bl, byte [eax + 0x19]
mov byte [ecx + 2], bl
mov bl, byte [eax + 0x1a]
mov byte [ecx + 3], bl
mov bl, byte [eax + 0x1b]
mov byte [ecx + 4], bl
mov bl, byte [eax + 0x1c]
mov byte [ecx + 5], bl
mov bl, byte [eax + 0x1d]
mov byte [ecx + 6], bl
mov bl, byte [eax + 0x1e]
add edi, 0x10
add eax, 0x20
dec edx
mov byte [ecx + 7], bl
jne 0x29aea1b0
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x190]
jmp 0x29aea45e
cmp edi, 2
jne 0x29aea38f
cmp dword [esp + 0x28], edi
jne 0x29aea38f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x190]
add eax, ecx
lea edi, [esp + 0x4d]
lea ebx, [edx + eax*4 + 0xd94]
mov dword [esp + 0x20], 8
mov ecx, dword [ebx]
mov eax, dword [ebx - 4]
mov dl, byte [edi - 1]
add eax, esi
add eax, ebp
add ecx, esi
mov byte [ecx + ebp + 1], dl
mov byte [ecx + ebp], dl
mov byte [eax + 1], dl
mov byte [eax], dl
mov dl, byte [edi]
add ecx, ebp
mov byte [ecx + 3], dl
mov byte [ecx + 2], dl
mov byte [eax + 3], dl
mov byte [eax + 2], dl
mov dl, byte [edi + 1]
mov byte [ecx + 5], dl
mov byte [ecx + 4], dl
mov byte [eax + 5], dl
mov byte [eax + 4], dl
mov dl, byte [edi + 2]
mov byte [ecx + 7], dl
mov byte [ecx + 6], dl
mov byte [eax + 7], dl
mov byte [eax + 6], dl
mov dl, byte [edi + 3]
mov byte [ecx + 9], dl
mov byte [ecx + 8], dl
mov byte [eax + 9], dl
mov byte [eax + 8], dl
mov dl, byte [edi + 4]
mov byte [ecx + 0xb], dl
mov byte [ecx + 0xa], dl
mov byte [eax + 0xb], dl
mov byte [eax + 0xa], dl
mov dl, byte [edi + 5]
mov byte [ecx + 0xd], dl
mov byte [ecx + 0xc], dl
mov byte [eax + 0xd], dl
mov byte [eax + 0xc], dl
mov dl, byte [edi + 6]
mov byte [ecx + 0xf], dl
mov byte [ecx + 0xe], dl
mov byte [eax + 0xf], dl
mov byte [eax + 0xe], dl
mov eax, dword [esp + 0x20]
add ebx, 8
add edi, 8
dec eax
mov dword [esp + 0x20], eax
jne 0x29aea2e6
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x190]
jmp 0x29aea45e
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], 8
jmp 0x29aea3b0
mov dword [esp + 0x34], 0
mov dword [esp + 0x48], 8
xor edx, edx
test ecx, ecx
mov dword [esp + 0x3c], edx
jle 0x29aea423
lea ebx, [ebx]
xor eax, eax
test edi, edi
jle 0x29aea41a
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov cl, byte [esp + ecx + 0x4c]
add edi, edx
add edi, dword [esp + 0x20]
add edi, dword [esp + 0x10]
lea edx, [ebx + edi*4 + 0xd90]
mov edi, dword [esp + 0x34]
mov ebx, dword [edx]
add edi, eax
add edi, esi
add edi, ebp
mov byte [edi + ebx], cl
mov edi, dword [esp + 0x30]
inc eax
cmp eax, edi
jl 0x29aea3f3
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x190]
mov ecx, dword [esp + 0x28]
inc edx
cmp edx, ecx
mov dword [esp + 0x3c], edx
jl 0x29aea3d0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
add edx, edi
dec eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], eax
jne 0x29aea3c0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
add edx, ecx
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], eax
jne 0x29aea3b0
mov ecx, dword [esp + 0x44]
mov eax, dword [ebx + 0x1c]
add esi, ecx
cmp esi, eax
mov ecx, dword [esp + 0x18]
jl 0x29aea120
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x20]
add eax, esi
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x29aea110
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
add edx, 0x14
inc eax
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0xc0]
add ecx, 4
add esi, 0x20
cmp eax, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
jl 0x29aea0bd
mov ecx, dword [ebx + 0xfb0]
mov eax, dword [ebx + 0xc4]
dec ecx
mov dword [ebx + 0xfb0], ecx
xor ecx, ecx
cmp eax, ecx
je 0x29aea6ef
mov eax, dword [ebx + 0xc0]
cmp eax, 3
jne 0x29aea5e3
cmp dword [ebx + 0x20], ecx
mov dword [esp + 0x10], ecx
jle 0x29aea6ef
lea eax, [ebx + 0xe10]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x1c]
xor esi, esi
test ecx, ecx
jle 0x29aea5c3
mov edx, dword [eax - 0x80]
add edx, esi
lea ecx, [edx + ebp]
mov edx, dword [eax]
mov eax, dword [eax + 0x80]
add edx, esi
movzx edi, byte [edx + ebp]
add eax, esi
movzx eax, byte [eax + ebp]
sub eax, 0x80
mov dword [esp + 0x2c], ecx
movzx ecx, byte [ecx]
mov edx, eax
imul eax, eax, 0xffff492e
imul edx, edx, 0x166e9
shl ecx, 0x10
mov dword [esp + 0x14], ecx
lea ecx, [edx + ecx + 0x8000]
sar ecx, 0x10
mov dl, byte [ecx + 0x29b87668]
mov ecx, dword [esp + 0x2c]
mov byte [ecx], dl
mov ecx, dword [esp + 0x14]
sub edi, 0x80
mov edx, edi
imul edi, edi, 0x1c5a2
imul edx, edx, 0x5819
sub eax, edx
lea edx, [eax + ecx + 0x8000]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
sar edx, 0x10
mov dl, byte [edx + 0x29b87668]
add ecx, esi
mov byte [ecx + ebp], dl
mov ecx, dword [esp + 0x14]
lea edx, [edi + ecx + 0x8000]
mov ecx, dword [eax + 0x80]
sar edx, 0x10
mov dl, byte [edx + 0x29b87668]
add ecx, esi
mov byte [ecx + ebp], dl
mov ecx, dword [ebx + 0x1c]
inc esi
cmp esi, ecx
jl 0x29aea510
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x20]
inc ecx
add eax, 4
cmp ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jl 0x29aea503
jmp 0x29aea6ef
cmp eax, 4
jne 0x29aea6ef
cmp dword [ebx + 0x20], ecx
mov dword [esp + 0x10], ecx
jle 0x29aea6ef
lea eax, [ebx + 0xe10]
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 0x1c]
xor esi, esi
test ecx, ecx
jle 0x29aea6d4
mov ecx, dword [eax - 0x80]
mov edi, dword [eax]
mov eax, dword [eax + 0x80]
add eax, esi
movzx eax, byte [eax + ebp]
add ecx, esi
add ecx, ebp
sub eax, 0x80
mov dword [esp + 0x1c], ecx
movzx ecx, byte [ecx]
lea edx, [esi + ebp]
movzx edi, byte [edx + edi]
mov edx, eax
imul eax, eax, 0xffff492e
imul edx, edx, 0x166e9
shl ecx, 0x10
mov dword [esp + 0x14], ecx
lea ecx, [edx + ecx + 0x8000]
sar ecx, 0x10
or dl, 0xff
sub dl, byte [ecx + 0x29b87668]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], dl
mov ecx, dword [esp + 0x14]
sub edi, 0x80
mov edx, edi
imul edi, edi, 0x1c5a2
imul edx, edx, 0x5819
sub eax, edx
lea edx, [eax + ecx + 0x8000]
sar edx, 0x10
mov cl, byte [edx + 0x29b87668]
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
or al, 0xff
sub al, cl
lea ecx, [esi + ebp]
mov byte [ecx + edx], al
mov eax, dword [esp + 0x14]
lea ecx, [edi + eax + 0x8000]
sar ecx, 0x10
mov al, byte [ecx + 0x29b87668]
or dl, 0xff
sub dl, al
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x80]
add ecx, esi
mov byte [ecx + ebp], dl
mov ecx, dword [ebx + 0x1c]
inc esi
cmp esi, ecx
jl 0x29aea610
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x20]
inc ecx
add eax, 4
cmp ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jl 0x29aea603
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x14]
add ebp, ecx
cmp ebp, eax
jl 0x29aea04e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x17c
ret 4
mov edx, dword [ebx]
push str.Bad_DCT_data:_incorrect_restart_marker
mov ecx, ebx
call dword [edx + 0x20]
call fcn.29ab31e0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x17c
ret 4