Function at 0x4f8410
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ax, word [edi + 4]
mov word [ecx + 4], ax
mov dx, word [edi + 6]
mov word [ecx + 6], dx
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov edx, dword [edi + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [ecx + 0x18]
mov eax, dword [edi + 0x14]
lea esi, [ecx + 0x10]
and edx, 0x7fffffff
cmp eax, edx
mov dword [esp + 0x10], ecx
jle 0x4f8527
mov eax, dword [esi + 4]
test eax, eax
mov ebx, dword [esi]
jle 0x4f8472
mov ebp, eax
jmp 0x4f8460
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax]
add ebx, 0x30
dec ebp
jne 0x4f8460
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov ebx, dword [edi + 0x14]
and eax, 0x7fffffff
cmp eax, ebx
jge 0x4f8499
add eax, eax
cmp ebx, eax
jl 0x4f8489
mov eax, ebx
push 0x30
push eax
push esi
call fcn.0054d250
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 4], ebx
mov eax, dword [edi + 0x14]
mov esi, dword [esi]
xor edx, edx
test eax, eax
jle 0x4f851d
mov ebx, 0xffffffe8
lea eax, [esi + 0x18]
sub ebx, esi
mov esi, 0x65a974
lea ebp, [eax - 0x18]
test ebp, ebp
je 0x4f8512
mov ebp, dword [edi + 0x10]
mov dword [eax - 0x18], 0x6493b0
lea ecx, [ebx + eax]
add ecx, ebp
mov bp, word [ecx + 4]
mov word [eax - 0x14], bp
mov bp, word [ecx + 6]
mov word [eax - 0x12], bp
mov dword [eax - 0x18], esi
mov ebp, dword [ecx + 0x10]
mov dword [eax - 8], ebp
mov ebp, dword [ecx + 0x14]
mov dword [eax - 4], ebp
mov ebp, dword [ecx + 0x18]
mov dword [eax], ebp
mov ebp, dword [ecx + 0x1c]
mov dword [eax + 4], ebp
mov ebp, dword [ecx + 0x20]
mov dword [eax + 8], ebp
mov ebp, dword [ecx + 0x24]
mov dword [eax + 0xc], ebp
mov ebp, dword [ecx + 0x28]
mov dword [eax + 0x10], ebp
mov ecx, dword [ecx + 0x2c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov ebp, dword [edi + 0x14]
inc edx
add eax, 0x30
cmp edx, ebp
jl 0x4f84b6
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
pop ecx
ret 4
mov ebx, dword [esi + 4]
cmp eax, ebx
jle 0x4f8632
xor edx, edx
test ebx, ebx
jle 0x4f859a
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [edi + 0x10]
mov bp, word [eax + ebx + 4]
mov ecx, dword [esi]
add eax, ebx
mov word [ecx + ebx + 4], bp
mov bp, word [eax + 6]
add ecx, ebx
mov word [ecx + 6], bp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x10], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x14], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x18], ebp
mov ebp, dword [eax + 0x1c]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [eax + 0x20]
mov dword [ecx + 0x20], ebp
mov ebp, dword [eax + 0x24]
mov dword [ecx + 0x24], ebp
mov ebp, dword [eax + 0x28]
mov dword [ecx + 0x28], ebp
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 4]
inc edx
add ebx, 0x30
cmp edx, eax
jl 0x4f8540
mov ecx, dword [esp + 0x10]
cmp edx, dword [edi + 0x14]
mov esi, dword [esi]
jge 0x4f851d
lea eax, [edx + edx*2]
shl eax, 4
mov ebx, 0xffffffe8
lea eax, [eax + esi + 0x18]
sub ebx, esi
mov esi, 0x65a974
jmp 0x4f85c0
lea ebp, [eax - 0x18]
test ebp, ebp
je 0x4f861d
mov ecx, dword [edi + 0x10]
mov dword [eax - 0x18], 0x6493b0
add ecx, ebx
mov bp, word [ecx + eax + 4]
mov word [eax - 0x14], bp
mov bp, word [ecx + eax + 6]
add ecx, eax
mov word [eax - 0x12], bp
mov dword [eax - 0x18], esi
mov ebp, dword [ecx + 0x10]
mov dword [eax - 8], ebp
mov ebp, dword [ecx + 0x14]
mov dword [eax - 4], ebp
mov ebp, dword [ecx + 0x18]
mov dword [eax], ebp
mov ebp, dword [ecx + 0x1c]
mov dword [eax + 4], ebp
mov ebp, dword [ecx + 0x20]
mov dword [eax + 8], ebp
mov ebp, dword [ecx + 0x24]
mov dword [eax + 0xc], ebp
mov ebp, dword [ecx + 0x28]
mov dword [eax + 0x10], ebp
mov ecx, dword [ecx + 0x2c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov ebp, dword [edi + 0x14]
inc edx
add eax, 0x30
cmp edx, ebp
jl 0x4f85c0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
pop ecx
ret 4
xor ebx, ebx
test eax, eax
jle 0x4f869a
xor edx, edx
lea ebx, [ebx]
mov eax, dword [edi + 0x10]
mov bp, word [eax + edx + 4]
mov ecx, dword [esi]
add eax, edx
mov word [ecx + edx + 4], bp
mov bp, word [eax + 6]
add ecx, edx
mov word [ecx + 6], bp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x10], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x14], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x18], ebp
mov ebp, dword [eax + 0x1c]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [eax + 0x20]
mov dword [ecx + 0x20], ebp
mov ebp, dword [eax + 0x24]
mov dword [ecx + 0x24], ebp
mov ebp, dword [eax + 0x28]
mov dword [ecx + 0x28], ebp
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x14]
inc ebx
add edx, 0x30
cmp ebx, eax
jl 0x4f8640
mov ecx, dword [esp + 0x10]
cmp ebx, dword [esi + 4]
jge 0x4f851d
lea edi, [ebx + ebx*2]
shl edi, 4
lea esp, [esp]
mov ecx, dword [esi]
mov edx, dword [ecx + edi]
add ecx, edi
push 0
call dword [edx]
mov eax, dword [esi + 4]
inc ebx
add edi, 0x30
cmp ebx, eax
jl 0x4f86b0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4