Function at 0x600d50
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.00581850
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 0x600da7
cmp al, 0xd
je 0x600da7
cmp al, 5
je 0x600d97
cmp al, 2
jne 0x6010bb
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xc
jmp 0x600db5
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 8
cmp ecx, 1
jne 0x600dbe
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.005835b0
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 0x600e3a
cmp eax, dword [ebp - 0x14]
jge 0x6010bb
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 0x600e34
test ecx, ecx
jg 0x6010bb
test ecx, ecx
mov eax, ecx
jne 0x600e06
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x18], edx
test eax, eax
je 0x600e48
xor eax, eax
jmp 0x600e54
add esi, 8
push esi
call fcn.00581280
add esp, 4
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6010c8
mov esi, dword [ebp + 8]
push esi
call fcn.0057efb0
push esi
call fcn.00589680
mov ecx, dword [ebp - 0x14]
push esi
sub ecx, eax
mov dword [ebp - 0x1c], ecx
call fcn.0057f110
mov eax, dword [ebx + 0x14]
push 0
inc eax
lea edx, [eax + eax*2]
shl edx, 3
push edx
call fcn.00578c90
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [ebx + 0x1c], edi
jne 0x600ea9
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 0x6010c8
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 0x6010bb
cmp edi, dword [ebp - 0x14]
jge 0x6010bb
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x600f1d
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
push ecx
call fcn.00581280
add esp, 4
mov dword [esi + 4], eax
add edi, 4
cmp byte [ebx + 0x10], 5
je 0x60108b
mov edx, dword [ebp - 8]
mov al, byte [edi + edx]
lea ecx, [edi + edx]
cmp al, 0x80
jae 0x600f43
and eax, 0xff
mov ecx, 1
mov dword [ebp - 0xc], eax
jmp 0x600f5a
lea eax, [ebp - 0xc]
push eax
push ecx
call fcn.00595c00
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 0x600f87
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x34]
push ecx
lea eax, [edi + edx]
push eax
call fcn.005838e0
and eax, 0xff
add esp, 8
add edi, eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0x24]
jbe 0x600f8f
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.006010e0
mov eax, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
jl 0x6010bb
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
cmp ecx, eax
jbe 0x60108b
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 0x6010b8
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.00578c90
add esp, 8
mov dword [esi + 0xc], eax
test eax, eax
je 0x600e9d
mov ecx, dword [ebp - 0x10]
add ecx, edi
mov edi, dword [ebp - 8]
add ecx, edi
push ecx
call fcn.00581280
mov edx, dword [esi + 0xc]
mov edi, 1
add esp, 4
cmp ebx, edi
mov dword [edx], eax
jle 0x601088
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.0057f150
add esp, 4
push eax
call fcn.0057fa50
add esp, 0x10
test eax, eax
jne 0x6010ca
mov eax, dword [ebp - 0x20]
push eax
call fcn.00581850
push eax
call fcn.00581280
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi*4], eax
mov edx, dword [ebp - 0x20]
push edx
call fcn.0057fa70
add esp, 0xc
inc edi
cmp edi, ebx
jl 0x601034
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 0x600edf
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.006008f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret