Function at 0x4ced30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov edi, dword [ebp + 8]
mov dword [ebp - 0x98], ecx
mov ebx, dword [edi + 0x4c]
test ebx, ebx
je 0x4cedb0
lea eax, [ebp - 0x84]
mov ecx, eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
mov dword [ebp - 0x9c], eax
call fcn.005b43c0
mov eax, dword [edi + 0x4c]
sub esp, 0xc
test eax, eax
jne 0x4cf220
mov eax, dword [4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov dword [esp], eax
call fcn.004ced30
imul eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [edi + 0x50]
test eax, eax
je 0x4cf260
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
cmp edx, 0x13
jle 0x4cf322
lea eax, [ebp - 0x84]
xor esi, esi
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], eax
jmp 0x4cef55
lea edx, [eax - 0xd]
cmp dl, 1
jbe 0x4cf110
mov byte [ebp - 0x80], al
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x3c], eax
movzx eax, byte [edi + 5]
mov ebx, eax
shl ebx, 4
mov byte [ebp - 0x8c], bl
sar al, 4
sar byte [ebp - 0x8c], 4
movzx ebx, byte [ebp - 0x8c]
mov byte [ebp - 0x92], al
shl eax, 4
and ebx, 0xf
mov byte [ebp - 0x90], bl
or byte [ebp - 0x90], al
movzx eax, byte [ebp - 0x90]
mov byte [ebp - 0x7f], al
movzx eax, byte [ebp - 0x7e]
movzx ecx, byte [edi + 6]
and eax, 0xfffffff0
and ecx, 0xf
or eax, ecx
mov byte [ebp - 0x7e], al
movzx edx, byte [edi + 8]
mov byte [ebp - 0x91], dl
movzx edx, byte [ebp - 0x7c]
and byte [ebp - 0x91], 1
and edx, 0xfffffffe
or dl, byte [ebp - 0x91]
mov byte [ebp - 0x7c], dl
mov ebx, dword [edi + 0x4c]
mov dword [ebp - 0x38], ebx
mov ebx, dword [edi + 0x50]
mov dword [ebp - 0x34], ebx
mov ebx, dword [edi + 0x54]
mov dword [ebp - 0x30], ebx
mov ebx, dword [edi + 0x58]
mov dword [ebp - 0x2c], ebx
cmp byte [ebp - 0x92], 0
jle 0x4cf060
and eax, 0xfffffff0
cmp cl, 1
mov byte [ebp - 0x7f], cl
mov byte [ebp - 0x7e], al
je 0x4cf202
mov eax, dword [ebp - 0x9c]
add esi, 1
mov ecx, dword [ebp - 0x98]
mov dword [esp], eax
call fcn.004cf3a0
mov edx, dword [edi + 0x50]
add dword [ebp - 0xa0], eax
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sub esp, 4
sar eax, 2
imul eax, eax, 0xcccccccd
cmp esi, eax
jge 0x4cf210
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x84], 0x6f2308
call dword [eax + 0x6c]
test al, al
movzx eax, byte [edi + 4]
je 0x4cede7
mov byte [ebp - 0x80], al
mov eax, dword [edi + 0x5c]
mov ecx, edi
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x3c], eax
movzx eax, byte [edi + 5]
mov byte [ebp - 0x7f], al
movzx eax, byte [ebp - 0x7e]
movzx edx, byte [edi + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0x7e], al
movzx eax, byte [ebp - 0x7c]
movzx edx, byte [edi + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ebp - 0x7c], al
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
call dword [eax + 0x54]
mov edx, dword [eax + 4]
test edx, edx
je 0x4cf088
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 3
cmp eax, 1
jne 0x4cf088
mov dword [ebp - 0x38], 0
jmp 0x4cef1b
cmp byte [ebp - 0x8c], 1
jle 0x4cf291
movzx ebx, byte [ebp - 0x90]
and edx, 0xfffffffe
mov byte [ebp - 0x7c], dl
and ebx, 0xfffffff0
or ebx, 1
mov byte [ebp - 0x7f], bl
jmp 0x4cef1b
call fcn.004cb890
mov dword [esp], 0xc
mov ecx, eax
call fcn.004cba30
mov dword [eax + 4], 0
mov ebx, eax
sub esp, 4
mov dword [eax], 0x6f1f98
mov dword [eax + 8], 1
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x4cef1b
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
cmp edx, 0xf
jle 0x4cef1b
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4cf329
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 4]
mov byte [esp + 0xc], 0
mov dword [esp + 8], edx
add eax, 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0062cbe0
sub esp, 0x10
jmp 0x4cef1b
mov edx, dword [edi + 0x50]
lea eax, [esi + esi*4]
mov ecx, dword [edx + 4]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
movzx edx, byte [eax + 4]
mov byte [ebp - 0x80], dl
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x64]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x68]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x74], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x3c], edx
movzx edx, byte [ebp - 0x7f]
movzx ecx, byte [eax + 5]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx ecx, byte [eax + 5]
and edx, 0xf
and ecx, 0xfffffff0
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx edx, byte [ebp - 0x7e]
movzx ecx, byte [eax + 6]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7e], dl
movzx edx, byte [ebp - 0x7c]
movzx ecx, byte [eax + 8]
and edx, 0xfffffffe
and ecx, 1
or edx, ecx
mov byte [ebp - 0x7c], dl
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jmp 0x4cef1b
or edx, 1
mov byte [ebp - 0x7c], dl
jmp 0x4cef1b
mov eax, dword [ebp - 0xa0]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
test ebx, ebx
jne 0x4ced8a
movzx eax, byte [edi + 0x10]
and eax, 0x3f
cmp al, 6
je 0x4ced8a
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov dword [esp], eax
call fcn.004ced30
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
movzx edx, byte [edi + 5]
mov eax, edx
shl eax, 4
sar al, 4
cmp al, 1
jle 0x4cf2a3
mov esi, dword [ebp - 0x98]
mov edx, dword [esi + 4]
test edx, edx
je 0x4cf2f7
cmp byte [edi + 4], 2
je 0x4cf37f
mov eax, 1
jmp 0x4ceda4
cmp byte [ebp - 0x91], 0
jne 0x4cf06d
jmp 0x4cef1b
test byte [edi + 8], 1
jne 0x4cf270
and edx, 0xf0
je 0x4cf287
lea esi, [ebp - 0x84]
mov ecx, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.005b43c0
movzx eax, byte [edi + 5]
mov ecx, dword [ebp - 0x98]
sar al, 4
movsx ebx, al
sub esp, 0xc
mov dword [esp], esi
call fcn.004ced30
sub esp, 4
imul eax, ebx
jmp 0x4ceda4
movzx ecx, byte [edi + 0x10]
and ecx, 0x3f
sub ecx, 3
cmp ecx, 0x10
ja 0x4cf27d
mov edx, 1
shl edx, cl
and edx, 0x1c601
je 0x4cf27d
jmp 0x4cf287
xor eax, eax
jmp 0x4ceda4
lea esi, [esi]
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov dword [ebp - 0x90], eax
call fcn.004cb890
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 0xc], 0
mov dword [ebx + 4], ecx
mov eax, dword [eax + 4]
jmp 0x4cf0e5
cmp al, 2
jle 0x4cf287
mov eax, 2
jmp 0x4ceda4