Function at 0x5cd9fc
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x68f188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x28], ebx
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x3c]
mov dword [ebx], 0x7dca48
lea eax, [ecx - 1]
cdq
and edx, 0xff
add eax, edx
lea edx, [esi + esi*2]
mov edi, eax
mov eax, dword [esp + 0x40]
sar edi, 8
lea eax, [ecx + eax*2]
inc edi
mov ecx, eax
shl ecx, 3
sub ecx, eax
mov eax, edi
add eax, ecx
lea ecx, [eax + edx*2]
shl ecx, 1
push ecx
call fcn.005c298f
mov edx, dword [esp + 0x58]
lea ecx, [esi + esi*2]
shl ecx, 2
mov ebp, eax
mov dword [ebx + 0x14], eax
mov dword [esp + 0x2c], ecx
add eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [ebx + 0x58], edx
mov edx, dword [esp + 0x44]
mov dword [ebx + 0x24], eax
shl ecx, 3
sub ecx, edx
mov edx, dword [esp + 0x48]
shl ecx, 2
mov dword [esp + 0x28], ecx
add eax, ecx
lea ecx, [edx*8]
mov dword [ebx + 0x28], eax
add eax, ecx
mov dword [ebx + 8], esi
mov esi, dword [esp + 0x54]
mov dword [ebx + 0x10], ebp
lea edi, [eax + edi*2]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
xor edi, edi
mov dword [ebx + 0xc], edx
mov di, word [esi + 6]
add esp, 4
cmp edx, 0x100
mov dword [ebx + 0x54], edi
jle 0x5cdc32
mov ecx, dword [esp + 0x40]
or eax, 0xffffffff
mov edi, ebp
mov dword [ebx + 0x20], 0
rep stosd dword es:[edi], eax
xor eax, eax
cmp edx, eax
mov dword [esp + 0x20], eax
jle 0x5cdc95
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], esi
lea esi, [eax + 0x100]
mov ecx, esi
cmp esi, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
jle 0x5cdb18
mov ecx, edx
mov dword [esp + 0x18], ecx
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x14], eax
jge 0x5cdbf5
mov esi, dword [esp + 0x3c]
lea edx, [eax*8]
mov dword [esp + 0x10], 3
jmp 0x5cdb58
mov edi, dword [esp + 0x40]
lea edx, [eax*8]
mov dword [esp + 0x10], 3
jmp 0x5cdb58
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
xor eax, eax
mov ax, word [ecx + edx]
mov ecx, dword [ebp + eax*4]
test ecx, ecx
jge 0x5cdb75
mov dword [ebp + eax*4], edi
mov ecx, edi
inc edi
mov dword [esp + 0x40], edi
mov edi, dword [ebx + 0x1c]
add esi, 2
add edx, 2
mov word [esi + edi - 2], cx
mov ecx, dword [ebx + 0x28]
mov word [edx + ecx - 2], ax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x5cdb54
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5cdb3f
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
cmp eax, ecx
jge 0x5cdbf5
mov esi, dword [esp + 0x54]
sub ecx, eax
mov dword [esp + 0x40], ecx
mov eax, esi
mov ecx, 3
xor edx, edx
mov dx, word [eax]
add eax, 2
dec ecx
mov dword [ebp + edx*4], 0xffffffff
jne 0x5cdbcc
mov eax, dword [esp + 0x40]
add esi, 8
dec eax
mov dword [esp + 0x40], eax
jne 0x5cdbc5
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
mov word [ecx + eax*2], di
mov eax, dword [ebx + 0x20]
mov edi, dword [esp + 0x3c]
inc eax
mov dword [ebx + 0x20], eax
mov eax, esi
mov esi, dword [esp + 0x54]
add edi, 0x600
add esi, 0x800
cmp eax, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], esi
jl 0x5cdafe
jmp 0x5cdc95
mov dx, word [esp + 0x40]
mov dword [ebx + 0x20], 1
mov word [eax], dx
mov edi, dword [ebx + 0x28]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xc]
xor esi, esi
test eax, eax
jle 0x5cdc95
mov edx, dword [esp + 0x50]
xor ecx, ecx
lea eax, [edx + 4]
mov edx, dword [ebx + 0x1c]
mov di, word [eax - 4]
inc esi
add eax, 8
mov word [ecx + edx], di
mov edx, dword [ebx + 0x1c]
mov di, word [eax - 0xa]
mov word [ecx + edx + 2], di
mov edx, dword [ebx + 0x1c]
mov di, word [eax - 8]
mov word [ecx + edx + 4], di
mov edx, dword [ebx + 0xc]
add ecx, 6
cmp esi, edx
jl 0x5cdc64
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
mov edi, dword [ebx + 0x24]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x58]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
mov edi, dword [ebx + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [ebx + 0x50], eax
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 0x20