Function at 0x569eb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call fcn.004ea920
mov ecx, dword [ebx]
add esp, 4
mov esi, ecx
mov edi, eax
dec esi
mov dword [ebp - 8], edi
neg esi
sbb esi, esi
and esi, 0xffffff9c
add esi, 0x64
add esi, edi
mov al, byte [esi]
cmp al, 0xa
mov byte [ebx + 0x10], al
je 0x569f07
cmp al, 0xd
je 0x569f07
cmp al, 5
je 0x569ef7
cmp al, 2
jne 0x56a21b
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xc
jmp 0x569f15
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 8
cmp ecx, 1
jne 0x569f1e
add dword [ebp - 4], 0x64
mov edx, dword [ebp + 8]
xor ecx, ecx
mov ch, byte [esi + 3]
push edx
mov cl, byte [esi + 4]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x14], ecx
call fcn.004ec680
mov ecx, dword [ebx + 0x14]
xor edx, edx
mov dh, byte [esi + 5]
mov dword [ebp - 0x14], eax
mov dl, byte [esi + 6]
xor eax, eax
mov al, byte [esi + 7]
add esp, 4
add edx, eax
mov eax, dword [ebp - 4]
shl ecx, 1
sub edx, ecx
sub edx, eax
xor eax, eax
mov ah, byte [esi + 1]
mov al, byte [esi + 2]
test eax, eax
je 0x569f9a
cmp eax, dword [ebp - 0x14]
jge 0x56a21b
xor ecx, ecx
mov ch, byte [eax + edi + 2]
mov cl, byte [eax + edi + 3]
add eax, 4
add edx, ecx
xor ecx, ecx
mov ch, byte [eax + edi - 4]
mov cl, byte [eax + edi - 3]
cmp ecx, eax
jge 0x569f94
test ecx, ecx
jg 0x56a21b
test ecx, ecx
mov eax, ecx
jne 0x569f66
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x18], edx
test eax, eax
je 0x569fa8
xor eax, eax
jmp 0x569fb4
add esi, 8
push esi
call fcn.004ea350
add esp, 4
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x56a228
mov esi, dword [ebp + 8]
push esi
call fcn.004e8070
push esi
call fcn.004f2750
mov ecx, dword [ebp - 0x14]
push esi
sub ecx, eax
mov dword [ebp - 0x1c], ecx
call fcn.004e81d0
mov eax, dword [ebx + 0x14]
push 0
inc eax
lea edx, [eax + eax*2]
shl edx, 3
push edx
call fcn.004e1d50
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [ebx + 0x1c], edi
jne 0x56a009
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x14]
xor esi, esi
inc eax
mov dword [ebp - 0x24], esi
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [ebx + 0x14], esi
jle 0x56a228
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx + 0x1c]
xor edx, edx
mov dl, byte [eax + 1]
add esi, ecx
mov dh, byte [eax]
mov eax, dword [ebp - 4]
mov edi, edx
cmp edi, eax
jl 0x56a21b
cmp edi, dword [ebp - 0x14]
jge 0x56a21b
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x56a07d
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
push ecx
call fcn.004ea350
add esp, 4
mov dword [esi + 4], eax
add edi, 4
cmp byte [ebx + 0x10], 5
je 0x56a1eb
mov edx, dword [ebp - 8]
mov al, byte [edi + edx]
lea ecx, [edi + edx]
cmp al, 0x80
jae 0x56a0a3
and eax, 0xff
mov ecx, 1
mov dword [ebp - 0xc], eax
jmp 0x56a0ba
lea eax, [ebp - 0xc]
push eax
push ecx
call fcn.004fed80
add esp, 8
and eax, 0xff
mov ecx, eax
mov eax, dword [ebp - 0xc]
and ecx, 0xff
add edi, ecx
mov cl, byte [ebx + 0x10]
cmp cl, 0xd
jne 0x56a0e7
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x34]
push ecx
lea eax, [edi + edx]
push eax
call fcn.004ec9b0
and eax, 0xff
add esp, 8
add edi, eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0x24]
jbe 0x56a0ef
mov dword [ebx + 0x24], eax
mov dl, byte [ebx + 0x10]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov eax, dword [ebp - 0x1c]
push edx
push eax
call fcn.0056a240
mov eax, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
jl 0x56a21b
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
cmp ecx, eax
jbe 0x56a1eb
mov edx, dword [ebp - 0x1c]
mov ebx, ecx
sub ebx, eax
lea eax, [ebx + edx - 5]
lea ebx, [edx - 4]
xor edx, edx
div ebx
mov edx, dword [ebp - 0x10]
add edx, edi
mov ebx, eax
mov eax, dword [ebp - 0x1c]
cmp edx, eax
jg 0x56a218
lea edx, [ebx - 1]
add eax, 0xfffffffc
imul edx, eax
mov eax, dword [ebp - 0x10]
sub ecx, edx
sub ecx, eax
lea eax, [ebx*4]
push 0
push eax
mov dword [esi + 0x10], ecx
mov dword [esi + 8], ebx
call fcn.004e1d50
add esp, 8
mov dword [esi + 0xc], eax
test eax, eax
je 0x569ffd
mov ecx, dword [ebp - 0x10]
add ecx, edi
mov edi, dword [ebp - 8]
add ecx, edi
push ecx
call fcn.004ea350
mov edx, dword [esi + 0xc]
mov edi, 1
add esp, 4
cmp ebx, edi
mov dword [edx], eax
jle 0x56a1e8
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push 0
mov eax, dword [eax + edi*4 - 4]
push ecx
push eax
push edx
mov dword [ebp - 0x20], 0
call fcn.004e8210
add esp, 4
push eax
call fcn.004e8b20
add esp, 0x10
test eax, eax
jne 0x56a22a
mov eax, dword [ebp - 0x20]
push eax
call fcn.004ea920
push eax
call fcn.004ea350
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi*4], eax
mov edx, dword [ebp - 0x20]
push edx
call fcn.004e8b40
add esp, 0xc
inc edi
cmp edi, ebx
jl 0x56a194
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebx + 0x14]
inc ecx
add esi, 0x18
add eax, 2
cmp ecx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
jl 0x56a03f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
push ebx
mov byte [ebx + 0x10], 0
call fcn.00569a50
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret