Function at 0x4ff830
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xfc], ecx
mov ebx, dword [ebp + 0x10]
test edi, edi
je 0x4ffc50
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
je 0x4ffc50
mov eax, dword [ebp - 0xfc]
mov ecx, edi
mov eax, dword [eax]
mov esi, dword [eax + 0xc4]
mov eax, dword [edi]
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 4], 0x6c7c69
mov dword [esp], edx
mov dword [esp + 8], eax
call esi
mov eax, dword [edi]
mov ecx, edi
sub esp, 0xc
call dword [eax + 0x18]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x28]
mov dword [esp], ebx
call fcn.005136e0
sub esp, 4
cmp eax, 0x19c
mov dword [ebp - 0x100], eax
je 0x500001
cmp dword [ebp - 0x100], 0x19b
mov dword [ebp - 0x104], 0
je 0x4ffda4
movzx eax, byte [ebp - 0x8c]
mov ecx, ebx
and byte [ebp - 0xe0], 0xc0
and byte [ebp - 0xea], 0xf0
and byte [ebp - 0xe8], 0xfe
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x8c], al
movzx eax, word [ebp - 0xc6]
and byte [ebp - 0x90], 0x80
or byte [ebp - 0x88], 0xf
and word [ebp - 0xde], 0xfe3f
and ax, 0xf80f
or ax, 0x3f0
and word [ebp - 0xe0], 0xc03f
and byte [ebp - 0xdb], 0x80
and byte [ebp - 0xd8], 0x80
mov dword [ebp - 0xf0], 0x6f2308
mov byte [ebp - 0xec], 0
mov byte [ebp - 0xeb], 1
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov byte [ebp - 0x94], 0
mov byte [ebp - 0x93], 0
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xdc], 0
mov dword [ebp - 0xd4], 0xffffffff
mov dword [ebp - 0xd0], 0xffffffff
mov word [ebp - 0xc6], ax
movzx eax, byte [ebp - 0xc8]
movzx edx, word [ebp - 0xb2]
or byte [ebp - 0xbc], 0x7f
or dword [ebp - 0xc4], 0x7fff8000
and eax, 0xfffffff8
or eax, 4
or dx, 0x1fe0
mov byte [ebp - 0xc8], al
mov eax, dword [ebp - 0xc0]
mov word [ebp - 0xb2], dx
shr dx, 8
or word [ebp - 0xbc], 0x780
or edx, 0xffffffe0
or dword [ebp - 0xb8], 0x1ff80
or eax, 0x7f8000
mov dword [ebp - 0xc0], eax
shr eax, 0x18
or eax, 0xffffff80
or word [ebp - 0xb4], 0x1ff8
and byte [ebp - 0xad], 0x1f
and byte [ebp - 0xac], 0xe0
and dword [ebp - 0xe0], 0xffc03fff
or word [ebp - 0xcc], 0xfff
mov byte [ebp - 0xbd], al
mov byte [ebp - 0xb1], dl
mov byte [ebp - 0xb0], 0xff
mov eax, dword [ebx]
mov byte [ebp - 0xab], 0
mov byte [ebp - 0xaa], 0
mov byte [ebp - 0xa9], 0
mov dword [ebp - 0xa8], 0xfffff800
call dword [eax + 0x6c]
test al, al
jne 0x4ffc60
movzx eax, byte [ebx + 4]
mov byte [ebp - 0xec], al
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0xa8], eax
movzx eax, byte [ebx + 5]
mov byte [ebp - 0xeb], al
movzx eax, byte [ebp - 0xea]
movzx edx, byte [ebx + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0xea], al
movzx eax, byte [ebp - 0xe8]
movzx edx, byte [ebx + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ebp - 0xe8], al
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x4ffbc5
mov edx, dword [eax + 0x80]
test edx, edx
je 0x4ffe38
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
test al, al
jne 0x4fffe0
cmp dword [ebp - 0x100], 0x19b
mov ecx, edi
mov eax, dword [edi]
je 0x4ffdb5
call dword [eax]
mov ecx, edi
mov esi, eax
mov eax, dword [edi]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
call fcn.004f2d70
sub esp, 0x14
mov esi, eax
test esi, esi
je 0x4ffc43
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
test al, al
jne 0x4ffde7
cmp dword [ebp - 0x100], 0x19b
je 0x4ffde7
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 8], 0
lea ecx, [ebp - 0x84]
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.005b43c0
movzx eax, byte [ebp - 0x80]
mov byte [ebp - 0xec], al
mov eax, dword [ebp - 0x28]
sub esp, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp - 0x7e]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x44]
and edx, 0xf
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xa8], eax
movzx eax, byte [ebp - 0x7f]
mov byte [ebp - 0xeb], al
movzx eax, byte [ebp - 0xea]
and eax, 0xfffffff0
or eax, edx
movzx edx, byte [ebp - 0x7c]
mov byte [ebp - 0xea], al
movzx eax, byte [ebp - 0xe8]
and edx, 1
and eax, 0xfffffffe
or eax, edx
mov byte [ebp - 0xe8], al
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x98], eax
jmp 0x4ffbad
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 4]
mov dword [ebp - 0x104], eax
jmp 0x4ff8dd
call dword [eax]
mov esi, dword [ebp - 0x104]
mov edx, dword [esi]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0xfc]
mov dword [esp], edi
call fcn.004ff610
sub esp, 0x10
mov esi, eax
jmp 0x4ffc20
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], 0x19b
mov dword [esp + 0x18], eax
call fcn.0051ab70
sub esp, 0x1c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov ecx, eax
mov eax, dword [eax]
call dword [eax + 0xac]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
sar edx, 2
cmp edx, 1
je 0x4ffbc5
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
call dword [eax + 0xac]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
mov dword [ebp - 0x10c], eax
je 0x4fff80
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x108], eax
jmp 0x4fff06
cmp dword [ebp - 0x100], 0x19b
je 0x4fff48
call dword [eax]
mov ecx, dword [esi]
mov dword [ebp - 0x110], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0x110]
mov ecx, dword [ebp - 0xfc]
mov dword [esp + 0x10], 1
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
call fcn.004f2d70
sub esp, 0x14
test eax, eax
je 0x4ffc50
mov dword [esi], eax
mov eax, dword [ebp - 0x10c]
add esi, 4
add dword [ebp - 0x104], 1
add dword [ebp - 0x108], 0x14
cmp esi, dword [eax + 8]
je 0x4fff80
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
mov ecx, edi
test al, al
mov eax, dword [edi]
je 0x4ffe90
call dword [eax]
mov edx, dword [esi]
mov ecx, dword [ebp - 0xfc]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [esp + 8], eax
lea eax, [ebp - 0xf0]
mov dword [esp + 4], eax
call fcn.004ff610
sub esp, 0x10
jmp 0x4ffee0
call dword [eax]
mov edx, dword [ebp - 0x108]
mov ecx, dword [edx]
mov edx, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0xfc]
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.004ff610
sub esp, 0x10
jmp 0x4ffee0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x114]
mov dword [esp], eax
call fcn.0051ab70
sub esp, 0x1c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xf0]
mov dword [esp + 4], eax
jmp 0x4ffdcf
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x19c
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x114]
mov dword [esp], eax
call fcn.0051ab70
sub esp, 0x1c
jmp 0x4ffc52