Function at 0x48cd40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5c8eb4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
or edx, 0xffffffff
cmp dword [ebp + 0x10], 0xd
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x88], 0
jb 0x48d1d5
mov al, byte [ebx]
movzx ecx, byte [ebx + 3]
mov byte [ebp - 0x76], al
movzx eax, byte [ebx + 4]
push edi
movzx edi, byte [ebx + 1]
shl cx, 8
and edi, 0xf
or cx, ax
shl edi, 8
mov al, byte [ebx + 6]
mov byte [ebp - 0x75], al
movzx eax, byte [ebx + 2]
or edi, eax
movzx ecx, cx
mov eax, dword [esi + 0xec]
sub edi, 0xb
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x7c], edi
mov esi, dword [eax + 0x125c28]
xor eax, eax
test esi, esi
jle 0x48ce03
mov edi, dword [ebp - 0x80]
movzx ecx, cx
mov dword [ebp - 0x84], ecx
mov ecx, dword [edi + 0xec]
mov edi, dword [ebp - 0x84]
add ecx, 0x10002c
cmp dword [ecx], edi
lea ecx, [ecx + 0x4b8]
cmove edx, eax
inc eax
cmp eax, esi
jl 0x48cde5
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
cmp edx, 0xffffffff
jne 0x48ce0d
mov dword [ebp - 0x84], 0x80
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff2
cmp edi, eax
jbe 0x48ce3c
push str._rWarning:_Invalid_EIT_packet_size_detected._n
push 0
push pe_nt_image_headers32
call fcn.0048e990
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f01b3
mov esp, ebp
pop ebp
ret
cmp edi, 4
jbe 0x48d1ab
movzx ecx, byte [ebx + 0xe]
movzx eax, byte [ebx + 0xf]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x8c]
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0xc], 0
movzx eax, byte [ebx + 0x10]
cdq
mov edi, eax
mov esi, edx
movzx eax, byte [ebx + 0x11]
shld esi, edi, 8
cdq
shl edi, 8
or esi, edx
or edi, eax
movzx eax, byte [ebx + 0x12]
shld esi, edi, 8
cdq
shl edi, 8
or esi, edx
or edi, eax
movzx eax, byte [ebx + 0x13]
shld esi, edi, 8
cdq
shl edi, 8
or esi, edx
or edi, eax
movzx eax, byte [ebx + 0x14]
shld esi, edi, 8
cdq
or esi, edx
shl edi, 8
or edi, eax
lea eax, [ebp - 0x74]
push esi
push edi
push eax
call fcn.0048c550
movzx ecx, byte [ebx + 0x15]
movzx eax, byte [ebx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x17]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x74]
push ecx
push esi
push edi
push eax
call fcn.0048c330
movzx eax, byte [ebx + 0x18]
lea esi, [ebx + 0x1a]
mov edi, dword [ebp - 0x7c]
add esp, 0x1c
shr al, 5
mov byte [ebp - 0x46], al
movzx eax, byte [ebx + 0x18]
shr al, 4
and al, 1
mov byte [ebp - 0x45], al
movzx eax, byte [ebx + 0x18]
and al, 0xf
movzx ecx, al
movzx eax, byte [ebx + 0x19]
shl cx, 8
or cx, ax
lea eax, [edi - 0x10]
movzx ecx, cx
mov dword [ebp - 0x9c], ecx
cmp ecx, eax
ja 0x48d186
lea edx, [ecx + ebx]
lea eax, [edx + 0x1a]
mov dword [ebp - 0x94], edx
cmp esi, eax
jae 0x48d083
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x90]
mov dword [ebp - 0x98], ecx
nop dword [eax]
movzx ebx, byte [esi + 1]
lea eax, [esi + 2]
add eax, ebx
cmp eax, ecx
ja 0x48d116
cmp byte [esi], 0x4d
jne 0x48cffe
mov byte [ebp - 0x30], 1
movzx eax, byte [esi + 2]
mov byte [ebp - 0x44], al
movzx eax, byte [esi + 3]
mov byte [ebp - 0x43], al
movzx eax, byte [esi + 4]
mov byte [ebp - 0x42], al
mov byte [ebp - 0x41], 0
movzx edi, byte [esi + 5]
lea eax, [edi + 4]
cmp eax, ebx
jbe 0x48cfb8
push str._rWarning:_Invalid_short_event_descriptor_size_detected._n
push 0
push pe_nt_image_headers32
call fcn.0048e990
add esp, 0xc
jmp 0x48cffe
lea eax, [esi + 6]
push edi
push eax
call fcn.0048d1f0
mov dword [ebp - 0x40], eax
add esp, 8
movzx ecx, byte [edi + esi + 6]
lea eax, [edi + 4]
add eax, ecx
cmp eax, ebx
jbe 0x48cfec
push str._rWarning:_Invalid_short_event_descriptor_size_detected._n
push 0
push pe_nt_image_headers32
call fcn.0048e990
add esp, 0xc
jmp 0x48cffe
lea eax, [esi + 7]
push ecx
add eax, edi
push eax
call fcn.0048d1f0
add esp, 8
mov dword [ebp - 0x3c], eax
cmp byte [esi], 0x4e
jne 0x48d018
lea eax, [ebp - 0x74]
push eax
movzx eax, byte [esi + 1]
push eax
lea eax, [esi + 2]
push eax
call fcn.0048d5d0
add esp, 0xc
cmp byte [esi], 0x54
jne 0x48d040
movzx ebx, byte [esi + 1]
lea edi, [esi + 2]
shr ebx, 1
jne 0x48d0e1
push str._rWarning:_Invalid_EIT_content_descriptor_length_detected._n
push 0
push pe_nt_image_headers32
call fcn.0048e990
add esp, 0xc
cmp byte [esi], 0x55
jne 0x48d05a
lea eax, [ebp - 0x74]
push eax
movzx eax, byte [esi + 1]
push eax
lea eax, [esi + 2]
push eax
call fcn.0048d740
add esp, 0xc
movzx eax, byte [esi + 1]
mov edx, dword [ebp - 0x94]
add eax, 2
mov ecx, dword [ebp - 0x98]
add esi, eax
lea eax, [edx + 0x1a]
cmp esi, eax
jb 0x48cf60
mov edi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x84]
lea ebx, [edx + 0xc]
mov eax, 0xfffffff4
sub eax, ecx
add edi, eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x7c], edi
call fcn.0048d4a0
mov edx, dword [ebp - 0x88]
add esp, 0xc
or edx, eax
mov dword [ebp - 0x88], edx
je 0x48d0d3
cmp byte [ebp - 0x75], 0
jne 0x48d0d3
cmp byte [ebp - 0x76], 0x4e
jne 0x48d0d3
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0xac]
mov eax, dword [ebp - 0x74]
mov dword [ecx + esi*4], eax
cmp edi, 4
ja 0x48ce45
jmp 0x48d1ad
push ebx
call fcn.004f6757
add esp, 4
mov dword [ebp - 0x24], eax
xor edx, edx
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x48d040
nop word [eax + eax]
mov cl, byte [edi]
lea edi, [edi + 2]
mov byte [eax + edx], cl
inc edx
cmp edx, ebx
jge 0x48d040
mov eax, dword [ebp - 0x24]
jmp 0x48d100
push str._rWarning:_Invalid_EIT_descriptor_loop_length_detected._n
push 0
push pe_nt_image_headers32
call fcn.0048e990
add esp, 0xc
cmp byte [ebp - 0x30], 0
je 0x48d143
push dword [ebp - 0x40]
call fcn.004f6752
push dword [ebp - 0x3c]
call fcn.004f6752
add esp, 8
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x48d153
push eax
call fcn.004f6752
add esp, 4
cmp dword [ebp - 0x28], 0
jbe 0x48d164
push dword [ebp - 0x2c]
call fcn.004f6752
add esp, 4
cmp dword [ebp - 0x20], 0
jbe 0x48d1d4
push dword [ebp - 0x24]
call fcn.004f6752
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f01b3
mov esp, ebp
pop ebp
ret
push str._rWarning:_Invalid_EIT_descriptors_loop_length_detected._n
push 0
push pe_nt_image_headers32
call fcn.0048e990
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f01b3
mov esp, ebp
pop ebp
ret
xor edx, edx
mov eax, dword [0x602430]
cmp eax, 1
je 0x48d1bc
cmp eax, 3
jne 0x48d1d4
cmp dword [0x602438], 0
jne 0x48d1d4
test edx, edx
je 0x48d1d4
push dword [ebp - 0x80]
call fcn.0048da90
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004f01b3
mov esp, ebp
pop ebp
ret