Function at 0x4f4edc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
cmp dword [ebp + 0x14], 0
jne 0x4f4f16
cmp dword [ebp + 0x10], 0
jne 0x4f4f16
mov eax, dword [ebx + 0x10]
movzx edx, word [eax + 0xe]
jmp 0x4f4f19
or edx, 0xffffffff
push edx
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0xa]
add eax, ecx
push eax
xor eax, eax
mov al, byte [ecx + 9]
push eax
mov edx, dword [ecx]
push edx
mov ecx, dword [ebx + 4]
push ecx
call fcn.005083ec
add esp, 0x20
mov esi, eax
test esi, esi
jne 0x4f5303
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x4f52b1
xor edx, edx
cmp esi, 0x13
mov dword [ebp - 0x1c], edx
je 0x4f4f96
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x10]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x4f4f96
movzx ecx, word [eax + 0xa]
add ecx, eax
push ecx
movzx eax, byte [eax + 9]
push eax
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [edx + 7]
add ecx, dword [ebp - 0xc]
push ecx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [eax + 6]
push edx
call fcn.0050c020
add esp, 0x10
test eax, eax
je 0x4f4fb7
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov edx, dword [ebx + 0x10]
push edx
push ebx
call fcn.004f5a6c
add esp, 0x14
mov esi, eax
test esi, esi
jne 0x4f5303
cmp dword [ebp + 0x14], 0
jne 0x4f5094
cmp dword [ebp + 0x10], 0
jne 0x4f5094
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x4f4fdf
test esi, esi
jl 0x4f4fdf
cmp esi, 0x10
jl 0x4f4fe3
xor eax, eax
jmp 0x4f5005
mov edx, esi
shl edx, 4
cmp dword [edi + edx + 0x3c], 0
jne 0x4f4ffe
push 0x69434c
call fcn.004adfc8
pop ecx
xor eax, eax
jmp 0x4f5005
shl esi, 4
mov eax, dword [edi + esi + 0x34]
mov edi, eax
mov edx, dword [ebx + 8]
mov dword [ebp - 4], edx
mov esi, dword [ebx + 0x10]
movzx edx, word [edi + 0x14]
movzx ecx, word [esi + 4]
add edx, ecx
add edx, 8
mov eax, dword [edi + 0x18]
cmp edx, eax
je 0x4f50dc
mov dword [ebp - 0x1c], 1
movzx edx, word [esi + 4]
add edx, esi
add eax, edi
sub eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.00613cd0
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4f5059
mov esi, 3
jmp 0x4f5303
mov eax, dword [ebp - 0x24]
push eax
movzx edx, word [esi + 4]
add edx, esi
push edx
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00614680
movzx eax, word [esi + 4]
movzx edx, word [esi + 0x20]
sub eax, edx
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x22c]
sub edx, dword [edi + 0x18]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
jmp 0x4f50dc
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x4f50a8
test esi, esi
jl 0x4f50a8
cmp esi, 0x10
jl 0x4f50ac
xor ecx, ecx
jmp 0x4f50ce
mov eax, esi
shl eax, 4
cmp dword [edi + eax + 0x3c], 0
jne 0x4f50c7
push 0x69437a
call fcn.004adfc8
pop ecx
xor ecx, ecx
jmp 0x4f50ce
shl esi, 4
mov ecx, dword [edi + esi + 0x34]
mov edi, ecx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 4], eax
movzx esi, word [edi + 0x14]
add esi, edi
cmp dword [ebp - 0x1c], 0
jne 0x4f5114
movzx eax, word [esi + 0x20]
add eax, 7
and eax, 0xfffffff8
mov word [esi + 4], ax
movzx edx, word [edi + 0x14]
movzx ecx, ax
add edx, ecx
mov dword [edi + 0x18], edx
mov eax, dword [ebx + 4]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x22c]
sub ecx, dword [edi + 0x18]
sub ecx, 8
sub ecx, 8
mov dword [ebp - 0x10], ecx
movzx eax, word [esi + 0x20]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
push ecx
mov edx, dword [ebp - 0x10]
add eax, esi
push edx
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.004f5338
add esp, 0x18
cmp dword [ebp - 0x1c], 0
je 0x4f5185
movzx eax, word [esi + 0x20]
add eax, dword [ebp - 0x14]
add eax, 7
and eax, 0xfffffff8
mov word [esi + 4], ax
movzx eax, ax
mov edx, dword [ebp - 0x24]
add eax, esi
push edx
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call fcn.00614680
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, 7
and eax, 0xfffffff8
sub eax, dword [ebp - 0x28]
test eax, eax
je 0x4f51a1
add dword [edi + 0x18], eax
push eax
push esi
push edi
mov edx, dword [ebx + 4]
push edx
call fcn.00507d88
add esp, 0x10
jmp 0x4f51a1
mov word [esi + 0xe], 0
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x18], 0
mov eax, dword [ebp - 0x14]
add eax, 7
and eax, 0xfffffff8
add word [esi + 4], ax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0xc], ecx
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp + 0x10]
adc edx, dword [ebp + 0x14]
sub eax, 1
sbb edx, 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
xor edx, edx
mov eax, dword [ebp - 0x18]
add dword [ebp + 0x10], eax
adc dword [ebp + 0x14], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
shl ecx, 4
mov eax, dword [ebx + 4]
mov edx, dword [edx + 0x10]
mov dword [eax + ecx + 0x38], edx
cmp dword [ebp - 0x1c], 0
jne 0x4f5261
mov word [edi + 0x28], 1
mov eax, dword [ebp - 0x14]
add eax, 7
and eax, 0xfffffff8
add dword [edi + 0x18], eax
mov ecx, dword [edi + 0x18]
mov dword [edi + ecx], 0xffffffff
mov eax, dword [edi + 0x18]
xor edx, edx
mov dword [edi + eax + 4], edx
add dword [edi + 0x18], 8
mov ecx, dword [ebp - 0xc]
mov ax, word [ecx + 0x16]
mov word [edi + 0x10], ax
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 4]
cmp dword [ecx + 0x23c], 3
jae 0x4f5252
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
cmp dword [eax + 0x23c], 3
jne 0x4f5261
cmp dword [eax + 0x240], 0
je 0x4f5261
mov word [edi + 0x2a], 0
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x10]
mov dword [edi + 0x2c], ecx
push edi
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebx + 4]
push eax
mov eax, dword [eax + 4]
push eax
call fcn.004e9780
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x4f5303
push 0
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebx + 4]
push edx
call fcn.0050a814
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
mov eax, dword [ebx + 4]
push eax
call fcn.0050853c
add esp, 8
mov esi, eax
cmp dword [ebp + 0xc], 0
jne 0x4f4f53
cmp esi, 0x13
jne 0x4f52df
xor esi, esi
mov eax, dword [ebx + 4]
mov edx, dword [eax + 8]
cmp byte [edx + 8], 1
jne 0x4f5303
push 0
push 0
push 0x20
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [eax + 0xc]
push edx
push eax
call fcn.0050a3d8
add esp, 0x18
mov esi, eax
jmp 0x4f5303
push 0
mov eax, dword [ebx + 0x10]
movzx edx, word [eax + 0xa]
add edx, eax
push edx
xor ecx, ecx
mov cl, byte [eax + 9]
push ecx
mov eax, dword [eax]
push eax
mov edx, dword [ebp - 0xc]
push edx
push ebx
call fcn.004f558c
add esp, 0x18
mov esi, eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00613cc0
pop ecx
test esi, esi
jne 0x4f5327
and dword [ebx + 0x2c], 0xfffffdff
test byte [ebx + 0x2c], 4
jne 0x4f532e
mov edx, dword [ebx + 4]
or dword [edx + 0x18], 8
jmp 0x4f532e
or dword [ebx + 0x2c], 0x200
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret