Function at 0x4c7720
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
lea edi, [ebp - 0x1c]
mov ecx, esi
mov esi, dword [ebp - 0x28]
push edi
call ebx
mov ecx, esi
push edi
call fcn.005ab110
cmp byte [edi + 0xb], 0
jns 0x4c776a
push dword [ebp - 0x1c]
call fcn.00503da5
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov dword [esi + 0x28], edx
mov dword [esi + 0x24], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
xor ecx, ecx
dec ecx
push ecx
push edx
push eax
call fcn.005aa3b0
add esp, 0xc
mov dword [esi + 0x2c], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
lea ecx, [esi + 0x34]
push edx
push eax
push ecx
call fcn.005acfb0
add esp, 0xc
lea eax, [ebp - 0x1e]
xor ecx, ecx
dec ecx
mov dword [eax - 2], ecx
mov dword [eax - 6], ecx
mov eax, dword [edi]
mov ebx, dword [eax + 0x14]
mov ecx, ebx
call dword [section..00cfg]
lea edi, [ebp - 0x24]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x22]
push eax
push edi
call ebx
movzx eax, word [edi + 6]
movzx ecx, word [edi + 2]
mov edx, dword [edi]
shl edx, 0x10
or edx, ecx
mov ecx, dword [edi + 4]
mov dword [esi + 0x44], edx
shl ecx, 0x10
or ecx, eax
mov dword [esi + 0x48], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x22]
push eax
push edi
call ebx
movzx eax, word [edi + 2]
mov ecx, dword [edi]
shl ecx, 0x10
or ecx, eax
movzx eax, word [edi + 6]
mov edx, dword [edi + 4]
mov edi, dword [ebp + 8]
mov dword [esi + 0x4c], ecx
shl edx, 0x10
or edx, eax
mov dword [esi + 0x50], edx
mov eax, dword [edi]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
lea ecx, [eax - 2]
cmp ecx, 2
jae 0x4c7872
mov eax, 2
jmp 0x4c787e
cmp eax, 1
jne 0x4c787c
xor eax, eax
inc eax
jmp 0x4c787e
xor eax, eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], 0
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
lea eax, [ebp - 0x1c]
push eax
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x4c792c
push 0x30
call fcn.00503d75
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.005a9c70
mov dword [ebx], 0x5da770
lea ecx, [ebx + 0x24]
xor eax, eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00439420
mov edi, dword [esi + 0x94]
mov dword [esi + 0x94], ebx
test edi, edi
je 0x4c7905
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 1
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c7918
mov dword [ebp - 0x18], eax
push eax
call fcn.00503da5
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x4c
call fcn.00503d75
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.005a9c70
xorps xmm0, xmm0
movups xmmword [ebx + 0x28], xmm0
xor eax, eax
mov dword [ebx + 0x39], eax
mov dword [ebx + 0x35], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x24], 0x53445352
mov dword [ebx], 0x5da800
mov ecx, ebx
push edi
call fcn.005aaf50
jmp 0x4c78e3